Convert JSON to YAML and Back

Convert JSON to YAML or YAML to JSON with your choice of indentation and clear error messages.

Files stay on your device Free, no sign-up No watermark

How to use JSON ⇄ YAML

  1. 1

    Paste JSON or YAML.

  2. 2

    Pick the direction and indent.

  3. 3

    Copy or download the result.

Good to know

  • YAML comments are dropped when converting to JSON.

Your privacy: this tool runs entirely in your browser. Your files are not uploaded, stored or seen by anyone.

You might also need

All tools