Developer Tools
YAML ↔ JSON Converter
Convert both directions with a sane-subset parser and honest limits.
Powering up the tool…
What this tool does
About the yaml ↔ json converter
Maps, lists, scalars, nesting — the config-file 95%, disclosed edges.
How to use it
- Pick the direction.
- Paste the document.
- Read the conversion or the precise parse error.
- Round-trip to verify fidelity for your file.
Useful for
- Turn a config YAML into JSON for an API.
- Render JSON as human-editable YAML.
- Debug an indentation mystery by round-tripping.
Straight answers
YAML ↔ JSON Converter FAQ
Which YAML features are out of scope?
Anchors/aliases, multi-doc streams, block scalars and custom tags — the corners that make full YAML famously tricky. The supported subset covers the config files people actually write, and unsupported input fails loudly, never silently.
Why did my “no” become false?
YAML’s notorious implicit typing (the Norway problem). This parser follows the convention; quote values ("no") when you mean strings — a habit worth keeping in real configs too.