Convert · Runs in your browser
YAML to JSON Converter
Convert YAML — Kubernetes, OpenAPI, CI configs — to JSON, with clear error messages when the YAML isn’t valid.
YAML
Drop a file to load it
JSON
How to use it
- Paste YAML on the left, or upload a .yaml / .yml file.
- The JSON appears instantly; errors are shown with their line and column.
- Copy the JSON or download it as a .json file.
Anchors and aliases
&anchors, *aliases and << merge keys are expanded. A limit on alias expansion protects your browser from “billion laughs” files.
Multiple documents
A file with several documents separated by --- becomes a JSON array with one item per document.
YAML 1.2
Parsing follows YAML 1.2, so yes/no stay strings and only true/false are booleans — the same rules Kubernetes uses.
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 JSONJSON to YAMLConvert JSON to readable YAMLJSON 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