JSON ↔ YAML
Convert JSON to YAML and YAML to JSON, with error locations.
Runs in your browser. Nothing is uploaded.
Paste something to convert it.
About JSON ↔ YAML
Convert between JSON and YAML for Kubernetes manifests, CI configs, OpenAPI specs and more. YAML errors show the line and column. Comments in YAML are dropped when converting to JSON, since JSON has no comments.
Questions
- Which YAML version is supported?
- YAML 1.2, the current version, including anchors and aliases, which are expanded in the JSON output.
- Can it read files with several documents?
- Yes. A YAML file with several documents separated by --- becomes a JSON array.
- Is it free? Is my data private?
- Yes to both. There is no sign-up and no limit, and everything runs on your device, so your data never reaches our servers.