JSON to YAML
Convert JSON into YAML without changing scalar types.
Loading tool…
About this tool
Converts JSON into YAML, which is usually easier for a human to edit — no quotes around keys, no trailing-comma errors, and comments become possible once you are working in YAML.
Questions
- Why are some strings quoted in the output?
- Because they would otherwise be read as something else. A value like yes, no, or 1.20 has to be quoted to survive as a string.
Privacy
This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.