DATA / DEVDESK
YAML ↔ JSON Converter
Convert YAML and JSON in either direction with a maintained YAML parser and clear syntax errors.
Uses the YAML 1.2 Core schema. YAML values such as dates and numbers may be converted to JSON types. Input is limited to 1 MB, nesting to 100 levels, and alias expansion to 20. Input stays in this browser.
Input and output examples
Example 1
Input
name: DevDesk
active: trueOutput
{
"name": "DevDesk",
"active": true
}Example 2
Input
{"retries":3,"enabled":false}Output
retries: 3
enabled: false
How to use it
- Choose YAML or JSON as the input format.
- Enter content or load a sample.
- Convert to the other format, review, and copy the result.
Frequently asked questions
How do YAML dates map to JSON?
Date-looking scalars can become strings or other values depending on the parser and schema. Review the converted value.
Are YAML aliases and deep nesting unlimited?
No. Input size and nesting are bounded to limit excessive computation and memory use.
Can YAML execute code here?
No. The tool parses and serializes data only; it does not use eval or execute user code.