YAML → JSON
Parse YAML and emit pretty-printed JSON.
Private by design. Your input never leaves this browser. Conversions run locally on your device.
What this tool handles
- Dates in the YAML document become ISO 8601 strings.
- NaN and Infinity become null.
- Tabs used for indentation are rejected, and the error carries the line and column.
- Multi-document YAML is not supported; one document per conversion.
Example
YAML
name: Ada
active: true
ports:
- 80
- 443
JSON
{
"name": "Ada",
"active": true,
"ports": [
80,
443
]
}
Related tools
- JSON → YAML — Convert JSON to readable YAML with configurable indentation.
- Convert any format — Pick an input format and an output format and convert between any pair.
- JSON → TOML — Convert a JSON object to TOML.
- TOML → JSON — Parse TOML configuration into JSON.
- JSON → CSV — Turn an array of objects into a CSV table.
- CSV → JSON — Parse CSV or TSV into JSON, with delimiter detection and optional type coercion.