JSON → YAML

Paste JSON and get the same data as YAML, with the indent you pick and keys sorted if you want.

In
JSON
Out
YAML
Reverse: YAML → JSON
Options
Input · JSON
Output · YAML

Waiting for input

Runs in this tab. The text is not sent anywhere.

Related

Questions

Are comments or anchors added?

No. Repeated values are written out in full and long strings are not wrapped, so the YAML reads like the JSON did.

↑ ↓ move · Enter open · Esc close