JSON to YAML
Convert JSON into readable YAML.
Loading tool…
How to use JSON to YAML
Paste the JSON you want to convert into the left editor.
The YAML is generated as you type, with two-space indentation.
Copy the YAML or download it as a .yaml file.
Frequently Asked Questions
Are strings quoted correctly?
Yes. Values that YAML would otherwise read as numbers, booleans or null — such as "yes", "01" or "null" — are quoted so the meaning of your data is preserved.
Is the conversion lossless?
Round-tripping JSON to YAML and back gives you the same document. YAML anchors and multi-document files are not produced, since JSON has no equivalent concept.
Can I convert YAML back to JSON?
Yes — use the YAML to JSON tool, which reads the same subset of YAML that this converter writes, including nested maps, sequences and comments.
Related tools
Looking for something else? Browse all developer tools.