Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Web & CSS

Cookie Request Header Analyzer

Parse a Cookie request header into name/value pairs. Splits on semicolons, preserves quoted values (including semicolons inside), decodes percent-encoding, and flags malformed pairs, empty names, and duplicates. This complements the Set-Cookie builder tool.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Parse a request header into pairs

Paste a Cookie request header, with or without the "Cookie:" prefix, and the tool splits it on semicolons into name/value pairs, each with a status of Valid, Duplicate or Invalid. Values are percent-decoded for display, so %20 becomes a space, and the stats report how many pairs, how many duplicates and whether any percent-encoding was present.

The semicolon rule and quoted values

The delimiter is the semicolon, but double-quoted strings are honoured, so a value like theme="a;b" stays whole. A pair with no equals sign gets an empty name and is marked Invalid with a message saying a cookie pair needs the name=value form. Decoding turns each %XX into the byte it names and leaves plainly written text alone.

Build mode goes the other way

Build takes name=value pairs separated by commas or semicolons and reassembles a single Cookie header joined with "; ". It flags an empty name and detects duplicate names case-insensitively, since a header naming the same cookie twice is broken in practice: a server or proxy normally keeps only the last occurrence.

Local and unread

Parsing and building run entirely in this tab. Cookies often carry session tokens, so it matters that nothing here is uploaded, logged or sent to a server, and the page makes no request while you work.

Questions

How are cookies delimited?

The request-header uses semicolons between pairs and an = between name and value. Quoted values can contain semicolons.

Should I percent-decode values?

Values may be percent-encoded (e.g. space as %20); decoding shows the real value but encoded form is what compares for use.

Are duplicate names allowed?

Broken; only the last name in the HTTP header would normally survive. Servers should treat repeats as an anomaly, and proxies rarely tolerate them.

See category