YAML to JSON Converter

Convert YAML to JSON online for free. Paste config or data and get clean, pretty-printed JSON instantly — handles nested maps, lists and inline values, fully in your browser.

Handles mappings, lists, nested blocks, inline arrays/objects, quoted strings, numbers and booleans. Anchors, tags and block scalars are not supported.

Frequently asked questions

What YAML can it convert?
Indentation-based mappings and lists, nested blocks, inline (flow) arrays and objects like [1, 2] and {a: b}, quoted strings, numbers, booleans and nulls. It covers the YAML people typically paste from config files.
Are anchors, tags or block scalars supported?
No. Advanced YAML features such as anchors (&, *), explicit tags (!!type) and multi-line block scalars (|, >) are not converted, and the tool reports an error rather than guessing.
Is my YAML uploaded anywhere?
No. Conversion runs entirely in your browser — your data never leaves your device.