ToolVaults

YAML to JSON Converter

Convert YAML to JSON with full YAML 1.2 support: nested maps, sequences, anchors, and multi-line strings. Also converts back — JSON to YAML — with one click.

Runs 100% in your browser — nothing is uploaded.

JSON

Frequently asked

Which YAML version is supported?

YAML 1.2 via the mature `yaml` npm package. Anchors, aliases, and merge keys are resolved at parse time and flattened into plain JSON.

What happens to YAML comments?

Comments are lost — JSON has no equivalent. Everything else (structured data, scalars, nested objects, arrays) round-trips cleanly.

How big a document can I paste?

Anything up to a few MB. Parsing happens entirely in the browser, so there is no upload — larger inputs are limited only by your device.

Related tools