piko

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

  1. Paste the YAML document.
  2. Review the result and correct any reported syntax errors.
  3. 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