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