Cookie Parser
Paste Cookie or Set-Cookie headers and see every cookie and attribute in a table, with warnings for missing Secure, HttpOnly and SameSite settings.
How to read a cookie header
Paste a Cookie or Set-Cookie header
From your browser's developer tools or a response.
Read the table
Each cookie is listed with its Path, Domain, Expires, Max-Age, Secure, HttpOnly and SameSite.
Check the notes
Missing protections and the rules for __Host- and __Secure- cookies are pointed out.
Worked example
This is what Cookie Parser gives for its own sample values. Open the tool above and change anything to try your own.
Cookie or Set-Cookie header
Set-Cookie: sessionid=9f2c1e; Path=/; Domain=example.com; Max-Age=3600; HttpOnly Set-Cookie: theme=dark; Path=/; SameSite=Lax; Secure; Expires=Wed, 21 Oct 2026 07:28:00 GMT
| Name | Value | path | domain | max-age | httponly | samesite | secure | expires |
|---|---|---|---|---|---|---|---|---|
| sessionid | 9f2c1e | / | example.com | 3600 | yes | |||
| theme | dark | / | Lax | yes | Wed, 21 Oct 2026 07:28:00 GMT |
About Cookie Parser
Read Cookie and Set-Cookie headers as a table of names, values and attributes (Path, Domain, Expires, Max-Age, Secure, HttpOnly, SameSite). Missing protections and prefix rules for __Host- and __Secure- cookies are pointed out.
FAQs
What should a session cookie have?
Secure, HttpOnly and a SameSite value of Lax or Strict.
What does SameSite=None need?
The Secure flag, or browsers reject the cookie.
Can it read several cookies at once?
Yes. Paste several lines or a whole Cookie header.