⇄ JSON ↔ YAML Converter
Convert between JSON and YAML with a hand-rolled parser and serializer built for this page — no library, nothing leaves your browser.
This converter handles a solid subset of YAML — nested mappings, sequences and
scalars (strings, numbers, booleans, null). It deliberately rejects anchors/aliases
(
&/*), tags (!!type), multiple documents (---) and
flow-style { }/[ ] collections with a clear error, rather than silently producing
the wrong structure.