DevTools Hub

Search tools

Search for a developer tool

YAML

JSON to YAML

Convert JSON into clean, properly quoted YAML.

Part of the YAML Toolkit
YAML output

What this tool does

Paste JSON and get back YAML — the same data, in the format most CI configs, Kubernetes manifests, and Docker Compose files actually use day to day.

What changes in the conversion

FAQ

Why does a value like "yes" come back quoted?

To stop it from being misread as the boolean true by a YAML 1.1 parser (the classic yes/no/on/off ambiguity YAML Validator checks for) — the converter quotes a string whenever leaving it bare would change its meaning.

Does this preserve key order?

Yes — JSON object keys retain the order they were written in (per the JSON spec for string keys), and that order carries straight through to the YAML output.

Is my data uploaded anywhere?

No — everything happens entirely in your browser. Nothing is sent to a server.

Try it yourself

Need the reverse direction instead? YAML to JSON converts a YAML document back into JSON.

Related tools