Free online tools

JSON to YAML Converter

Turn a JSON configuration into a readable YAML document in your browser.

Enter your values

This tool processes your input in your browser.

Result

Read mappings and sequences in block form

Object keys form YAML mappings, while arrays become sequences with a leading dash per item. Empty objects and arrays use {} and [].

Keep strings distinct from numbers and booleans

Keys and strings are quoted. A JSON string such as "no" or "0123" therefore keeps its string type when parsed by a conforming YAML processor.

Frequently asked questions

Does this accept existing YAML as input?

Supply standard JSON. This exporter generates a scoped YAML 1.2 representation and does not parse YAML-specific tags or aliases.