What is JSON ↔ YAML?
JSON to YAML converts between two of the most common configuration formats. Handy for Kubernetes manifests, CI configs, or anywhere YAML and JSON coexist.
How to use
- Paste JSON or YAML into the input panel.
- Toggle direction; output updates instantly.
- Copy the result.
Example
Use this sample to confirm what JSON ↔ YAML does before pasting your own data.
{"db":{"host":"localhost","port":5432}} db: host: localhost port: 5432
When to use it
Use JSON ↔ YAML for quick local checks, debugging, documentation prep, and one-off conversions where opening a full IDE or command-line workflow would be slower. For production-critical data, always review the output before committing or shipping it.
Frequently asked questions
Which YAML spec is supported?
YAML 1.2 via js-yaml.
Are anchors and tags preserved?
Aliases are expanded; custom tags are not yet supported.
Is my YAML uploaded?
No. Everything runs in your browser.