Skip to content
Speed and performance · free, no sign-up

HTML Page Size Checker

Measures the size of a page's HTML, without images or other files.

Why it matters

The HTML has to arrive before anything else can start. Large HTML often means inline scripts or data that the browser downloads again on every page, as it can't be cached separately.

How to fix it

  • Move inline CSS and JavaScript into separate files.
  • Remove large data blocks and comments from the HTML.
  • Split very long pages.

What a good result looks like

HTML of up to 200 KB. Over 1 MB is very large, and Google only indexes the first 2 MB of an HTML file.

Common mistakes

  • Embedding images as base64 inside the HTML.
  • Putting large scripts and styles inline, where they can't be cached.
  • Shipping a big block of page data along with the page.

Questions about the HTML Page Size Checker

Is this the same as total page size?

No. This is only the HTML document, not its images, styles or scripts. The speed test shows the whole picture.

Does compression change the verdict?

We judge the uncompressed size, since the browser must still process all of it. The compression tool shows how much smaller it travels.

Check everything at once

Run our other instant checks on your site in one report.

Full SEO check-up

More speed and performance tools