JSON to YAML Converter

Your text never leaves your browser — everything runs on your device.

Turn JSON into clean, human-readable YAML for config files, GitHub Actions, Docker Compose, and Kubernetes manifests. Objects become indented key-value pairs, arrays become dash lists, and strings that look like numbers or booleans are quoted automatically so they do not change meaning. Free, no signup, and your text never leaves your browser.

Frequently asked questions

How do I convert JSON to YAML?

Paste valid JSON and click Convert to YAML. The result uses 2-space indentation and dash-style lists, ready to paste into a .yaml or .yml file.

Why are some strings quoted in the output?

Strings that look like something else — "true", "123", "yes", or a value containing a colon — are quoted so YAML does not misread them as a boolean, a number, or a new key when the file is loaded again.

Can I convert YAML back to JSON?

Yes. The YAML to JSON converter on this site does the reverse conversion. The two pages are separate so each one can rank for its own keyword, and they link to each other.

Is my JSON uploaded anywhere?

No. The conversion runs entirely in your browser using the js-yaml library. Your pasted text is never sent to a server, stored, or shared.