Converters

YAML ⇄ JSON

Convert YAML to JSON or JSON back to YAML, full spec support via a real parser. Paste a config; it’s converted in your browser and never uploaded.

YAML in
JSON out

YAML and JSON, both ways

YAML is what humans write, config files, CI pipelines, Kubernetes manifests; JSON is what machines and APIs prefer. This converter goes both directions using a full YAML parser, so anchors, multi-line strings, typed scalars (numbers, booleans, null, dates), and nested structures all convert correctly, not just the simple key/value cases.

Notes that trip people up

FAQ

Does it support all YAML features?

It uses a complete YAML 1.1 parser, so anchors/aliases, block and flow styles, multi-line scalars, and typed values are all handled.

Is my config uploaded?

No, conversion runs entirely in your browser, so secrets in a config stay local and the tool works offline.

Why did my on: key become true?

YAML reads bare on/off/yes/no as booleans. Wrap them in quotes ("on") to keep them as strings, a classic gotcha in GitHub Actions files.

Related

From a spreadsheet instead? CSV ⇄ JSON. Type the result with JSON → TypeScript or JSON → Go.