YAML ⇄ JSON Converter

Convert YAML to JSON and JSON to YAML, with validation.

How to use

  1. Paste YAML or JSON and click the direction you need.
  2. Errors show the line where parsing failed.

FAQ

Are comments kept?

No. JSON has no comments, so YAML comments are dropped.

Open YAML ⇄ JSON Converter · All free tools