YAML ⇄ JSON converter

Flip between YAML config and JSON in both directions. Parse nested maps, lists, comments, and typed scalars, or serialize JSON into clean indented YAML.

How to YAML ⇄ JSON converter

  1. Step 1. Paste YAML (or JSON) into the Input Buffer.
  2. Step 2. Choose the conversion direction.
  3. Step 3. Copy the converted result from the Output Buffer.

Frequently asked questions

Which YAML features are supported?

Block mappings and sequences, nesting by indentation, comments (#), quoted and typed scalars (numbers, booleans, null), flow arrays/objects, and simple literal blocks.

Can I convert JSON back to YAML?

Yes. JSON objects and arrays serialize into indentation-based YAML with properly quoted strings where needed.

Is the conversion private?

Completely — parsing and serializing run in your browser; nothing is uploaded.