Tested tool guide
Tested browser tools
Checked August 16, 2026
What YAML to JSON Converter does, with a checked example
Drop a YAML document into this tool and it re-emits the same data as JSON, resolving every unquoted scalar to a concrete type: `true` becomes a boolean, `42` a number, everything else a string. It formats the output, highlights syntax errors with line and column, and converts in the reverse direction when you paste JSON. The conversion runs entirely in the browser; nothing is uploaded. The first thing people trip on is that YAML guesses types: values you think of as text, such as `yes`, `on`, or `0123`, can come out as booleans or numbers unless they were quoted. The output shows exactly what a parser would hand your code.
Worked example
A concrete input and expected output from the current implementation.
Input
name: Apollo
enabled: true
count: 42
tags:
- yaml
- json
notes: |
line one
line two
->
Expected output
{
"name": "Apollo",
"enabled": true,
"count": 42,
"tags": [
"yaml",
"json"
],
"notes": "line one\nline two\n"
} YAML resolves unquoted `true` and `42` into JSON's boolean and number types, and the indented list under `tags` becomes an array of strings. The literal block after `|` becomes a string that keeps its line breaks, including the final one (default clip chomping), so JSON escapes it as `\n`.