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.

Processed in your browser: your data are not uploaded.

Set your data

No file selected
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 the tool

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

Method and principles

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.

Method and limits

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.

Practical example

Input
  • Indentation spaces: 2×
  • Direction: json-yaml
  • Input data: {"name":"A","active":true}
Result
"name": "A" "active": true

Limits and checks

Limits and checks
ParameterValue
Input data≤ 5000000 characters

Sources and further reading

Favorites