Cookie Flags Analyzer
Inspect Set-Cookie header and flag missing Secure, HttpOnly, SameSite — with suggested fixes.
Checking the security flags on a Set-Cookie
Paste the header and the page checks the five decisions that set a cookie's exposure: Secure, HttpOnly, SameSite, Path and lifetime. Each comes with the concrete effect of being present or absent, rather than a bare right-or-wrong mark — because a session cookie and a preference cookie do not call for the same thing.
The check runs against the real attributes, and that distinction matters more than it seems. Searching for the word secure across the whole header reports the flag present on a cookie merely named secure_token, or whose value contains the word. That is the kind of false positive that gets someone to tick off as fixed a cookie still travelling in the clear.
The page also checks the name prefixes, a little-known contract: a cookie starting with __Secure- is only accepted by the browser if it carries Secure, and one starting with __Host- requires Secure, Path set to slash and no Domain. When the contract is not met, the browser discards the whole Set-Cookie — with no console error, which makes the failure hard to diagnose.
Frequently asked questions
Is SameSite=None always bad?
Does HttpOnly protect against session theft?
What does the __Host- prefix guarantee in practice?
Related Tools
JSON Size Analyzer
Analyzes a JSON payload and shows how many bytes each key takes, sorted by weight, with percentage of total and the full path per node.
URL Analyzer
Decompose any URL into its components: protocol, host, pathname, query parameters and hash. Inspect query strings individually.
Log Pattern Analyzer
Groups log lines by pattern, replacing numbers, IDs and dates with wildcards, and ranks the groups by frequency with a sample of each.
HTTP Cookie Parser
Paste a Set-Cookie header and inspect name, value, Domain, Path, Expires, Max-Age, HttpOnly, Secure and SameSite separately. Browser-only.
Basic .vimrc Generator
Build a starter .vimrc with colors, line numbers, indentation, search and common shortcuts. A great starting point for newcomers.
CSS Border Radius Generator
Create custom rounded shapes with 8 independent controls (4 corners × 2 axes). Live preview and ready-to-copy CSS. Everything in your browser.