YAML to JSON

Convert YAML (config files, Docker Compose, Kubernetes) to JSON, with error line numbers.

JSON to YAML

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

  1. Paste YAML.
  2. Read or copy the JSON (multi-document YAML becomes a JSON array).
  3. Download as data.json if 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.

Category: Developer Tools · Free to use · Last updated Oct 9, 2026