How it is calculated
The checker downloads the HTML, removes scripts, styles and markup, and divides the size of the remaining visible text by the size of the full HTML document.
| Ratio | Verdict |
|---|---|
| 25 % or more | Good — plenty of content relative to code |
| 10–25 % | Average — common for pages with large menus or scripts |
| Below 10 % | Low — thin content or bloated markup |
Improving a low ratio
- Add genuinely useful text that answers the visitor's question.
- Move inline CSS and JavaScript into external, cached files.
- Remove unused markup, comments and hidden elements.
The ratio is a diagnostic, not a ranking factor. Check content depth with the Word Counter and code weight with the Page Size Checker.
Frequently asked questions
Is text-to-HTML ratio a Google ranking factor?
No. It is a useful signal for thin content and code bloat, which can affect rankings indirectly.
What is a good text-to-HTML ratio?
Around 25 % or more is healthy for content pages. Apps and image-heavy pages are naturally lower.
Are scripts included in the HTML size?
Yes, inline scripts and styles count toward the HTML size; external files do not.

