Convert · Runs in your browser
JSON to YAML Converter
Convert JSON into clean YAML for Kubernetes manifests, GitHub Actions, Docker Compose and other config files.
JSON
Drop a file to load it
YAML
How to use it
- Paste JSON on the left, or upload a .json file.
- Choose the indent size and whether to quote every string.
- Copy the YAML or download it as a .yaml file.
Safe quoting
Strings that YAML would read as something else — yes, no, on, null, 08, 1e3 — are quoted automatically, so the YAML means exactly what the JSON did.
Exact numbers
Large integers and decimals like 1.10 are written exactly as in your JSON.
Round trip
Use YAML to JSON to convert back. Comments can’t be represented in JSON, so they are the only thing lost on the way back.
More convert tools
All free, all private, all running locally in your browser.
JSON to CSVTurn JSON arrays into spreadsheet rowsCSV to JSONTurn spreadsheets into JSONJSON to XMLConvert JSON to well-formed XMLXML to JSONParse XML into JSONYAML to JSONConvert YAML config to JSONJSON to ExcelDownload JSON as an .xlsx fileExcel to JSONConvert .xlsx sheets to JSONJSON to SQLGenerate INSERT statementsSQL to JSONTurn INSERT statements into JSONJSON to MarkdownTurn JSON into a Markdown tableFlatten JSONFlatten or unflatten nested JSON