JSON to YAML Converter
Paste JSON and get readable YAML — ideal for config, CI, and manifests.
JSON to YAML Converter
yes, no, on, 1.0, values starting with @ or containing : — are quoted automatically (the classic “Norway problem”).Runs in your browser — nothing you enter is uploaded or stored.
Scratchpad auto-saved
About the JSON to YAML Converter
YAML and JSON describe the same kinds of data, but YAML's indentation-based style is easier for humans to read and edit, which is why config files, CI pipelines, and Kubernetes manifests favour it. When you have JSON from an API or a tool and need it as YAML, this converter does the translation.
It parses your JSON, then serialises it as YAML with two-space indentation: objects become key-value maps, arrays become dash-prefixed lists, and scalars are quoted only when necessary (for example, strings that look like numbers, booleans, or contain special characters). Empty objects and arrays are rendered as {} and [].
Conversion happens entirely in your browser. For very exotic structures you may want to review the output, but for typical config data the result is clean and paste-ready.