What is a good text to HTML ratio?
Most well-built content pages have a ratio between 15% and 70%. Below about 10%, the page is mostly code, which often means bloated inline scripts, page builders or very little real content. The ratio itself isn't a ranking factor, but its usual causes, slow pages and thin content, do affect rankings.
How to use the Text to HTML Ratio Checker
- Enter the page URL.
- Run the checker.
- Read the ratio, word count and code breakdown.
- Move inline code to external files and add useful content where it's thin.
Why it matters for SEO
- Spot thin pages with too little real content.
- Find bloated HTML that slows mobile loading.
- Compare your page's content depth with competitors.
- Check the impact of page builders and plugins.
Key facts
- Counts only visible text, not scripts, styles or comments.
- Measures inline script and style weight separately.
- Flags HTML over 300 KB.
- Reads the server HTML that crawlers receive.
Text to HTML Ratio Checker FAQ
Is text to HTML ratio a Google ranking factor?
No, Google has said it isn't. It's a useful diagnostic for page bloat and thin content, which do matter.
How do I improve my ratio?
Move inline JavaScript and CSS into external files, remove unused markup, and add genuinely useful text.
Why is my ratio low on a single-page app?
The server HTML may hold mostly scripts with content added by JavaScript. Check it with our JavaScript SEO Checker.
How many words should a page have?
Enough to fully answer the searcher's question. Use competing top results as a guide rather than a fixed number.