KO | EN
About
🔀

YAML ↔ JSON Converter — Free Online

Convert YAML to JSON or JSON to YAML. Auto-detect mode converts in the right direction automatically.

YAML
JSON

Frequently Asked Questions

What is the difference between YAML and JSON?
YAML is indentation-based and human-readable; JSON uses braces and is easily parsed. YAML supports comments and is more concise, but JSON has broader language support.
Are YAML comments preserved when converting?
YAML comments (starting with #) are removed when converting to JSON. JSON does not support comments. Manage comment content separately if needed.
How many spaces for YAML indentation?
JSON→YAML conversion uses 2-space indentation by default. JSON is also formatted with 2-space indentation.