Text to HTML Ratio Checker
Free text to HTML ratio checker: measure how much of a page is visible text and how much is code, with word count and the scripts and styles behind it.
- 100% free
- No sign-up
- Live data
Website Checkers
About the Text to HTML Ratio Checker
The text to HTML ratio is the share of a page’s code that is visible text people can read. A page with a ratio of 25% is a quarter text and three quarters markup, scripts and styles. This checker measures it on the live page.
It shows the full HTML size as served, the size of the visible text after scripts, styles and tags are removed, the word count and the ratio, plus the number of scripts, stylesheets, inline style blocks and images behind the result.
The ratio is not a Google ranking factor. It is a quick way to spot pages with very little content or very heavy templates.
How to use this tool
- 1Enter the address of the page.
- 2Click Measure Ratio.
- 3Read the ratio and the explanation.
- 4Check the word count and the code behind it.
Best-practice tips
- Do not add filler text just to raise the ratio. Add content that answers the reader’s question.
- Very low ratios often come from page builders, inline styles and large inline scripts.
- Compare similar page types: a product grid naturally has less text than an article.
What is a good text to HTML ratio?
There is no official target, and Google does not rank pages on this number. As a rough guide, many content pages sit somewhere between 15% and 70%. Below about 10%, the page is mostly code, which usually means either very little content or a heavy template.
Use the number as a prompt to look closer, not as a goal. If the content is thin, add useful text. If the code is heavy, trim it.
How to improve the ratio the right way
- Add real content where the page is thin: answers, examples, details.
- Move inline CSS and JavaScript into external files.
- Remove unused page-builder sections and widgets.
- Minify HTML with the HTML Minifier.
- Check the HTML weight with the Page Size Checker.
Answers
Text to HTML Ratio Checker FAQs
The percentage of a page’s HTML that is visible text. The rest is markup, scripts and styles.
No. Google has not used it as a ranking factor, but a very low ratio can point to thin content or bloated code.
There is no fixed target. Above about 10–15% is common for content pages; much lower is worth a look.
Yes, with no sign-up.
Related tools
Continue with these related website checkers.
SEO Score Checker
Free SEO score checker: get an SEO score out of 100 and an A–F grade for any page, from 18 weighted on-page checks, with a priority fix list.
Is Website Down Checker
Free website down checker: see if a website is down for everyone or just you. We test it from our server and from your browser, with status code and response time.
Website Speed Test
Free website speed test: measure server response time and page weight, see every request in load order and get a clear list of speed fixes.