What Is the Ideal Webpage Size for SEO?
Google recommends keeping your HTML document under 100 KB uncompressed. This applies to the HTML source only, not counting external images, scripts, and stylesheets. The reason is straightforward: HTML is parsed by the browser before anything else can happen. A large HTML document delays every subsequent rendering step, worsening LCP, FCP, and TTFB all at once.
In practice, most well-optimised pages for competitive Google rankings sit between 30 KB and 80 KB of HTML. Pages bloated past 200 KB are typically suffering from large inline JavaScript blocks, server-side rendered JSON data embedded directly in the page, excessive inline CSS, large SVG icons, or repeated template markup. Use this webpage size checker to see exactly which category is adding the most weight to your page.
For total page weight including all resources (images, fonts, scripts), the HTTP Archive reports the median desktop web page weighs around 2.3 MB in 2024. Top-ranking pages on competitive Google searches consistently come in lighter. Aim for total page weight under 1 MB on desktop and under 500 KB on mobile.