JSON Formatter / Minifier / ValidatorJSON Escape / UnescapeJSON DiffSort JSON KeysJSON ⇄ StringJSON ⇄ XMLXML ⇄ JSONJSON to CSVCSV to JSONJSON ⇄ YAMLJSON to CodeQuery Params ⇄ JSONCookie ⇄ JSONJSON ⇄ Properties
Cookie ⇄ JSON
Parse a Cookie string into JSON, or join it back
How to use
Cookie key-value pairs are separated by semicolons as key=value. Converting to JSON URL-decodes the values, and joining back re-encodes them so Chinese and other characters are not lost.
FAQ
What about attributes like Expires or Path?
They are essentially "keys" with special values and are parsed as ordinary fields too. This tool does not involve browser cookie-writing logic; it only does plain text conversion.
How are items without an equals sign handled?
A switch-style marker like Secure has no equals sign and is recorded with the value true when parsed.