How it works
- Paste your data or open a file.
- Choose the input and output formats.
- 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
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.