Local-only · nothing leaves your browser

How do I convert between YAML and JSON?

Convert JSON-compatible YAML mappings, sequences, and scalars locally, including nested block or flow collections and quoted strings. Strings stay strings when converting JSON back to YAML. This is a supported subset, not a full YAML processor: anchors, aliases, tags, directives, block scalars, and multiple documents are rejected.

⚠ JavaScript is required for this tool — the page content above works without it.

F.A.Q. — Questions, answered

  • What is YAML ↔ JSON Converter?Convert JSON-compatible YAML mappings, sequences, and scalars locally, including nested block or flow collections and quoted strings. Strings stay strings when converting JSON back to YAML. This is a supported subset, not a full YAML processor: anchors, aliases, tags, directives, block scalars, and multiple documents are rejected.
  • Is YAML ↔ JSON Converter free?Yes. YAML ↔ JSON Converter runs entirely in your browser. No data is uploaded or stored.
  • Does YAML ↔ JSON Converter work offline?Yes. Once loaded, YAML ↔ JSON Converter works fully offline except for the QR code generator which uses a pinned CDN with SRI.

Keep exploring

Top Developer Tool Repos →

Live rankings updated daily — the chart behind this tool.