Data & spreadsheets
YAML to JSON Converter
Conversion workspace
YAML to JSON Converter
Converts YAML documents to JSON. Useful for turning config files into a form that APIs and code can consume.
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.