Cookie Security Checker

Check pasted Set-Cookie headers for security flags.

Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.

Cookie Security Checker

How to use this tool

  1. Enter your values in the fields above.
  2. Press Generate to see the result.
  3. Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.

Worked example

Pasting a session cookie with Secure, HttpOnly and SameSite=Lax reports all three flags present.

What this tool does not do / Limits

Only pasted headers are checked. This does not inspect live sites or your browser cookies, and flag presence alone does not prove a cookie is safe.

Frequently asked questions

Why does HttpOnly matter?

It keeps the cookie out of reach of page scripts, which reduces the damage if a cross-site scripting flaw exists.

Is a session cookie without expiry a problem?

Not by itself. Session cookies end when the browser closes, so the tool reports it as information, not a failure.

Related tools