Runs in your browser
YAML to JSON
Convert YAML to JSON with js-yaml, preserving objects, arrays, strings, numbers, booleans, and null exactly as parsed from the source YAML.
ReadyData ConvertersFree · No account required
Related tools
Features
- Preserves objects, arrays, strings, numbers, booleans, and null exactly
- Real YAML parsing via js-yaml, with a clear error if the YAML is invalid
How to use
- Paste YAML into the input.
- Click Convert.
- Copy or download the JSON result.
Example
Input
a: 1 b: - 1 - 2 c: null
Output
{
"a": 1,
"b": [1, 2],
"c": null
}