↑ ↓ to move, Enter to open, Esc to close

JSON ↔ YAML

Convert JSON to YAML or YAML to JSON instantly. Detects the input format automatically.

Paste JSON to get YAML, or YAML to get JSON – the direction is detected from what you paste. Handy for Kubernetes, Docker Compose and CI configs.

Questions

Are comments kept?

No. JSON has no comments, so YAML comments are lost when converting to JSON.