PB
Available
code
lock Free · Private · In-Browser

YAML to JSON Converter

Paste YAML config to get clean, typed JSON — nested maps, lists, and lists of objects included, all in your browser.

YAML config into structured JSON

YAML is easy to write, but most programs and APIs want JSON. Whether you're inspecting a Docker Compose file, a GitHub Actions workflow, or an app config and need it as JSON to process programmatically, this converter parses the indentation-based structure into a clean object tree — nested maps, sequences, and even lists of objects all come through correctly.

It's type-aware: unquoted numbers become numbers, true/false become booleans, and null or ~ become null, while quoted values stay strings. It targets the common configuration subset of YAML rather than the full specification, so exotic features like anchors and multi-document streams are out of scope — but for everyday config files it's fast and faithful.

Private and instant

Everything runs in your browser — your config never leaves your device.

Frequently Asked Questions

What does this converter do?

It parses YAML — the indentation-based config format — into equivalent JSON, handling nested maps, lists, lists of objects, and typed scalars like numbers, booleans, and null.

Which YAML features are supported?

Common config YAML: mappings, sequences, nested structures, quoted and plain strings, and typed scalars. Advanced features like anchors, multi-document files, and block-scalar text are outside its scope.

How are types handled?

Values that look like numbers become numbers, true/false become booleans, null and ~ become null, and everything else is a string. Quote a value to force it to stay a string.

Is my data private?

Yes. Parsing runs entirely in your browser — nothing is uploaded or stored.

Take it further
Developer Tools

More free converters and formatters for developers.

Learn More arrow_forward