JSON → YAML
Convert data in JSON format to YAML format. As in the example below, paste JSON on the left and the YAML result appears instantly on the right.
Example
JSON
[
{ "id": 1, "name": "Ada", "role": "admin" },
{ "id": 2, "name": "Linus", "role": "editor" }
]YAML
- id: 1
name: Ada
role: admin
- id: 2
name: Linus
role: editorHow to Convert
- Select JSON as the source format and YAML as the target format.
- Paste your JSON data into the input box on the left.
- Copy or download the YAML result generated on the right.
Notes
- Every conversion happens inside the browser, and the data you enter is never sent to a server.