HTML Size Checker
Check if your page's HTML exceeds Google's 2 MB crawl processing limit. Google can download up to 15 MB but only indexes the first 2 MB of uncompressed HTML.
What is Google's 2 MB HTML Limit?
Google can download files up to 15 MB, but it only processes the first 2 MB of uncompressed HTML for indexing. Content beyond the 2 MB boundary may be ignored entirely — meaning important text, links, and structured data could be invisible to Google's index.
Why JavaScript Makes This Worse
If your site relies on client-side JavaScript to render content, the initial HTML document is often just a shell with <script> tags. Google will first download this HTML, then separately render the JavaScript. But some AI search engines (like Perplexity) don't render JavaScript at all — they only see the raw HTML.
How to Reduce HTML Size
- 1. Move inline CSS/JS to external files — Large inline styles and scripts bloat the HTML document
- 2. Paginate long content — Break extremely long articles into multiple pages
- 3. Remove unnecessary HTML comments — CMS-generated comments can add kilobytes
- 4. Use server-side rendering — Ensure critical content is in the HTML, not loaded via JS