JSON ↔ YAML

Convert between JSON and YAML in both directions.

Runs entirely in your browser

FAQ

Is the conversion lossless?
For anything you'd realistically write in JSON, yes. Round-trip JSON → YAML → JSON preserves values. YAML-specific niceties (anchors, tags) are not emitted.
Which YAML version is used?
YAML 1.2 via js-yaml. Output uses 2-space indentation and disables reference anchors so it's safe to paste into GitHub Actions, Docker Compose, and Kubernetes manifests.

Related tools