Developer tool
YAML to JSON
Paste YAML keys and lists and turn them into pretty JSON.
Processed in your browser. The text is not sent to our servers.
How to convert YAML to JSON
- Paste YAML made of keys, nested keys, and lists.
- Click Convert to JSON.
- Copy the pretty-printed JSON.
Use spaces for indentation, "key: value" lines, and "- item" lists. Quoted strings, numbers, true, false, and null are recognized.
Frequently asked questions
Which YAML features are supported?
Maps, nested maps, lists, and simple scalars. Anchors, multiline blocks, and flow collections such as {a: 1} are not converted.
Is the YAML uploaded?
No. Conversion runs in your browser.