JSON tool
JSON ↔ YAML
Convert JSON to YAML or YAML to JSON locally in your browser.
Your data is processed locally in your browser and is not sent to our server.
Result
Your result will appear here.
How to use JSON ↔ YAML
- Choose JSON → YAML or YAML → JSON.
- Paste a document and select Convert.
Example
{"service":"web","replicas":2}Technical details
YAML parsing and serialization use the lightweight YAML 2 library in the browser.
Frequently asked questions
Are YAML anchors preserved?
The converter works with parsed data values; comments and formatting details are not preserved.