Cookie Header Decoder
Decode Set-Cookie, Cookie, and HAR headers to inspect attributes, expiry dates, and RFC 6265bis browser rejection warnings.
Settings
Same-site request · https page · decode values
How to Use Cookie Header Decoder in 3 Steps
Paste cookie headers or open HAR
Paste response headers from DevTools or curl -I, a document.cookie string, or open a .har network capture file.
Inspect decoded values and warnings
Check each cookie card for URL, Base64, or JWT payloads, expiry timestamps, attribute chips, and browser rejection warnings.
Test cross-site rules and export
Toggle Judge for in Settings to simulate same-site versus cross-site requests. Export the audit report as Markdown, JSON, or CSV.
Cookie Header Decoder: Frequently Asked Questions
Which RFC 6265bis and browser rules are checked?
It checks SameSite=None without Secure, __Host- and __Secure- prefixes, 4,096-byte size limits, Chrome 400-day expiry caps, Partitioned rules, and missing HttpOnly flags.
How does automatic cookie value decoding work?
The parser URL-decodes percent-encoded strings, expands valid Base64 text, and decodes JWT headers and payloads. Verify JWT signatures in the JWT Builder & Verifier.
How do Max-Age and Expires differ?
Max-Age sets lifetime in seconds from now and overrides Expires when both exist. Omitting both creates a session cookie that clears on browser exit.
What does the Partitioned attribute do?
Partitioned enables CHIPS storage keyed by the top-level site. Browsers require Secure alongside it so embedded widgets keep isolated cross-site state.
Can I audit cookies from a HAR file?
Yes. Open any .har archive to extract and inspect every request cookie and response set-cookie header grouped by URL.
Is my input uploaded to a server?
No. Every calculation and parser runs locally inside your browser tab. Your code, secrets, cookies, and files never leave your device.
Explore All Dev Tools
Format, minify, inspect, and validate code and developer payloads locally.