Code Tower · room 17

JSON to YAML

Convert JSON to YAML.

🔒 Processed in your browser · No upload · No sign-up

Convert JSON to YAML online

Paste JSON on the left and get clean, human-readable YAML on the right as you type. It's handy for turning API responses or package.json-style config into Kubernetes manifests, GitHub Actions workflows, Docker Compose files or Ansible playbooks. The conversion runs entirely in your browser, so secrets in your config never leave your device.

Example

{"name": "app", "ports": [80, 443]}

becomes

name: app
ports:
  - 80
  - 443

Is every JSON document valid YAML?

Yes — YAML 1.2 is a superset of JSON, so the data survives the round trip. Strings that YAML would misread (like "yes", "on" or "1.0") are automatically quoted. Use the ⇄ Swap button to convert YAML back to JSON.