ToolPuma Logo

Cookie Analyzer

Check cookies for Secure, HttpOnly and SameSite flags.

What Is a Cookie Analyzer?

The Cookie Analyzer examines Set-Cookie headers and checks each cookie for the Secure, HttpOnly, and SameSite flags, and whether an expiry is set. It counts how many cookies use each security property and lists issues for cookies that are missing protection.

How to Use This Cookie Analyzer

  1. 1
    Paste headersEnter one Set-Cookie header per line.
  2. 2
    Enable Set-Cookie modeIf each line is a full Set-Cookie header, keep the mode on.
  3. 3
    Review the analysisInspect the flag summary and any listed issues.

Frequently Asked Questions

HttpOnly prevents client-side scripts from reading the cookie, which helps stop cross-site scripting attacks from stealing session tokens.
SameSite controls when a cookie is sent with cross-site requests, offering protection against cross-site request forgery (CSRF). Strict and Lax are the safer values.
You paste the cookie headers to analyze them. The analysis runs locally in your browser and nothing is stored.