YAML to JSON Converter
Drop a file here or choose one
Supports files up to 20 MiB each.
Drop in a file, click convert, and you're done. Everything runs directly in your browser with no upload to wait for, and the result is ready to download right away.
Things to know
- Only single-document YAML is supported. Multi-document files separated by --- cannot be converted.
- Comments are removed from the result because JSON does not support them.
- Anchors and aliases (&, *) are expanded into the referenced values.
How to use
Select a YAML file
Choose a YAML file up to 20 MiB.
Start converting
Once the file check is done, the JSON conversion starts.
Save the JSON
Download the finished JSON file.
Frequently asked questions
Can I convert YAML that contains multiple documents?
No. Multi-document YAML separated by --- is not supported. Split the documents and convert them one at a time.
What happens to comments?
JSON does not support comments, so they are removed from the result. All the data values themselves are preserved.
How are anchors and aliases handled?
Values defined with anchors (&) and referenced with aliases (*) are expanded into their actual values. No reference syntax remains in the resulting JSON.
What does the resulting JSON look like?
It's saved as readable, indented JSON. Key order is kept exactly as in the original YAML.
Is my data sent anywhere?
No. Your files never leave your device. Conversion runs inside your browser and nothing is uploaded.