Enter a URL
The Code to Text Ratio Checker compares the amount of visible text on a web page with the size of its HTML code. Enter a URL to see the page size, the text size and the percentage of the page that is readable content.

A very low ratio usually means a page is heavy on markup, scripts and styles but light on useful content. That can point to thin pages, bloated templates, or content that only appears after JavaScript runs.
There is no official target, and Google does not use code-to-text ratio as a direct ranking factor. Use it as a diagnostic. Many content pages fall somewhere between 10% and 50%. A figure in the low single digits on an article or tool page is worth a closer look: check whether the page has enough original content for visitors, and whether the template is loading large amounts of unused code.
Check a few page types rather than just the homepage: a product or tool page, a blog article and a category page. Template problems usually show up as the same low ratio across every page of one type. Fix the template once and every page improves. Then focus on pages that matter most for search traffic, and make sure each one answers the visitor's question clearly and completely.
Not directly. It is a useful signal for spotting thin or bloated pages, which can affect user experience and quality.
It varies by page type. Focus on whether the page has enough helpful content rather than on a specific number.
No. It measures visible text compared with the HTML source, not images or other media.
Last updated: