YAML ↔ JSON
Convert YAML to JSON and JSON to YAML safely in-browser.
Runs in your browser Works offline No uploads, no sign-up
YAML
JSON
How to use the YAML ↔ JSON
Move between YAML and JSON for configs and APIs without installing CLI tools.
- 1Paste YAML (Kubernetes manifests, CI configs, docker-compose) or JSON.
- 2Convert in either direction. Errors show the exact line.
- 3Copy the result.
Frequently asked questions
Is YAML a superset of JSON?
Mostly. YAML 1.2 accepts nearly all JSON, so any JSON converts to YAML. Some YAML features, such as anchors, comments and multiple documents, have no JSON equivalent and are flattened or dropped.