In short
Semrush flags "Pages have too large HTML size" when a page's HTML is over 2 MB. Googlebot reads only about the first 2 MB of an HTML file, so content past that point may not be indexed, and big HTML is slow to load. Find what's inflating the file and move it out of the HTML.
Most pages are well under 2 MB of HTML. When one isn't, something is usually being inlined that shouldn't be.
Common causes
| Cause | Fix |
|---|---|
| Images embedded as base64 | Serve them as image files |
| Large inline JSON (app state, product data) | Send only what the page needs |
| Inline SVG icon sets repeated per item | Use a sprite or external files |
| Huge product or post lists on one page | Paginate |
| Page builder wrappers nested many levels deep | Simplify the layout |
How to find the cause
Save the page source (Ctrl+U, then save) and look for the longest lines or blocks. Search for base64, and <script tags with large data.
WordPress: page builders and "inline critical CSS" settings are common causes. Shopify: apps that inject inline JSON per product. Webflow and Wix: very long pages with many sections. Custom builds: check server-side rendered state in frameworks like Next.js or Nuxt.
This guide isn't affiliated with or endorsed by Semrush.
Related issues
Sources and references
Semrush Knowledge Base, What Issues Can Site Audit Identify?
Google Search Central, Googlebot

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.



