Cookie Redactor & Size Checker
runs in your browserno sign-upfree
Hide login and session cookies before sharing a Cookie header — every byte count stays the same — and see which cookies make the header too large.
4 of 10 cookies hidden · size unchanged (559 bytes)
- Cookies
- 10
- 4 hidden
- Header size
- 567 B
- 567 bytes
- Largest cookie
- 103 B
- wordpress_logged_in_5c1f0a
- Server limit used
- 7%
- of the usual 8 KB
Cookies, largest first
| Hide | Name | Size | Share of header | Why hidden |
|---|---|---|---|---|
| wordpress_logged_in_5c1f0a | 103 B | 18% | name contains “wordpress_logged_in” | |
| wordpress_sec_5c1f0a | 97 B | 17% | name contains “wordpress_sec” | |
| wfwaf-authcookie-3b9d2f | 96 B | 17% | name contains “wfwaf-authcookie” | |
| wp-settings-7 | 56 B | 10% | — | |
| _ga_ABC123 | 48 B | 8% | — | |
| PHPSESSID | 36 B | 6% | name contains “phpsessid” | |
| cookielawinfo-checkbox-analytics | 36 B | 6% | — | |
| _ga | 30 B | 5% | — | |
| wp-settings-time-7 | 29 B | 5% | — | |
| theme | 10 B | 2% | — |
Which cookies are hidden automatically?
Any cookie whose name contains one of these (ignoring case). Untick a cookie in the table above to keep it, or tick one to hide it.
wordpress_logged_in— WordPress loginwordpress_sec— WordPress admin loginwfwaf-authcookie— Wordfence firewallwp_woocommerce_session— WooCommerce sessionphpsessid— PHP sessionjsessionid— Java sessionasp.net_sessionid— ASP.NET session.aspnetcore.— ASP.NET Core cookies.aspxauth— ASP.NET loginconnect.sid— Node.js (Express) sessionlaravel_session— Laravel sessionxsrf— XSRF tokens (Laravel, Angular…)csrf— CSRF tokens (Django…)session— Any “session” cookie (Django sessionid, Rails _app_session…)sess— Short session namesauth— Any “auth” cookietoken— Any “token” cookie (access_token, refresh_token…)jwt— JSON Web Tokenslogin— Login cookiesremember— “Remember me” cookiessecret— Anything called secretapikey— API keysapi_key— API keyssid— Session IDs (sid, ssid…)cf_clearance— Cloudflare challenge pass__secure-— Cookies with the __Secure- prefix__host-— Cookies with the __Host- prefix
About this tool
Support teams often ask for your Cookie header when a site shows “400 Bad Request – Request Header Or Cookie Too Large” or “431 Request Header Fields Too Large”. Sending it as it is would hand over your logged-in session. Cookie Redactor hides the values of login, session and security cookies — WordPress, Wordfence, WooCommerce, PHP, Laravel, Django, ASP.NET, Java, Node and more — with x’s of exactly the same byte length, so the header is just as large and the problem can still be diagnosed. It also shows how big the header is and which cookies take up the most space.
How to use
- In your browser, open DevTools (F12) → Network, click a request to the site, and copy the Cookie request header (or all request headers, or the request as curl).
- Paste it here. Session and login cookies are hidden straight away; the layout and size stay identical.
- Check the table: tick any other cookie you want hidden, or untick one to keep it.
- Copy the safe version and send it — and use the size figures to find the cookies that make the header too large.
FAQ
Is it safe to paste my cookies here?
Yes. Everything happens in your browser: nothing is uploaded, and what you paste is not saved, not even in this browser. Still, close the tab when you’re done, and log out and back in if you think a session cookie was shared by mistake.
Why keep the same length instead of writing [REDACTED]?
Header-size problems depend on the exact number of bytes. With x’s of the same length the redacted header is exactly as large as the real one, so whoever helps you sees the true size. “Keep first & last 4” also keeps the size while showing enough to tell similar cookies apart; [REDACTED] is shorter and changes the size.
How large can a Cookie header be?
Apache refuses header lines over 8,190 bytes by default (LimitRequestFieldSize), and nginx needs each header to fit its 8 KB buffer (large_client_header_buffers) — beyond that you get a 400 or 431 error. Browsers should store cookies of at least 4,096 bytes each. Plugins that add many or large cookies are the usual cause.
What else can I paste?
A plain cookie string (name=value; name2=value2), a Cookie: or Set-Cookie: header, all request headers copied from DevTools, or a curl command with -H "Cookie: …" or -b. Authorization, X-API-Key and similar headers are hidden too, keeping the Bearer or Basic word.