JSON to YAML Converter – and YAML to JSON
Convert JSON to YAML and YAML to JSON instantly: anchors, multi-document files, sorted keys and exact error lines. Free, and your config never leaves the browser.
JSON
YAML
A free JSON ↔ YAML converter for developers and DevOps. Paste or open a file and the other format appears as you type, with 2- or 4-space indentation and optional sorted keys. YAML anchors, aliases and merge keys are resolved, multi-document files become a JSON array, and syntax errors point to the exact line and column. Strings like "yes", "no" or "0755" are quoted so older YAML parsers read them the same way. Kubernetes manifests, docker-compose files, CI pipelines and API specs often hold secrets, so everything runs in your browser and the input is never stored or sent.