JSON to YAML — convert JSON objects to indented YAML
Paste JSON and get readable indented YAML for configs and docs. Pair with YAML to JSON for the reverse.
JSONYAML
Converts as you type — paste or drop a file.
Input(JSON)
Output(YAML)
Runs in your browser — nothing is uploaded to our servers.
YAML reads easier in docs. Emit it from JSON without a heavyweight library install.
Steps
- Paste JSON
- Convert
- Copy YAML
Why this converter
- Indented output
- Objects and arrays
- Sample button
Good for
- README configs
- Kubernetes-like snippets
- Human-readable dumps
Tips
- Invalid JSON will show an error — fix quotes first
Examples
| Input | Output | Note |
|---|---|---|
| {"name":"demo"} | name: demo | — |
FAQ
- Need JSON again?
- Use YAML to JSON.