MewTools

DeveloperAdded

YAML to JSON Converter

Turn a YAML config into JSON without uploading it. Block mappings, lists, quoted strings, flow collections and literal or folded blocks all work.

Runs locallyNo uploadKeeps comments offFree, no account

Convert YAML to JSON

218 / 232

Result

Waiting

Run the tool and the result appears here. Copy it or download it — nothing leaves this tab.

Privacy

Local by design

The configuration text never leaves this device. Everything is read and processed by JavaScript in this tab — no upload, no account, no copy on a server.

How to use it

01

Paste the YAML file. Comments and blank lines are ignored.

02

Press “Convert to JSON”. Indentation is read as structure, so two spaces or four both work as long as you are consistent.

03

Copy the JSON or download it. Numbers and booleans are converted to real JSON types, not strings.

When to use it

CI and Kubernetes configs

Paste a deployment file into a JSON-based tool, or check what the parser actually sees.

Front matter

Static-site front matter is YAML. Convert it once to build a JSON index.

Debugging indentation

If a config behaves oddly, the JSON output shows exactly which keys ended up nested where.

Questions

Which YAML features are supported?

Block mappings and sequences, flow lists and maps, single and double quoted strings, literal | and folded > blocks, comments, and true/false/null with numbers. Anchors, aliases, custom tags and multi-document files are rejected with a message rather than guessed at.

Why is my value a string instead of a number?

Only plain unquoted scalars are typed. A quoted value is always a string, which is what YAML itself specifies, so '007' stays text and does not become 7.

Are comments kept?

No. JSON has no comment syntax, so they are dropped. Keep the YAML as the source of truth if the comments matter.

Is yes/no converted to a boolean?

No. Only true and false are. YAML 1.1 treated yes/no/on/off as booleans, which surprised enough people that later tooling stopped doing it.

↑↓ to move↵ to openEsc to close