JSON ↔ YAML Converter
Two-way conversion between JSON and YAML (supports maps, lists, nesting, and scalars).
A two-way converter between JSON and YAML — supports maps, lists, nested structures, and scalars. Handy when working with Kubernetes, Docker Compose, or CI/CD config files.
How to use JSON ↔ YAML
- Paste JSON or YAML into the corresponding box.
- Choose the conversion direction (JSON→YAML or YAML→JSON).
- View the result and copy it.
Frequently asked questions
Does it preserve key order?
Yes, key order is preserved during conversion.
Can it convert multi-document YAML (---)?
The tool is optimized for one YAML document at a time; for multiple documents, split them and convert each part separately.
🔒 JSON ↔ YAML Converter runs entirely in your browser — the data you enter is not sent to any server. Free, no sign-up required. See145 free dev tools more.