Dev

Cookie Header Decoder

Decode Set-Cookie, Cookie, and HAR headers to inspect attributes, expiry dates, and RFC 6265bis browser rejection warnings.

Paste a Set-Cookie or Cookie header
Headers -
or drop a file here
Cookies -
Decoded cookies, attributes and warnings appear here
Settings Same-site request · https page · decode values
How It Works

How to Use Cookie Header Decoder in 3 Steps

1

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.

2

Inspect decoded values and warnings

Check each cookie card for URL, Base64, or JWT payloads, expiry timestamps, attribute chips, and browser rejection warnings.

3

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.

FAQ

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.

Toolity Dev

Explore All Dev Tools

Format, minify, inspect, and validate code and developer payloads locally.

Copied to clipboard