Start a project

Tool 396 of 425 · HTTP

Cookie Size Budget

Sizes every cookie and the whole Cookie header, flags limits that cause 400 or 431 errors, and estimates bytes uploaded per page.

Cookie Size Budget

Your input

Result

CookieBytesShareStatus

    01

    What it does

    Sizes every cookie and the whole Cookie header, flags limits that cause 400 or 431 errors, and estimates bytes uploaded per page.

    • Paste a Cookie header or Set-Cookie lines
    • 4 KB per-cookie limit
    • nginx and Apache header limits
    • Upload overhead per page view

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    A cookie-by-cookie size table, with a Copy and a Download button on every result.

    • Cookies
    • Header size
    • HTTP 431

    Why it matters

    Cookies are sent with every request to your domain, images and scripts included. Bloated analytics and A/B testing cookies slow pages and eventually trigger '400 Request Header Too Large'.

    This tool shows which cookies are the problem and how close you are to the limits.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Measure cookies. Results also update as you type.
    3. Read the summary line, then the table, notes or output below it.
    4. Copy or download what you need. Nothing leaves this page.

    FAQ

    Where do I get my Cookie header?

    DevTools > Network, click any request to your site and copy the Cookie request header.

    Is my input uploaded?

    No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

    Can I rely on the result?

    It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk