← SEO Tools Hub FREE SEO TOOL

Page Size, Compression and Text-to-Code Ratio Test

Measure HTML size, gzip/Brotli compression, text-to-code ratio and page structure counts.

SIZE & COMPRESSION

Enter the page URL

TOOL GUIDE

What is the Page Size & Compression Test?

This tool downloads a page’s HTML document and measures its size, whether the server uses compression, the text-to-code ratio and the number of scripts, styles and images. The size of CSS, JS and image files themselves is not measured; the measurement covers the HTML document.

✓

See whether the server uses gzip or Brotli compression.

✓

Measure the text-to-code ratio and inline script and style weight.

✓

Know where to start with slow-loading pages.

HOW TO USE

Get started in 3 steps.

1

Enter the address of the page to test.

2

Press the Measure button.

3

Review the size, compression and structure findings.

FREQUENTLY ASKED QUESTIONS

Common questions about the Page Size & Compression Test.

Does the text-to-code ratio matter for SEO?+
Google does not say it uses it as a ranking factor. The ratio is a helpful indicator of how bloated a page’s HTML is.
Does this tool measure total page size?+
No. It only measures the HTML document. For the total weight of images, CSS and JavaScript, use Core Web Vitals / PageSpeed measurements.
What if compression is off?+
Enabling gzip or Brotli on the server or CDN noticeably reduces the transfer size of text-based files.
How is the estimated gzip size calculated?+
If the server already compresses, the real method is shown. We also compress the HTML with gzip level 6 to estimate the potential saving.