Skip to content
OnlineToolStudio

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)

559 bytes
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

HideNameSizeShare of headerWhy hidden
wordpress_logged_in_5c1f0a103 B18%name contains “wordpress_logged_in”
wordpress_sec_5c1f0a97 B17%name contains “wordpress_sec”
wfwaf-authcookie-3b9d2f96 B17%name contains “wfwaf-authcookie”
wp-settings-756 B10%—
_ga_ABC12348 B8%—
PHPSESSID36 B6%name contains “phpsessid”
cookielawinfo-checkbox-analytics36 B6%—
_ga30 B5%—
wp-settings-time-729 B5%—
theme10 B2%—
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 login
  • wordpress_sec — WordPress admin login
  • wfwaf-authcookie — Wordfence firewall
  • wp_woocommerce_session — WooCommerce session
  • phpsessid — PHP session
  • jsessionid — Java session
  • asp.net_sessionid — ASP.NET session
  • .aspnetcore. — ASP.NET Core cookies
  • .aspxauth — ASP.NET login
  • connect.sid — Node.js (Express) session
  • laravel_session — Laravel session
  • xsrf — XSRF tokens (Laravel, Angular…)
  • csrf — CSRF tokens (Django…)
  • session — Any “session” cookie (Django sessionid, Rails _app_session…)
  • sess — Short session names
  • auth — Any “auth” cookie
  • token — Any “token” cookie (access_token, refresh_token…)
  • jwt — JSON Web Tokens
  • login — Login cookies
  • remember — “Remember me” cookies
  • secret — Anything called secret
  • apikey — API keys
  • api_key — API keys
  • sid — 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

  1. 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).
  2. Paste it here. Session and login cookies are hidden straight away; the layout and size stay identical.
  3. Check the table: tick any other cookie you want hidden, or untick one to keep it.
  4. 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.

Related tools

All tools