JSON to YAML

Transform JSON documents into YAML text.

Paste valid JSON to produce YAML for configs, CI files, or documentation.

JSON input
YAML output

How it works

JSON is parsed, then serialized as YAML with readable structure.

Numbers, strings, booleans, null, arrays, and nested objects are supported.

About YAML

YAML is often used for config files; always review output before deploying to production.

Privacy

Conversion runs locally in your browser.

Common questions

Invalid JSON?
Input must be valid JSON before conversion.
YAML back to JSON?
Use the YAML to JSON tool.
Anchors and aliases?
Output uses plain YAML without JSON-specific features.
Large documents?
Very large JSON may be slow to convert in the tab.