JSON to YAML Converter
Paste JSON and get readable YAML.
Free · Runs in your browser · Your text is never uploaded
When YAML is better
YAML is easier to read and edit by hand, and allows comments, so it is common for configuration files. Converting an API response to YAML makes it easier to scan.
Output style
Nested objects use indentation, lists use dashes and long strings are not wrapped. Strings that could be mistaken for numbers or booleans are quoted automatically.
Your files stay on your device
Everything happens in your browser. The files are never uploaded, so confidential documents stay private and the tool also works on a slow connection once the page has loaded.
YAML output
YAML is a superset of JSON that uses indentation instead of braces, which makes configuration files easier to read. Strings that look like numbers or booleans are quoted so they keep their type.
Need more options? Open the full YAML ⇄ JSON Converter.
Related guides
Frequently asked questions
Does it keep key order?
Yes. Keys appear in the same order as in your JSON.
Can I convert large JSON files?
Yes, within your device's memory. Very large files may take a moment.