JSON to YAML

Convert JSON to YAML with 2 or 4 space indentation. All processing stays in your browser.

All processing on this page runs locally in your browser unless noted otherwise.

How to use

  1. Paste JSON on the left (or import a .json file).
  2. Pick indent and optional live convert.
  3. Copy or download the YAML result.

FAQ

Invalid JSON?

Conversion stops and shows the parse error; the previous output is kept until a successful run.

Is data uploaded?

No. Conversion runs locally.

Related tools