HTML Size and Resource Reference Checker
Measure the returned HTML document and inventory the scripts, stylesheets, images, fonts, iframes, videos, and other references found in source. Use it to spot bloated templates before deeper browser-based testing.
Check HTML Size and Resource References
About the HTML Size and Resource Reference Checker
This tool fetches any public webpage and reviews the returned HTML document size plus the resource references visible in source. It is designed to help you diagnose heavy templates, markup bloat, and asset sprawl before you move on to browser waterfalls, Core Web Vitals testing, or runtime profiling.
Privacy note:This server-side check fetches only the public URL you enter. It does not download every asset file and does not use private Search Console, Analytics, ranking, or backlink data.
Measures the returned HTML document size with category assessment (Excellent, Good, Fair, or Large).
Counts image references found in the returned HTML and flags pages that may need image review.
Counts external files and inline blocks referenced in source, including defer/async attributes on scripts.
Why HTML Size and Resource References Matter
These checks help you diagnose templates that may be heavier or more complex than they need to be:
- Browser performance — Heavier HTML and many referenced assets can make it harder to deliver strong LCP, INP, and CLS results in real browser tests, even though this tool does not measure those metrics directly.
- Crawl efficiency — Bloated templates can waste crawler time and make large sites harder to recrawl efficiently.
- Page load behavior — Large HTML documents take longer to download and parse, and many referenced resources usually mean more requests and more browser work.
What Affects Page Size?
| Resource | Typical Impact | Optimization Strategy |
|---|---|---|
| Images | Referenced image count in returned HTML | Confirm transfer size in DevTools, then use WebP/AVIF, lazy loading, and responsive sizes where appropriate |
| JavaScript | External and inline script references found in source | Confirm runtime cost, then defer/async, code split, or remove unused code |
| CSS | Stylesheet references and inline style blocks found in source | Minify, inline only critical CSS, and remove unused rules after coverage testing |
| Fonts | Preloaded or Google Font references visible in source | Subset, self-host when useful, and use font-display: swap |
| Third-party code | Referenced third-party scripts, frames, or resources visible in source | Audit regularly and replace heavy widgets with lightweight alternatives when confirmed |
Best Practices for Optimal Page Size
- Keep HTML under 100KB — Minify HTML, remove unnecessary comments and whitespace.
- Use next-gen image formats — WebP and AVIF often reduce image transfer size compared with JPEG, but confirm savings on your own images.
- Lazy load everything below the fold — Use
loading="lazy"on images, iframes, and videos. - Bundle and minify CSS/JS — Consolidate files and minimize their size.
- Use defer for non-critical JS — Move render-blocking scripts to load after the page renders.
- Limit web fonts — No more than 2-3 font families with font-display: swap.
- Remove unused CSS and JS — Use browser coverage tools or bundle analysis to confirm what can be trimmed.
- Enable compression — Gzip or Brotli compress HTML, CSS, and JS by 60-80%.
Frequently Asked Questions
Reviewed Jun 2026 · Sources and limitations
Review details: 2026-06-11 · Marc LaClear · v1.1
Reference sources:
- Google Search Central documentation
- Google Search Central crawling and indexing docs
- Google structured data guidelines
- Schema.org vocabulary
- MDN Web Docs for HTTP and HTML references
Known limits:
- Checks are based on publicly fetchable HTML, response headers, and browser-side input. They do not use private Google Search Console, analytics, or ranking data.
- Scores and warnings are diagnostic aids, not guarantees of ranking improvement or Google indexation.
- Pages blocked by robots.txt, login walls, bot protection, heavy JavaScript, or network timeouts may return incomplete results.
- Validate critical fixes with official Google tools such as Search Console, Rich Results Test, Lighthouse, and your own crawl data.