JSON Formatter / Minifier / ValidatorJSON Escape / UnescapeJSON DiffSort JSON KeysJSON ⇄ StringJSON ⇄ XMLXML ⇄ JSONJSON to CSVCSV to JSONJSON ⇄ YAMLJSON to CodeQuery Params ⇄ JSONCookie ⇄ JSONJSON ⇄ Properties
JSON ⇄ YAML
Convert JSON to YAML and YAML to JSON; a hand-written parser covers common structures
How to use
When converting JSON → YAML, numeric strings, numbers, booleans and null get quotes to preserve fidelity; YAML → JSON supports nested indentation, the - list marker, key-value pairs and common scalar types.
FAQ
Why does the string "100" get quotes after converting to YAML?
To avoid it becoming a number when converted back to JSON. YAML identifies a plain number as an integer by default, and quotes preserve the exact original type.
Are the supported YAML features limited?
It covers the most common daily subset: maps, sequences, nesting, scalars and comments. Anchors, multi-document and complex flow styles are not supported yet.