What is Code To Text Ratio?
The Code to Text Ratio refers to the percentage of visible text compared to the total amount of code on a given web page.
In other words, it is a measure of the amount of text content relative to the HTML code that is used to structure and display this content on the page.
Many SEOs believe that it is one of the many factors for evaluating website optimization. Higher text-to-code ratios may indicate a more content-focused site, which could be beneficial for search engine rankings.
Google’s John Mueller has openly refuted this idea in this video.