Step-by-step instructions
- 1
Upload your YAML file
Provide your .yaml or .yml file. Configuration files, Kubernetes manifests, GitHub Actions workflows, and Ansible playbooks all work. Multi-document YAML (using --- separators) may produce an array of JSON objects.
Go to converter - 2
Select JSON as output format
Choose JSON. The converter parses YAML including anchors and aliases (&, *) and resolves them to their expanded form in the JSON output. Comments (# ...) are stripped — JSON has no comment syntax.
- 3
Download and use the JSON
The output JSON can be imported into any tool that accepts JSON configuration, validated with a JSON linter, or imported into a database. It's also useful as an intermediate step when migrating configuration formats.
Why convert YAML to JSON?
YAML is written by humans configuring infrastructure; JSON is consumed by machines processing data. Converting between them is a routine operation in DevOps and API workflows — both formats describe the same structure in different syntax.
Your files never leave your device
FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.
Frequently asked questions
How do I convert YAML to JSON on the command line?
Are YAML comments preserved in the JSON output?
How do YAML anchors and aliases convert to JSON?
No account. No upload. Works in any browser.