Skip to content
T2Run
Esc
  • RunPad Text Editor
    A Notepad++-style editor in your browser: tabs, split view, compare, 30 languages, JSON/XML/YAML tools.
    Text
  • Diff Checker
    Compare two texts or files side by side and see every added, removed and changed line.
    Text
  • JSON Beautifier
    Format, validate, sort and minify JSON with precise error locations.
    JSON & Data
  • Image Resizer
    Batch resize photos by pixels or percent and export to JPG, PNG or WebP.
    Image
  • JSON Validator
    Check if JSON is valid and see the exact line and column of any error.
    JSON & Data
  • JSON Minifier
    Remove whitespace to make JSON compact, and see how many bytes you saved.
    JSON & Data
  • JSON to Go Struct
    Generate Go struct type definitions with json tags from any JSON.
    JSON & Data
  • JSON to String
    Escape JSON into a string literal you can paste into code.
    JSON & Data

JSON to YAML

Convert JSON into clean, readable YAML for configs and Kubernetes.

Runs in your browser — nothing is uploaded
Indent
JSON
324 characters · 324 B
YAML
Output appears here as you type

Convert JSON to YAML

YAML is the format of choice for Kubernetes, Docker Compose, GitHub Actions, Ansible and many app configs. Paste JSON and get clean, readable YAML without quotes and braces.

How to use the JSON to YAML

  1. Paste your JSON on the left.
  2. Choose the indentation.
  3. Copy the YAML or download it as data.yaml.

Frequently asked questions

Can I convert YAML back to JSON?

Yes. Open the RunPad text editor, paste the YAML and choose Format → YAML → JSON.