GitHub|Since 2007
Cookie Security Tool

Cookie Security Checker

Analyze cookie security flags. Check Secure, HttpOnly, and SameSite for all cookies.

Securing Your Cookies

Cookies carry sensitive data like session IDs. If not properly secured, they can be stolen (XSS) or used for unauthorized actions (CSRF).

01

HttpOnly & Secure

HttpOnly prevents JavaScript from accessing cookies, mitigating XSS attacks. Secure ensures cookies are only sent over encrypted HTTPS connections.

02

SameSite Attribute

SameSite controls when cookies are sent with cross-site requests. Setting it to 'Strict' or 'Lax' effectively blocks most CSRF attacks.

Critical Security Flags

HttpOnly

Prevents client-side scripts from accessing the cookie. Essential against XSS.

Secure

Ensures the cookie is only transmitted over secure HTTPS connections.

SameSite

Strict, Lax, or None. Controls cross-site cookie sending to stop CSRF.

Check HSTS Security

Ensure your site forces HTTPS connections.

HSTS Checker