Data & spreadsheets
JSON to YAML Converter
Conversion workspace
JSON to YAML Converter
Converts JSON documents to indentation-based YAML. Handy for writing config files or reviewing documents.
How to use
Select a JSON file
Choose a JSON file up to 20 MiB.
Start converting
Once the file check is done, the YAML conversion starts.
Save the YAML
Download the finished YAML file.
Frequently asked questions
Does converting change my data?
No. Objects, arrays, strings, numbers, booleans, and null values are carried over to YAML notation as-is, and key order is preserved.
Can any JSON be converted?
Yes. As long as the JSON is valid, the top level can be an object, an array, or a single value. If there's a syntax error, the file is not converted and you'll see a message.
How is indentation handled?
The output uses 2-space indentation in standard YAML style, so the structure stays easy to follow even with deep nesting.
Can I convert back to JSON?
Yes. Use the companion YAML to JSON converter to get the same data back.
Is my data sent anywhere?
No. Your files never leave your device. Conversion runs inside your browser and nothing is uploaded.