In short
Ahrefs flags "Page size exceeds 2 MB crawl limit" when a page's HTML is larger than 2 MB. Googlebot crawls only the first 2 MB of a page's uncompressed HTML and indexes only that part. AI crawlers don't publish their limits, so a page this large risks losing content with them too. Shrink the HTML by moving inline data, images and scripts out, and splitting very long pages.
Crawlers don't read pages of unlimited size. Past a certain point, they stop and work with what they've got.
How this differs from "HTML file size too large"
That Usability issue warns about heavy pages in general, at a lower threshold. This one marks pages past the hard limit where content may actually be cut off. Treat it as the more urgent of the two.
What usually pushes pages past 2 MB
| Cause | Fix |
|---|---|
| Images embedded as base64 | Serve images as separate files |
| Large inline JSON from a JavaScript framework | Send only the fields the page shows |
| Huge inline SVGs or CSS | Move to external files |
| Very long lists (all products, all posts, comments) | Paginate |
| Page builders nesting many wrappers | Simplify the layout |
Free SEO audit
Not sure which issues matter on your site?
I'll review your site and send you the fixes that matter most, in plain English.
How to check the size
In Chrome DevTools > Network, select the document row and read the uncompressed resource size. Or from a terminal:
curl -s https://example.com/page/ | wc -c
That prints the size in bytes. Over 2,097,152 means the page is past 2 MB.
Platform tips
WordPress: check page builders and plugins that inline CSS or data. Paginate long comment threads in Settings > Discussion.
Shopify: lower the products per page on collections, and look for apps that inject large inline scripts.
Webflow and Wix: split very long pages and use pagination on Collection or list elements.
Custom builds: prerender lean HTML, keep page data small, and put the main content near the top of the document so it's never past the cut-off.
Common mistakes
Counting compressed size. The 2 MB limit applies to the uncompressed HTML.
Putting key text at the end of a very long page.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, Googlebot (updated Feb 3, 2026)
Ahrefs Blog, AI Discoverability, Page types, and more (September 2026) (Oct 28, 2026)

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



