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.

Processed on your device. Files are not uploaded

How to read a cookie header

  1. Paste a Cookie or Set-Cookie header

    From your browser's developer tools or a response.

  2. Read the table

    Each cookie is listed with its Path, Domain, Expires, Max-Age, Secure, HttpOnly and SameSite.

  3. 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
NameValuepathdomainmax-agehttponlysamesitesecureexpires
sessionid9f2c1e/example.com3600yes
themedark/LaxyesWed, 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.

Related tools