JSON ↔ YAML Converter
Convert JSON and YAML 1.2 locally, with duplicate-key and alias limits.
Ready. Use Ctrl/⌘ + Enter to run.
Completed and failed run counts are stored only on this device.
How to use this tool
Choose a direction, paste valid JSON or YAML, then run. YAML keys must be unique.
Supported input and limits
YAML mapping keys must be strings. Unsafe integers, numeric value loss, negative zero, cycles and excessive nesting are rejected. Custom tags are unsupported; aliases are limited. Maximum input: 200,000 characters.
Frequently asked questions
Does my input leave my browser?
No. A local worker processes it; text and files are not uploaded or stored.
Does YAML preserve all formatting?
Supported data values are preserved; values that cannot be represented safely are rejected. Comments, anchors and layout are not preserved.
Related tools
CSV ↔ JSON Converter
Convert CSV tables and JSON arrays of flat objects. CSV output escapes spreadsheet formula prefixes.