Code Tower · room 18

YAML to JSON

Convert YAML to JSON.

🔒 Processed in your browser · No upload · No sign-up

Convert YAML to JSON

Paste YAML — a Kubernetes manifest, a CI pipeline, an OpenAPI spec or any config file — and get valid JSON instantly. Syntax errors are reported with the exact line and column so you can fix indentation mistakes fast. Nothing is uploaded: parsing happens in your browser.

What about multi-document YAML files?

Files that contain several documents separated by --- are converted to a JSON array with one item per document. Untick the option to convert only a single document.

Are anchors and aliases supported?

Yes. YAML anchors (&base), aliases (*base) and merge keys (<<) are resolved, so the JSON output contains the fully expanded values.