DEVELOPER TOOL
YAML ↔ JSON Converter
Convert between YAML and JSON instantly, in either direction.
About this tool
Convert between YAML and JSON instantly. Paste YAML to see it converted to JSON, or switch direction to turn JSON into readable YAML — handy for config files, Kubernetes manifests, CI pipelines, and API payloads.
Everything is parsed and converted locally in your browser — nothing is uploaded. This tool covers the common subset of YAML (nested maps, lists, flow collections, quoted strings, numbers, booleans, comments); advanced features like anchors, aliases, and multi-document files aren't supported.
Frequently asked questions
- Does this support YAML anchors and aliases (&/*)?
- No — this converter handles everyday YAML (nested mappings, sequences, flow collections, scalars, and comments) but not anchors, aliases, tags, or multi-document files separated by
---. - Why does converting JSON to YAML sometimes quote strings?
- Strings that could be misread as a number, boolean, or null (or that contain special characters like colons) are quoted so the resulting YAML parses back to the same value.
- Is my data uploaded anywhere?
- No — conversion happens entirely in your browser using JavaScript. Nothing is sent to a server.