Skip to the converter

HomeData & documents

JSON to YAML converter

Turn JSON into readable YAML.

Runs in your browserNo sign-upNo watermark

Your files never leave your device.

Quick answer

To convert JSON to YAML, paste your JSON or drop the file in. The result uses two-space indents.

Drop a JSON file here, or paste below

How to convert JSON to YAML

  1. Paste your JSON into the left box, or drop a file in. Try an example if you just want to see it work.
  2. The result appears on the right as you type.
  3. Press Download, or Copy to paste it somewhere else.

YAML is easier to read and edit by hand than JSON, which is why config files use it.

Common questions

How is the YAML formatted?

Two-space indents, with lists written as dashes. Long text lines are folded at about 100 characters.

Can I convert it back?

Yes, with the YAML to JSON converter. The data is the same; only the formatting changes.

Are comments kept?

JSON has no comments, so there are none to keep.

Is my data uploaded anywhere?

No. The conversion happens inside your browser tab, so your data never leaves your device. We cannot see it or keep a copy.

What if my input has an error?

The page shows a message saying what is wrong, so you can fix it. Nothing is changed until the input is valid.