What the tool measures
Post a URL and the server fetches it once, hopping through at most five redirects under a 15 second cutoff. It then reports three byte counts: the HTML size, taken as the length of the downloaded body; a headers size, built from the status line plus every header name, value and line ending; and a total that adds those two together. Each is shown in bytes plus a kilobyte figure rounded to two decimals, alongside the status code and the content type.
A worked example
For a document whose body comes back at 12345 bytes with header values totalling 210 bytes, the page prints HTML Size as 12,345 bytes (12.06 KB), Headers Size as 210 bytes, and Total Size as 12,555 bytes (12.26 KB). If the fetch fails or the address is blocked, no size is shown at all; the tool replies with a Could not fetch URL error naming the reason.
How the header figure is formed
The header figure starts with the status line, then adds each header name, a colon and space, its value and the CRLF ending, counting repeated headers separately. That matches the bytes sent before the body, though HTTP\/2 header compression can still make the real wire cost smaller.
Where it stops
- It weighs only the HTML document, never the images, stylesheets or scripts, so it is not full page weight.
- A body over 5 megabytes is cut at that cap and reported short of the real length, with an amber warning above the figures.
- Header compression on HTTP\/2 is not modelled, so the header figure can differ from what a given network actually transfers.
- The body length is measured after any transfer decoding, so it is not the compressed wire size.
Questions people ask
Is this the size visitors download?
No. It covers one document from one request; the rest of the page resources are not counted.
Why is my total smaller than the network tab?
The body is counted after transfer decoding and HTTP\/2 header compression is ignored, so the total can sit either side of what the browser reports.
Website Speed Test, Image Compressor and Gzip Compressor cut the bytes this checker reports.