Subformer
Free · No signup · Runs in your browser
JSON
YAML

JSON to YAML Converter

Convert JSON config files to the more human-readable YAML format - Kubernetes, GitHub Actions, Docker Compose love it.

Why convert JSON to YAML?

JSON is excellent for machines but noisy for humans - all those quotes and braces add visual clutter to config files that someone has to maintain. YAML strips the punctuation in favor of indentation, making it the default config format for Kubernetes, GitHub Actions, Docker Compose, and most modern DevOps tooling. Converting JSON to YAML cleans up legacy configs for human editing.

We parse your JSON, then serialize it with the yaml library at default indent. Comments aren't preserved - JSON has no concept of them. Strings that look like YAML keywords (yes/no, on/off) are quoted to avoid ambiguity. Everything runs in your browser; no data is uploaded.

JSON

About JSON

JSON (JavaScript Object Notation) is the lingua franca of structured data on the web. Arrays, objects, strings, numbers, booleans. Read by every modern programming language.

YAML

About YAML

YAML is a human-friendly data serialization format - indentation-based, less noisy than JSON, ideal for config files. Used by Kubernetes, CI pipelines, and most modern DevOps tooling.

How to convert JSON to YAML

  1. 01

    Drop your JSON file

    Drag a JSON onto the converter above, or click the box to pick one from your device.

  2. 02

    YAML is already selected

    We've preselected YAML as the output format. Change it from the dropdown if you want a different target.

  3. 03

    Convert and download

    Click Convert and wait for the progress bar to finish. Download the YAML when it's ready.

JSON to YAML FAQ

See all formats →