Convert between JSON and YAML formats. Runs entirely in your browser.
When to Convert
- JSON β YAML: Writing Docker Compose files, GitHub Actions workflows, Kubernetes manifests, or any config that uses YAML
- YAML β JSON: Debugging YAML configs, using data in JavaScript/Python, or sending to APIs that expect JSON
Key Differences
| JSON | YAML | |
|---|---|---|
| Readability | Verbose | Clean |
| Comments | Not supported | # comment |
| Data types | Strings, numbers, booleans, null, arrays, objects | Same + dates, multiline strings |
| Use case | APIs, data exchange | Config files |