JSON to YAML

Convert JSON to clean, readable YAML for configs and Kubernetes files.

Runs on your device. Files are never uploaded.
Report a problem

How to use JSON to YAML

  1. Paste your JSON
  2. Choose the indent
  3. Copy the YAML

About this tool

Paste JSON and get YAML with correct quoting for tricky values such as “yes”, “null” and numbers written as text. Choose a 2 or 4 space indent. Runs in your browser.

Like every tool on YantraStack, it is free with no accounts, limits or watermarks, and it works offline once the page has loaded. See how to verify that nothing is uploaded.

Questions

Can it convert YAML back to JSON?

Not yet. This tool converts JSON to YAML only.

Guides

Related tools

↑ ↓ navigateEnter openEsc close