JSON to YAML Converter
JSON to YAML Converter switches between JSON and YAML in either direction, with optional key sorting and custom indentation. Parsing happens in your browser, so config files and secrets stay on your device.
How to use JSON to YAML Converter
- Paste your JSON or YAML.
- Choose the direction, indentation and key sorting.
- Copy or download the result.
Frequently asked questions
How do I convert YAML to JSON?
Paste the YAML, switch to YAML to JSON and copy the result.
Does it keep my key order?
Yes, unless you turn on key sorting.
Is my config file uploaded?
No. Parsing and conversion happen in your browser.
Next step
Want to lint the YAML for traps? Run it through the YAML Validator. Open YAML Validator and Linter.