Developer toolLiveRuns on your device

YAML to JSON Converter

Convert between YAML and JSON in your browser. Errors point to the exact line and column, multi-document YAML is supported, and the output is formatted and ready to copy or download.

How to use

YAML to JSON Converter in three steps

  1. 01

    Paste YAML or JSON, or drop a file.

  2. 02

    Pick the direction.

  3. 03

    Copy or download the result.

FAQ

Good to know

No — JSON has no comments, so YAML comments are dropped when converting to JSON.

Yes. A file with several documents separated by --- becomes a JSON array.

No. The tool runs inside this browser tab. Your input is processed in memory on your device and is gone when you close the tab.

Related

All Developer tools