Skip to content
Your data never leaves your browser

JSON to YAML

Brackets to indentation. The Kubernetes way.

Input
Output

What this does

DEVS: js-yaml dump() with default flow level. Produces clean block-style YAML. Client-side, no server round-trip.

Paste JSON, get YAML. Clean block-style output with proper indentation. The kind of YAML humans actually want to read.

Common use cases

Writing Kubernetes configs. Creating CI/CD pipeline files. Making configs human-editable. YAML is more readable than JSON for configuration.

Things to know

YAML is a superset of JSON, so technically all JSON is valid YAML. But nobody writes YAML that looks like JSON. This tool produces the clean indented style people expect. Watch out for YAML's type coercion on the other end: bare "true" becomes a boolean, "1.0" might become a float.

Privacy

Conversion runs entirely in your browser. Your configs stay local.