Skip to content
Local

Developer

YAML ⇄ JSON Converter

Convert YAML to JSON or JSON to YAML, with errors that point to the exact line.

Runs in your browser. Files stay on this device.Built with yaml (ISC)

How to use YAML ⇄ JSON Converter

  1. 1Paste YAML or JSON, or drop a .yaml, .yml or .json file.
  2. 2The direction is picked for you; switch it if you need to.
  3. 3Copy the result or download it as a file.

Questions

Are comments kept?

JSON has no comments, so YAML comments are lost going to JSON. Going to YAML, there are none to keep.

What about files with several documents (---)?

Each document becomes one item in a JSON array. Going back, an array becomes a single YAML list.

Is my file uploaded?

No. It is converted in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc