YAML ↔ JSON Converter
Convert between YAML and JSON formats. Everything runs in your browser.
YAML vs JSON
YAML (YAML Ain't Markup Language) and JSON (JavaScript Object Notation) are both data serialization formats. YAML uses indentation for structure and is more human-readable, while JSON uses braces and brackets and is more widely supported in APIs.
Supported YAML Features
- Key-value pairs and nested objects
- Arrays (both block and inline style)
- Strings, numbers, booleans, null
- Comments (# stripped during conversion)
- Multi-line strings (| literal, > folded)