L LocalUse Source

JSON to YAML

Convert a JSON document to YAML. Handy when an API hands you JSON but the thing you are configuring - Kubernetes, GitHub Actions, Compose - wants YAML.

Indent
Line width (0 = no wrap)
JSON
Output

Output appears here as you type.

Runs entirely in your browser. Nothing you paste here is uploaded or stored.

Questions

Is my data uploaded anywhere?

No. The conversion is a pure function running in your browser tab. Nothing is transmitted, which is what makes it safe for production exports.

Why is my long string being wrapped?

YAML folds long scalars by default. The line width option defaults to 0 here, which disables folding - that is almost always what you want for config files that a human will read in a diff.

More convert tools