JSON to YAML
Convert JSON to YAML and back with a single paste — handy for config files, Docker, Kubernetes and CI/CD.
How to convert JSON to YAML
- Pick a direction: "JSON → YAML" or "YAML → JSON".
- Paste your content on the left and the result appears on the right.
- Use the copy button to grab the result. If the content has a syntax error, the tool points at the line and column.
Frequently asked questions
More JSON tools
JSON FormatterFormat, minify and validate JSONJSON RepairAutomatically fix broken JSONJSON CompareFind the differences between two JSON documentsJSON ViewerView JSON as a tree, collapse or expand any branchJSON SorterSort JSON fields and arrays from A to ZJSON to CSVConvert between JSON and CSV tablesJSON Escape / UnescapeTurn text into a valid JSON string and backJSON to TypeScriptGenerate TypeScript interfaces from sample JSONJSONPath QueryExtract data from JSON with a JSONPath expression