JSON to YAML 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
- Malformed JSON is not converted; you'll see a message instead.
- Object key order is kept exactly as in the original.
- JSON has no comments, so the resulting YAML has no comments either.
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.