YAML to JSON Converter

Paste YAML on the left to turn it into JSON for APIs, tools, and apps.

Drop a file anywhere · up to 20 MB

Source

Free-form source input. Auto-detect tries JSON first, then XML, then YAML.

Loading editor...
Status: EmptyCharacters: 169 | Lines: 12

Result

Choose the target format for the converted output.

Loading editor...
Status: No outputCharacters: 0 | Lines: 0

Route Notes

Convert YAML into JSON-friendly objects, arrays, and primitive values.

Ordinary aliases are expanded. Cyclic references, custom tags, and non-JSON values are not supported.

YAML Conversion Notes

YAML conversion supports JSON-compatible mappings, arrays, strings, numbers, booleans, and null values.

YAML output is formatted in a readable block style for quick copy-paste use.

Ordinary aliases are expanded. Cyclic references, custom tags, non-finite numbers, and non-plain object values are not supported.

When source and target are both YAML, the result panel shows a formatted preview instead of staying empty.