Text-to-HTML Ratio Checker
Find out how much of your page is content versus template — text size, markup weight and script share, scored instantly in your browser.
What this tool gives you
Measure text vs. markup
Paste a full HTML page. Analysis runs locally in your browser — nothing is sent anywhere.
Scripts, styles and comments are excluded from the text side, so the ratio shows what a crawler actually reads.
What this checker looks for
The text-to-HTML ratio reflects how much a page is content versus template. Engines rank and quote what they can read.
Health range
10–70% text is the usual sweet spot.
Thin templates
Under 5% means a shell with almost no substance.
Visible words
300+ readable words let engines extract an answer.
Script weight
Too much JavaScript hides content from crawlers.
Byte size
Bigger pages still compress well — small text is the real issue.
Clean copy
Real visible text beats text hidden in scripts or images.
How to use the checker
Paste a whole page so the markup share reflects the real template.
Paste the page
View source and copy the full rendered HTML — head, body, scripts and all.
Read the split
The ratio bar shows text versus markup, and each check explains what to fix.
Add real content
Write more visible copy, trim wrapper divs and move key text out of scripts.
What each ratio range means
Interpret the number before chasing it — the goal is readable substance, not a perfect percentage.
| Ratio | Reading | Next step |
|---|---|---|
| Under 5% | Template shell — almost no visible text. | Add real copy to every region of the template. |
| 5–10% | Markup-heavy; content is buried. | Trim wrapper divs and rewrite thin sections. |
| 10–70% | Healthy range — content carries the page. | Keep adding useful, structured copy. |
| Over 70% | Usually plain text or a fragment paste. | Check you pasted the full rendered page, not notes. |
Related GEO pages
Balance the template, then verify length, structure and readable copy.
Text-to-HTML Ratio FAQs
What is the text-to-HTML ratio?
It is the share of a page's bytes that are visible text compared with markup like tags, attributes, scripts and styles. A page full of wrapper divs has a low ratio; a page with heavy, real copy has a high one.
What is a good text-to-HTML ratio?
Most SEO tools treat 10–70% as a healthy range. Below 5% the page is a template shell with almost no content, while ratios over 85% usually mean you pasted plain text instead of a rendered page.
Does the ratio directly affect rankings?
It is not a confirmed ranking factor by itself, but it is a useful proxy: pages with real visible text tend to rank and get quoted, while script-heavy or template-heavy pages have little for engines to read and cite.