โ† back

yaml โ†” json

paste either side ยท convert + validate. all local.
YAML input
โ€”
JSON output
โ€”
examples:
About this tool: validates and converts between YAML and JSON. The YAML parser is hand-rolled (no library) โ€” it supports the common subset: scalars, lists, nested maps, multi-line strings, comments, quoted strings, booleans, nulls, numbers. Anchors/aliases, complex tags, and binary scalars are not supported. For full YAML 1.2 conformance, use js-yaml.