Text & code · runs locally
JSON and YAML, both ways
JSON → YAML and YAML → JSON, one click each, with anchor-safe output and real error messages.
How to use this tool
- 1Paste one side
JSON or YAML — both are editable textareas, so you can fix a typo inline.
- 2Click a direction
JSON → YAML or YAML → JSON; the other side updates instantly.
- 3Copy the result
Formatted, parseable output; invalid input highlights the exact problem instead of spewing a stack trace.
This page has no server behind it. Files are read, changed and re-built by your own browser — then they disappear when you close the tab. That's the whole privacy policy, applied.
Questions people actually ask
YAML anchors and merges?
Fully supported — &anchor, *alias and << merge keys survive a round trip. Things like unquoted NO/ON/YES and unquoted dates get explicit quoting on the way out so YAML doesn’t silently reinterpret them.
Which YAML flavour?
YAML 1.2 via js-yaml, the same engine used by most of the JS ecosystem — core-spec types only.