What is code-to-text ratio?
In basic terms, this is a measurement of the amount of code programmed on a page versus the text content on said page. When more code is on the page, the search engine ‘spiders’ are less likely to pick up the text, which means that your text and messaging is lost in the code.
In even more basic terms, it allows search engines to determine the relevancy of a web page. A lower code-to-text ratio gives you a better ranking for your page. (This is what you want.)
SEOChat offers a Code to Text Ratio tool for your search engine optimisation strategy. All you need to do is type in the valid URL that you are looking at, and then the tool will calculate the percentage of text in a web page compared to HTML code.
For example, I typed in the address http://www.roi.com.au into the tool and it gave me these results:
The code size for this page (33 KB) is bigger than the text size (5 KB.) Our Code to Text Ratio for our homepage is 13.78%. So great… but what does this all mean?
Does size matter?
Some SEO experts claim that 20-30% is the optimal code to text ratio, but others claim that the ratio is subjective and there’s no proof that it actually aids rankings. Other limitations of the tool are that not all search engines are using the code to text ratio in their index algorithm, and that Google ignores content beyond the first 100 KB, so larger pages could benefit from a higher text ratio.
SEOChat’s Code-to-Text Ratio tool is a good way to calculate the relevancy of your web page but it should never be used in isolation. If you’re already implementing good coding techniques, then there’s little need to bother with this tool.