Code to Text Ratio Checker

Measure the ratio of visible text to HTML code on a page.

Verified working · 16 hours ago Free No sign-up On-page SEO
Running the check…

Enter a URL


Marketing Automation - New e-commerce features

How to use the Code to Text Ratio Checker

  1. 1

    Enter the page URL.

  2. 2

    Run the check.

  3. 3

    Compare the text size, HTML size and ratio.

About the Code to Text Ratio Checker

The Code to Text Ratio Checker compares the size of a page's readable text with the total size of its HTML. A very low ratio can point to bloated markup, heavy inline scripts or thin content.

Last updated

Frequently asked questions

What ratio is good?
Most content pages fall between 10 % and 40 %. It is a diagnostic, not a ranking factor.
How can I improve it?
Move inline CSS/JS to files, remove unused markup and make sure the page has substantial content.
Does it count images?
No, only the HTML document itself.