JSON to YAML Converter
The JSON to YAML converter rewrites a JSON document as indented YAML, quoting only the strings that need it and keeping numbers, booleans and null in their YAML forms. Multi-line strings are emitted as block scalars so the result stays readable.
Your result will appear here.
Not sure where to start? Use Load example.
Results update automatically and are calculated on your device. Nothing you type is sent to a server.
Runs in your browser. Processing happens entirely in your browser. Nothing you enter is sent to Delimiter.live.
How to use the JSON to YAML Converter
- Paste valid JSON.
- Choose an indent size — two spaces is the YAML convention.
- Copy or download the YAML.
Example
{"name":"Ada","tags":["a","b"]}
name: Ada tags: - a - b
Common use cases
- Moving a JSON configuration file to a YAML-based tool such as a CI pipeline.
- Making a dense JSON document readable for review.
- Producing YAML fixtures from an API response.
Limitations and things to watch for
- Strings are only quoted when necessary — when they would otherwise be read as a number, boolean, null, date or YAML special character. Turn on "Always quote strings" if you want unambiguous output at the cost of readability.
- Empty objects and arrays are written in flow style as {} and [], which is the standard representation.
- Very deeply nested structures produce heavily indented YAML; that is a property of the format rather than the converter.