JSON to YAML and YAML to JSON converter

Convert JSON to YAML or YAML to JSON. Check syntax, choose indentation and copy or download the converted data for your configuration files.

Choose direction and paste data. JSON becomes indented YAML; YAML becomes JSON with two-space indentation. Read the supported subset before converting complex configurations.

Processed in your browser: your data are not uploaded.

Set your data

Set your data

Choose direction and paste data. JSON becomes indented YAML; YAML becomes JSON with two-space indentation. Read the supported subset before converting complex configurations.

Result

Your result will appear here.

We count which tools are used most, without including entered values or file contents in the statistics. Privacy

How to use it

Choose direction and paste data. JSON becomes indented YAML; YAML becomes JSON with two-space indentation. Read the supported subset before converting complex configurations.

Method and limits

YAML 1.2 subset: string-key maps, indented sequences, JSON scalars, strings and JSON-syntax flow collections. No anchors, tags, multiline strings, duplicate keys. Output strings are always quoted.

Manual text up to 5 million characters; UTF-8 files up to 100 MB. CSV: at most 100,000 rows, 1000 columns and one million cells. No data sent to the server.

Sources and further reading