Developer tool
YAML to JSON
Paste YAML keys and lists and turn them into pretty JSON.
Tip: press Ctrl+Enter (or ⌘+Enter) to run from a text box.
Result will show here after you run the tool.
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.
Related developer tools
Keep working without leaving the site.
JSON Formatter
Check that JSON is valid, then pretty-print it or minify it.
Open toolHash
Create a SHA-256 checksum, or choose SHA-384, SHA-512, or SHA-1.
Open toolJWT decoder
Read a token header and payload. The signature is not verified.
Open toolCron builder
Build a five-field cron expression and read what it means.
Open toolRegex tester
See matches, positions, and capture groups.
Open toolMarkdown preview
Preview headings, lists, and links.
Open tool