Skip to content
OnlineToolStudio

JSON to YAML Converter

runs in your browserno sign-upfree

Convert JSON into clean, readable YAML for config files, Kubernetes and CI pipelines.

Converted to YAML

JSON243 chars
YAML

About this tool

This converter turns JSON into clean, readable YAML — handy for Kubernetes manifests, Docker Compose, GitHub Actions and other config files. Values that could be misread by some YAML tools, such as "yes", "on" or "012", are quoted so they always stay text. Multi-line strings become readable | blocks.

How to use

  1. Paste your JSON into the JSON box.
  2. Choose an indent of 2 or 4 spaces.
  3. Copy the YAML or download it as a .yaml file.

FAQ

Why are some values in quotes?

Strings like "yes", "no", "on", "true", "null" or "012" would be read as booleans, null or numbers by some YAML tools. Quoting them keeps them as text everywhere. Other strings are written without quotes.

Will converting back give me the same JSON?

Yes. Converting the YAML back with the YAML to JSON converter gives the same data.

Is my YAML uploaded?

No. Everything runs in your browser, so config files, secrets in environment variables and other data never leave your device. Your last input is saved only in this browser; press Clear to remove it.

Related tools

All tools