HTTP Cookie Parser
LiveHTTP Cookie Parser breaks a Cookie or Set-Cookie header into its parts and checks it for common mistakes.
Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.
HTTP Cookie Parser breaks a Cookie or Set-Cookie header into its parts and checks it for common mistakes.
Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.
HTTP Cookie Parser breaks a Cookie or Set-Cookie header into its parts and checks it for common mistakes. The warnings cover common rules (SameSite=None needs Secure, __Host- and __Secure- prefixes, invalid dates and Max-Age) but cannot know your site. Session cookie values are sensitive, so do not share them.
Copy the header from your browser developer tools, with or without the Cookie: or Set-Cookie: label.
Paste a Cookie header to see each name and value (percent-encoded values are decoded alongside), or paste one or more Set-Cookie headers to see the domain, path, expiry, Max-Age, Secure, HttpOnly, SameSite and whether it is a session cookie.
Warnings point out common mistakes, such as SameSite=None without Secure or a __Host- cookie with a Domain.
Set-Cookie parsing was compared with Python's http.cookies module on 150 random sets of headers (random attribute case, order and combinations, dates, Max-Age values, prefixes) and expiry dates with Python's email.utils. Warning rules were checked for every case. Cookie header parsing was checked with encoded, empty, quoted and base64-style values.
Only the common attributes are checked: Domain, Path, Expires, Max-Age, Secure, HttpOnly, SameSite, Partitioned and Priority. Whether a browser accepts a cookie also depends on the site it comes from, which cannot be known here. Treat session cookie values as passwords and do not share them.
The Secure flag. Browsers reject it without.
One with no Expires or Max-Age; the browser deletes it when it closes.
No. They are processed in your browser.
HTTP Cookie Parser breaks a Cookie or Set-Cookie header into its parts and checks it for common mistakes. The warnings cover common rules (SameSite=None needs Secure, __Host- and __Secure- prefixes, invalid dates and Max-Age) but cannot know your site. Session cookie values are sensitive, so do not share them.
The text of a Cookie header, or one or more Set-Cookie headers.
Your headers stay in your browser and are not uploaded.
Yes, MyToolDock HTTP Cookie Parser is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.
More in Developer Tools · Browse all tools