JSON to YAML Converter

Convert between JSON and YAML.

🔒 Client · Offline
The data stays in your browser
Every conversion runs on the page. Nothing is uploaded.

About JSON and YAML

YAML is a readable format that maps well to JSON data. It uses indentation instead of braces, and it supports comments.

Use this tool to convert config files between JSON and YAML. The data stays in your browser.

YAML comments and anchors do not exist in JSON. When you convert from YAML to JSON, the tool removes comments and resolves anchors. When you convert from JSON to YAML, the tool writes block style.

JSON, YAML, TOML, JSON5, and XML all convert in your browser. The XML parser is the one that the browser ships, so no library is loaded and nothing is uploaded.