HTTP Cookie Size Budget Calculator
NetworkParse a Cookie request header's name=value pairs and compute each cookie's serialized byte size and the total header size, flagging any cookie over RFC 6265's 4096-byte per-cookie guarantee and the total against a configurable budget.
Paste a Cookie header value (the name=value pairs a browser sends on every request to a domain) and see each cookie's exact byte size alongside the total header size. Every cookie is measured as the UTF-8 byte length of its name=value pair, matching how RFC 6265 defines the minimum 4096 bytes browsers must support per cookie, and the total adds the "; " separators so it reflects what actually goes over the wire. A configurable budget, 4096 bytes by default, flags when the accumulated cookies for a domain are creeping toward limits that vary by browser, server, and proxy. It checks the header text you give it, not a live request, so it won't catch cookies set by JavaScript after the page loads.
How to use HTTP Cookie Size Budget Calculator
- 1.Paste a Cookie header value, either one you copied from browser dev tools or one you're constructing by hand.
- 2.Optionally adjust the total byte budget; it defaults to 4096, a conservative guideline for keeping the whole header well under typical server and proxy limits.
- 3.Review the per-cookie byte sizes and the total, and address any cookie flagged as exceeding the 4096-byte per-cookie guarantee or a total over budget.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/cookie-size-budget-calculator \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"cookieHeader":"session=abc123; theme=dark","budgetBytes":4096}'Get an API key from your dashboard · Full API docs →