Skip to content

JSON to YAML converter

  • Runs on your device
  • Works offline once loaded

Turn JSON into readable YAML for configuration files such as Kubernetes and CI pipelines. Indentation and quoting follow YAML conventions.

How it works

  1. Paste your data or open a file.
  2. Choose the input and output formats.
  3. Copy or download the converted data.

Why use it

  • Readable output.
  • Round trips back to JSON.
  • Large files fine.
  • Private.

Questions and answers

Is YAML a superset of JSON?

Effectively, most JSON is valid YAML, but YAML adds comments and anchors that do not exist in JSON.

Are comments kept?

JSON has none, so YAML output has none.

Related guides

Data6 min read

CSV, Excel or JSON: which format for your data?

We saved the same 100,000 row table as CSV, as an Excel workbook and as JSON, then compared the sizes, how fast each one reads in code, and what goes wrong with dates, leading zeros and long numbers.

Esc