JSON ↔ YAML converter
About this tool
Paste JSON to get the same data as YAML, or paste YAML to turn it back into formatted JSON. The converter parses your input, so it also catches syntax errors and reports where they are. Strings that look like other types, such as "true" or "3.14", stay quoted so the round trip does not change your data.
Conversion runs entirely in your browser. Nothing is uploaded, which makes it safe to paste Kubernetes manifests, CI pipelines, or config files that contain credentials or internal hostnames.
Common uses: rewriting a JSON config as YAML for Docker Compose or GitHub Actions, converting an OpenAPI spec between the two formats, or flattening a YAML file into JSON to feed a tool that only accepts JSON. The output follows YAML 1.2, which is a superset of JSON, and RFC 8259 on the JSON side.