Tree explorer will appear here once JSON is loaded
Select a node to inspect it
Tree explorer will appear here once JSON is loaded
Select a node to inspect it
Paste JSON and export an equivalent YAML document - the same objects, arrays, strings, numbers, and booleans, in YAML block style instead of JSON syntax. This is useful for Kubernetes manifests, CI config, and any tool that reads YAML but you only have (or only want to hand-edit) JSON.
Numbers are preserved exactly where possible; an integer or decimal too long to represent exactly as a JavaScript number is written as a quoted string in the YAML output instead of being silently rounded - the trade-off is that it then reads back as a YAML string rather than a number, which is the safer failure mode when precision actually matters.
The conversion runs on the whole document (up to 20 MB) and produces standard YAML that any YAML 1.1/1.2-compatible parser can read back.
Object keys and array structure map directly - a JSON array becomes a YAML sequence (- item per line) and a JSON object becomes a YAML mapping (key: value per line), indented to match its nesting depth. Strings that would otherwise be ambiguous in YAML (starting with a number, containing a colon, matching a boolean-like word such as "yes" or "null") are quoted automatically so the output parses back to the same value.