YAML to JSON Converter
Parse YAML into JSON, including nested maps and lists.
Handles the common YAML subset: key/value pairs, nested maps by indentation, - lists, quoted strings, inline [a, b] and {a: 1} flow collections, plus true, false, null and numbers.
How to use the YAML to JSON tool
- Enter your yaml to json in the fields above.
- Adjust any slider or type an exact number — the answer updates as you go.
- Copy the result and close the tab. Nothing you entered was sent anywhere.
About the YAML to JSON tool
Paste YAML and get JSON back. Nested maps, dash lists, quoted strings, inline flow collections, numbers, booleans and nulls are all handled.
YAML is a superset of JSON, so this direction is lossless for the values both formats can express — the only difference is the whitespace and key ordering.
Everything runs locally in your browser: no data is uploaded, no account is needed, and it works offline once the page has loaded.
Embed this tool
Customize and copy an iframe. Linking back helps both sites.