YAML to JSON Converter (and JSON to YAML)

Convert YAML to JSON and JSON to YAML instantly, with validation. Handy for Kubernetes manifests and config files — nothing leaves your browser.

Output appears here.

YAML ↔ JSON, validated

Paste YAML to get formatted JSON, or switch tabs to turn JSON into YAML. If the input has a syntax error, the exact message and line are shown — so this doubles as a quick YAML validator for Kubernetes manifests and config files.

Privacy

Everything runs in your browser. Your YAML or JSON is never uploaded, which makes it safe for internal configuration. For multi-document YAML (separated by ---), convert each document separately.