What is a Text to HTML Ratio?

Every website has a certain amount of backend code and a certain amount of regular text in the front-end. The text to HTML ratio refers to the amount of text on a web page versus the HTML code on the same web page.

What is the Ideal Text to HTML Ratio?

A good text to HTML ratio is anywhere from 25 to 70 percent. This percentage refers to the visible text ratio, as opposed to HTML elements, image tags and other non-visible information. You may notice that many high ranking websites in search results have visible text. This has become especially apparent since search engines, such as Google, released the Panda update which placed importance on content-driven sites.

How Does it Affect SEO?

The text to HTML ratio is not a direct ranking factor for search engines but there are many factors related to the ratio that indicate best SEO practices and thus may indirectly result in higher search rankings.

These related factors are:

The key to optimizing your web page is to build it focusing on user-experience. Follow these tips to optimize your page’s text to HTML ratio and increase user-experience: