Y
JSON ↔ YAML

JSON ↔ YAML

Convert JSON and YAML 1.2 with checks for duplicate keys, cycles and unsafe integers.

Local processing
Workspace
0 characters
Read only
Ready. Enter your content, then choose an action.
◇ Content is processed in this browser onlyInput is not saved automatically
HOW TO USE

How to use

Choose a direction, paste content and convert. JSON objects, arrays and primitives are supported. YAML accepts one document with string mapping keys.

Example

{"enabled":true} → enabled: true

GOOD TO KNOW

Keep in mind

Limits: 100,000 characters, 40 levels, 20,000 values. YAML comments and anchor syntax are not preserved. Custom tags and cycles are unsupported. Use strings for large integers.

Common questions

Are comments preserved? JSON has no comments. Conversion preserves data, not original spacing or YAML layout.