YAML ↔ JSON help
Convert between YAML and JSON, both directions, as you type.
Supported YAML
- Block mappings and sequences, nested by indentation.
- Plain, single-quoted, and double-quoted scalars;
null, booleans, numbers. #comments and the---/...document markers.|(literal) and>(folded) block scalars, with the-chomping indicator.- Inline flow collections:
[a, b, c]and{a: 1, b: two}.
Not supported
Anchors and aliases (& / *), explicit tags (!!str), complex mapping keys, and multiple documents in one file. For those, use a full YAML library.
Notes
- JSON → YAML quotes any string that would otherwise be read as a number, boolean, or null.
- Nothing is uploaded; both directions run in the page.
Everything runs in your browser. Nothing you enter or drop is uploaded.
Back to YAML ↔ JSON