Home › Converters › YAML to JSON Converter
YAML to JSON Converter
Convert YAML into JSON. The converter covers the YAML most config files actually use: nested mappings, lists, strings, numbers, booleans and nulls.
How to use the YAML to JSON Converter
- Paste your YAML into the input box.
- Choose an indent style for the JSON output.
- Press Convert.
- Copy or download the JSON.
About this tool
Full YAML is a huge specification with anchors, tags and multi-line documents. This converter honestly covers the common subset — indentation-based mappings, dash lists (including lists of mappings), flow lists like [1, 2] and flow mappings like {a: 1}, quoted strings, numbers, booleans and null — which is what the overwhelming majority of config files use. Anything outside that subset is reported as a parse error with the line number, rather than converted wrongly in silence.