Data
YAML ↔ JSON
Convert safely between YAML and JSON. Everything happens on this device.
Tip: press Ctrl/⌘ + Enter
Your input stays private
This tool runs entirely in your browser. DevCalc does not send or store the content you enter.
How to use YAML ↔ JSON
- Choose YAML to JSON or JSON to YAML.
- Paste structured input into the editor.
- Run the conversion and review the result.
Example and important notes
A YAML mapping with a list becomes a JSON object containing an array.
- YAML indentation is meaningful. Use spaces consistently.
- Anchors and advanced YAML types may not have a direct JSON equivalent.
Frequently asked questions
Are YAML comments preserved?
No. JSON cannot represent comments, so they are lost during conversion.
Is my configuration uploaded?
No. Conversion happens in your browser.