Start a project

Tool 274 of 425 · HTTP

ETag and Range Explainer

Applies conditional and range request headers to an ETag and file size and gives the right status (200, 206, 304, 412 or 416) with the reasoning.

ETag and Range Explainer

Your input

Result

HeaderValueResult

    01

    What it does

    Applies conditional and range request headers to an ETag and file size and gives the right status (200, 206, 304, 412 or 416) with the reasoning.

    • Strong vs weak ETag comparison
    • If-Match and If-None-Match precedence
    • Range with If-Range
    • Content-Range for 206 and 416

    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

    Status code, reasoning and headers, with a Copy and a Download button on every result.

    • ETag
    • Range requests
    • Caching

    Why it matters

    Revalidation and resumable downloads depend on getting conditional requests exactly right. A weak ETag compared strongly, or If-Range ignored, means corrupted downloads or caches that never update.

    Enter an ETag, a file size and the request headers to see what a correct server does, step by step.

    How to use it

    1. Type or paste your input; the example shows the format.
    2. Press Evaluate. 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

    What makes an ETag weak?

    The W/ prefix. It promises the content is equivalent, not byte-identical, so it can be used for revalidation but not for ranges or If-Match.

    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