JSON to YAML Converter
Convert JSON into clean, human-readable YAML for config files.
Paste JSON and get equivalent YAML — the format used by Docker Compose, Kubernetes, GitHub Actions and countless config files. Nesting, arrays and values that need quoting are handled for you. YAML drops JSON's braces and quotes in favour of indentation, making config files far easier for humans to read and edit. It all runs in your browser.
Prefer XML? Use JSON to XML. Clean up your JSON first with the JSON formatter.
Frequently asked questions
How do I convert JSON to YAML?
Paste valid JSON and click convert to get clean, indented YAML you can drop into a config file.
Why use YAML for config?
It is easier for humans to read and edit than JSON, which is why DevOps tools like Docker and Kubernetes use it.
What about YAML indentation errors?
Convert from valid JSON rather than hand-indenting; the tool produces consistent indentation automatically.
Is my data private?
Yes, the conversion happens entirely in your browser.