Cookie Inspector — Check Set-Cookie: Secure, HttpOnly, SameSite and Expiry
Parse raw Set-Cookie headers to inspect Secure, HttpOnly, SameSite and Max-Age.
Set-Cookie headers are fetched through KalkuNet's fetch API when you enter a URL.
__Host-sesi✓ StoredSecureHttpOnlySameSite=LaxPath=/Expires: 27 Nov 2026, 20:41
preferensi✓ StoredSecureHttpOnlySameSite=LaxPath=/Expires: 1 Jan 2028, 18:41
- ! No Secure: the cookie is also sent over plain HTTP and can be sniffed.
- · A 1496-day lifetime is capped by browsers at 400 days.
iklan_id✗ RejectedSecureHttpOnlySameSite=NoneDomain=example.comPath=/Expires: session (until the browser closes)
- ✗ SameSite=None without Secure — browsers reject this cookie.
- · Domain=example.com: also sent to every subdomain of example.com.
__Secure-token✗ RejectedSecureHttpOnlySameSite=Lax*Path=/Expires: session (until the browser closes)
- ✗ A __Secure- name requires Secure — browsers reject it.
- ! No Secure: the cookie is also sent over plain HTTP and can be sniffed.
- · No SameSite: Chrome and Edge treat it as Lax.
keranjang✓ StoredSecureHttpOnlySameSite=StrictPath=/tokoExpires: session (until the browser closes)
When to use the HTTP Set-Cookie Header Attribute Inspector
Know which cookies get rejected
The rules that make browsers drop a cookie are applied: SameSite=None without Secure, the __Secure- and __Host- prefixes, Partitioned without Secure, a foreign Domain and size over 4096 bytes.
The real expiry
Max-Age wins over Expires as in browsers, cookies that delete themselves are flagged, and lifetimes over 400 days are capped to today's browser limit.
Safer session cookies
Cookies named session, sid, token or auth without HttpOnly are flagged, because an injected XSS script could steal them and take over the account.
From a URL or pasted
Fetch the Set-Cookie headers of a URL through the KalkuNet server, or paste them from the DevTools Network tab or curl -sI, including from internal staging servers.
Frequently asked questions
What is the difference between SameSite Strict, Lax and None?
Strict is only sent from your own site; Lax is also sent when a user follows a link in; None goes with every cross-site request and requires Secure.
When should I use the __Host- prefix?
For the main session cookie. Browsers only accept it with Secure, Path=/ and no Domain, so other subdomains cannot overwrite it.
Are my cookie values sent to a server?
Pasted text is checked in your browser. Only when you ask to fetch a URL does the KalkuNet server open it, without your cookies.
Why does a cookie disappear although Expires is far away?
Modern browsers cap a cookie's lifetime at 400 days, whatever Expires or Max-Age says. Send the cookie again when the user returns so its lifetime is extended.
Similar tools
- Google Analytics UTM Campaign Link BuilderBuild GA4 campaign links: encoded utm_ values, existing parameters and the #fragment kept, lowercase and space options, presets, many URLs at once and .txt/.csv export.
- Apache .htaccess 301/302 Redirect GeneratorGenerate Apache mod_rewrite 301 permanent redirects and HTTPS enforcement.
- Nginx return 301 & rewrite Rule GeneratorGenerate fast Nginx server block 301 redirects and non-www canonicalization.
- Cloudflare Bulk & Dynamic Redirect Rule BuilderExport CSV lists for Cloudflare Bulk Redirects or dynamic rule expressions.