Cookie Size Checker

Inspect Cookie / Set-Cookie attributes and consistency in your browser. No input is sent to a server. Use it for first-pass operational troubleshooting.

Status

Runs in your browser. No input is sent to a server. Use this as a first-pass diagnostic step.

How to use

Paste a Cookie header or cookie string and click “Parse”. Size breakdown is shown.

Notes (this tool)

  • This is an estimate. Actual limits depend on servers/proxies.

About this page

What does this tool do?

Paste a Cookie header (or cookie string) to estimate total size and per-cookie sizes.

Useful for diagnosing “header too large” or dropped request issues.

Typical use cases

  • Check whether cookies are bloated
  • Understand total cookie size across multiple keys
  • Assess risk of server/proxy header limits

Guidance and notes

  • Limits vary by browser/server/proxy
  • This tool estimates byte size of the input string
  • Storage limits for Set-Cookie are separate

What this tool does

  • Estimate total Cookie header size
  • Per-cookie size breakdown
  • Basic duplicate-name detection

Debugging workflow (recommended)

  • Paste Cookie or Set-Cookie values
  • Review attributes such as Secure, HttpOnly, and SameSite
  • Check Domain and Path conflicts with related tools

Operational notes

  • Behavior can vary with browser implementation differences and default changes.
  • Duplicate cookie names and Path or Domain differences often cause operational issues.

Referenced specs

  • RFC 6265 (HTTP Cookies)

FAQ

Is there a practical cookie size guideline?

It depends on environment, but keeping each cookie small and monitoring total size is safer.

What should be reduced when size is too large?

First remove unnecessary tracking/state cookies, then move bulky state to server-side sessions if needed.

References

  1. RFC 6265 (HTTP Cookies)
  2. MDN: Cookie

These links are generated from site_map rules in recommended diagnostic order.

  1. How to Diagnose Set-Cookie Not Persisting — Isolate cookie persistence failures by checking Domain/Path/Secure/SameSite in order
  2. How to Diagnose Same-Name Cookie Collisions — Resolve unstable behavior by tracing same-name cookie path/domain variants, overwrite order, and send collisions
  3. Cookie Incident Operational Checklist — Standardize response from triage to permanent fixes across storage failures, OAuth return issues, and same-name collisions
  4. How to choose cookie tools — Route Set-Cookie, Domain-Path, SameSite, conflict, and size checks by symptom
  5. Cookie Domain/Path Matcher — Evaluate cookie send conditions by Domain/Path/Secure
  6. Cookie Parser — Split Cookie headers into key=value pairs
  7. SameSite Cookie Simulator — Simulate cookie send behavior from SameSite and request context
  8. HTTP Header Parser — Parse raw headers into structured lists

Response Header Diagnostics

Step through raw headers to inspect Retry-After, Server-Timing, Link, and Content-Type

Example

Cookie: sid=abc; theme=dark; lang=en