YAML to JSON
Convert YAML (config files, Docker Compose, Kubernetes) to JSON, with error line numbers.
Runs in your browser — your data never leaves your device.
About the YAML to JSON
YAML is used for configuration files — GitHub Actions, Docker Compose, Kubernetes, Laravel and more. Convert it to JSON to use in code or APIs, and find indentation mistakes quickly: errors show the exact line and column.
How to use the YAML to JSON
- Paste YAML.
- Read or copy the JSON (multi-document YAML becomes a JSON array).
- Download as
data.jsonif needed.
How it works
YAML is parsed with js-yaml (MIT) using the safe default schema — custom tags and code are never executed.
Examples
site: WE Tools/features:/- pdf→{"site": "WE Tools", "features": ["pdf"]}
Frequently asked questions
Is my data sent to your server?
No. Everything runs in your browser, on your own device. Nothing you type, paste or choose is uploaded or stored.