Very heavy HTML document
HTML documents larger than 1.5 MB, and those over 2 MB, where the crawl stops reading, as Googlebot does. Googlebot reads the first 2 MB of an HTML file, uncompressed, and indexes only that, Google says; what comes after is not seen. The HTML is also downloaded before anything else on every visit. Very heavy documents usually carry inlined data or repeated markup that belongs elsewhere.
WarningPERF-004 · Performance · checked on every page
A very heavy HTML document: the 2 MB Googlebot reads, and what to move out
Updated 18 October 2026.
The HTML document is the first file of every page: the text and the markup, before any image, stylesheet or script. This check finds documents over 1.5 MB, and says when one is over 2 MB, the point where Googlebot stops reading.
What Google says (its Googlebot page):
- When crawling for Search, Googlebot reads the first 2 MB of a supported file, an HTML page among them; for a PDF, the first 64 MB.
- The limit is measured on the uncompressed file: a 400 KB download that unpacks to 2.5 MB is over it.
- At the limit Googlebot stops, and only what it downloaded is considered for indexing.
- Each stylesheet and script the HTML references is fetched on its own, under the same limit.
So past 2 MB the end of the page is not read: the last products of a long list, the text below a large inline block, the links in the footer. Under it, a heavy document still costs every visitor its download before anything appears.
What makes a document that heavy:
- Data for a script. A whole catalogue, or the page’s state for a JavaScript framework, printed into the HTML as JSON.
- Inline images and icons. SVG sprites or base64 images repeated in every page instead of files the browser caches.
- Long lists printed in full. Thousands of products, comments or table rows on one page.
Move the data and the images into files of their own, which the browser caches and Googlebot fetches separately, and split long lists into pages, or load the rest when it is asked for.
<script id="state" type="application/json">{"products":[ ... 4,000 items ... ]}</script>
-> /api/products?page=1, loaded by the scriptOurs, as it is. The heaviest trakis.io page we measured on 18 October 2026, the list of every check at /rules, is about 75 KB of HTML unpacked, under 4% of what Googlebot reads; the home page is about 27 KB.
Check it yourself. In the browser’s Network tab, select the first request, the document, and read its size: the resource size, unpacked, is the one Google’s limit is measured on, not the transferred size.
How the audit decides.
- It reads each page’s HTML up to 2 MB, as Googlebot does. A document between 1.5 and 2 MB is PERF-004, a warning, with its size.
- A document the audit had to cut at 2 MB is PERF-004 too, said to be over 2 MB, with the size the server declares when it declares one. Until 18 October 2026 such a page was reported at the size the audit stopped at, under 2 MB, whatever its real size.
- The evidence is the band, not the bytes, so an accepted finding comes back only when the page crosses into the other band.
Sources, read on 18 October 2026: Google Search Central, Googlebot.
How common it is
In our study of 330 small sites, read from Common Crawl’s October 2026 archive (up to 100 pages a site), 7.9% of them had this problem on one page or more.
Where it usually comes from
Pages that embed a whole product catalogue as JSON for a script, inline SVG sprites repeated on every page, or long lists rendered in full.
If your SEO tool says…
The same problem, under the names other tools give it. Where a tool draws its line elsewhere, the note says how:
- Semrush: “Size of HTML on a page is too large”. Over 2 MB; this check flags HTML over 1.5 MB. Semrush’s page.
Wording from each tool’s own documentation, read on 13 October 2026.
How to fix it
- Look for large inline scripts, JSON state or SVGs in the HTML.
- Move them to separate files that can be cached, or load them when needed.
- For long lists, show the first part and paginate or load the rest on request.
- Measure the document again after the change: the check passes below 1.5 MB.
How to check it yourself
Look at the size of the document request in the browser's Network tab — the first request, not the images.
What it looks like in a report
Warning The HTML document is over 2 MB. Googlebot reads the first 2 MB of a file and indexes only that. · /category/*
Category pages embed the whole product list as JSON for a script, and the products at the end of the list are past what Googlebot reads. (An example shop; the numbers are illustrative.)
How the audit counts it
PERF-004 is a warning in the performance category, and weighs moderately in that category’s score. When it appears on many pages built from the same template, the report shows it once, with the number of pages it covers — because one change in the template fixes all of them.
If the finding is deliberate on your site, it can be accepted as intentional in the report. It then leaves the list and the score, and comes back on its own if what it shows changes.
Other performance checks
- Images without declared dimensions · PERF-001
- Too many blocking resources in the head · PERF-002
- LCP above 2.5 s · PERF-003
- Layout shifts while loading (CLS) · PERF-005
- Slow response to clicks and taps (INP) · PERF-006
- Images heavier than 200 KB · PERF-007
Find it on your site
A free Trakis audit runs this check and the other 66 on your site, and tells you on how many pages each one sits. Or go back to all the rules.