YAML to JSON Converter

Paste YAML below, or drop a .yaml file. Supports nested maps, lists, and scalar values.

Reading nested YAML by eye gets error-prone once a config file grows past a few levels of indentation. Converting to JSON makes it easier to validate structure, diff against another version, or hand off to code that expects JSON.

YAML input
Drop a .yaml file here, or paste text into the box below
JSON output

Common questions

Does this upload my file anywhere?

No. Conversion runs entirely in your browser. Your file never leaves your device.

What YAML features are supported?

Nested block-style mappings, lists, and common scalar types (strings, numbers, booleans, null). Anchors, aliases, and flow-style syntax like {a: 1} aren't supported.

What happens with unsupported syntax?

Lines using unsupported YAML features may not convert as expected — check the output against your source for anything advanced.