YAML ⇄ JSON

Convert YAML to JSON and JSON to YAML, with the line and column of any error.

Direction

How to use

  1. Choose YAML → JSON or JSON → YAML.
  2. Paste the text or open a .yaml, .yml or .json file.
  3. Press Convert. An error shows the line and column to fix.
  4. Copy the result or download it.

Privacy

Runs in your browser. Nothing is uploaded.

Text and files you open stay on this device; closing the tab clears them. Inputs are limited to 5 MB so the page stays responsive.