JSON to YAML
Convert JSON to clean, human-readable YAML.
About the JSON to YAML
YAML is easier for people to read and edit than JSON, which is why tools like Kubernetes, Docker Compose and GitHub Actions use it. This converter turns JSON into clean YAML.
Conversion happens in your browser, so your files and records stay private.
How to use the JSON to YAML
- Paste JSON.
- Choose the indentation.
- Copy or download the YAML.
Frequently asked questions
Are strings quoted?
Only when needed, for example values that would otherwise be read as numbers, booleans or dates.
Is the conversion lossless?
Yes. Converting the YAML back to JSON gives the same data.
Related tools
JSON to CSV
Convert JSON arrays to CSV with automatic column detection, nested object flattening and custom delimiters.
CSV to JSON
Convert CSV to a JSON array with header detection, type inference and delimiter auto-detection.
JSON to XML
Convert JSON to well-formed XML with a configurable root element and attribute support.
XML to JSON
Convert XML to JSON, preserving attributes and repeated elements as arrays.
YAML to JSON
Convert YAML documents to formatted JSON with syntax validation.
JSON to PHP Array
Convert JSON to a PHP array literal using short or long array syntax.