JSON to YAML
Convert JSON to YAML
Turn JSON into clean YAML for Kubernetes manifests, CI pipelines or config files. Paste, convert, copy — all in your browser.
Open JSON to YAML →
Free · No sign-up · Runs in your browser
How to use it
- Open Tools → Convert. JSON → YAML is pre-selected.
- Paste your JSON, or click Use editor JSON.
- Click Convert and copy the YAML output.
Example
{
"id": 42,
"name": "Ada Lovelace",
"active": true,
"roles": ["admin", "editor"],
"address": { "city": "London", "zip": "N1 9GU" }
}id: 42
name: "Ada Lovelace"
active: true
roles:
- "admin"
- "editor"
address:
city: "London"
zip: "N1 9GU"Features
Nested structures
Objects and arrays become properly indented YAML maps and lists.
Other formats
Also convert JSON to XML, CSV or TOML, and CSV to JSON.
Open in editor
When converting to JSON, open the result in the editor to view it as a tree.
Private
Conversion happens locally, so config files with secrets stay on your machine.
Frequently asked questions
Are strings quoted in the YAML output?
Yes. String values are double-quoted, which avoids YAML surprises such as yes/no being read as booleans.
Can I convert YAML back to JSON?
Not yet. The converter accepts JSON and CSV as input.
Which other formats are supported?
JSON can be converted to YAML, XML, CSV and TOML. CSV can be converted to JSON.
Is it free?
Yes, free with no sign-up.