[tool] ·
JSON ↔ YAML Converter
Convert between JSON and YAML entirely in your browser. Your data never leaves your machine.
stack: vanilla-js, js-yaml
Runs in the browser. Source on GitHub.
What it is
When we’re writing backend code we constantly flip between JSON and YAML. Most online converters are stuffed with ads and upload your data to their servers.
This one uploads nothing—every conversion happens in the browser, and the moment you close the tab it’s gone.
How to use
Open the page, paste JSON on the left, YAML shows up immediately on the right. The other direction works too.
Tech details
- Pure vanilla JS, zero dependencies
- YAML parser:
js-yaml(MIT, browser build) - Large input boxes auto-format on blur
- Errors surface in the bottom-right corner
Known limits
- No JSON5 support
- Doesn’t preserve key order in JSON (we serialize with
Object.entries)
What we use it for
- Converting K8s JSON specs to YAML
- Double-checking YAML configs returned by APIs
- Side-by-side format comparisons in PRs