YAML to JSON
Convert one YAML document to indented JSON.
Runs on your device. Nothing you add is uploaded.
JSON
{
"name": "Riverside Garden",
"open": true,
"beds": [
"East",
"West"
]
}How to use YAML to JSON
- Paste the YAML document.
- Review the result and correct any reported syntax errors.
- Copy the converted JSON.
Questions
How is the document represented after conversion?
The JSON result omits comments. Ordinary YAML aliases can be expanded, while cycles and non-string mapping keys produce an error.
Where is my input processed?
On your device. The tool does not upload the input or its result.
How this works
Uses the YAML library to convert between YAML and the JSON data model.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy
Related tools
More in Data & spreadsheetsJSON to YAML
Convert strict JSON to readable YAML.
JSON to XML
Convert JSON objects and arrays to XML elements under a root name you choose.
XML to JSON
Convert XML to a JSON element tree with names, attributes, and ordered content.
JSON to CSV
Convert JSON records or arrays of rows to comma-separated values.