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
- JSON ↔ YAML ConverterConvert between JSON and YAML in either direction. Handles nested objects, array
- JSON FormatterFormat, validate, and minify JSON in your browser. See parse errors with line/co
- YAML FormatterFormat and validate YAML in your browser. Multi-document (---) supported. Errors
- CSV ↔ JSON ConverterConvert CSV data to JSON (or JSON to CSV) with configurable delimiter, header ro
- Query String ↔ JSONConvert URL query strings to JSON and JSON back to a query string. Handles repea