Google SEO & Search Engine Marketing Services

Should You Worry About Your Code to Content Ratio?

There are a lot of small areas of search engine optimisation that when put together help create significant results. One of those areas is your content to code ratio, this relates to how much coding is on your web page in comparison to the meaty content.

If your unsure what your looking for here simply right click on your page and open up the source page. By simply skimming down your page you will be able to gain some idea about how much of it is code and how much is content. Try this little tool – to work out an estimate of your ratio.

Content to code ratio was an important aspect of SEO due to the fact that if your page was cluttered with unnecessary code some search engines will not have been able to read or get to all of the content on your page. Back in the day Google would only download around 100k of info, therefore any content beyond this would have been missed.

Now Matt Cutts at Google has confirmed Google can now download significantly more than this, is there a real need to worry about it when performing SEO? In my opinion, NO, I wouldn’t worry about it too much anymore. Search engines are now super advanced and will find that lovely content sitting on your site.

Now, even though I wouldn’t worry about it I would still implement some simple strategies to ensure your pages are as clean as possible.

1) Try not to have all your design elements on your page, create a separate CSS file to harbour all the design code, keeping your page as clean as possible. This is usually the main issue when thinking about content to code ratio.

2) Do the same again for any javaScript you may be using, create an external file to harbour the code.

3) If your page has little in terms of content and is filled with flash and java try beefing up your content. Create more keyword rich content, this is a great way to solve the problem as it allows you to target more keywords.

These are a few very basic ideas but I think the topic only needs the basics, there are far more pressing issues to address than content to code and at the end of the day sorting this will have a minimal effect on your campaign.

So in answer to the title of this post “should you worry about code to content ratio? The answer is NO, don’t worry but keep it in the back of your mind as it may be something to smooth over once in a while.

Short post today, if you have any questions regarding this topic let me know.


Line Break

Author: Tim (296 Articles)

is the owner and editor of SEO wizz and has been involved in the search engine marketing industry for over 9 years. He has worked with multiple businesses across many verticals, creating and implementing search marketing strategies for companies in the UK, US and across Europe. Tim is also the Director of Search at Branded3, a Digital Marketing & SEO Agency based in the UK.


{ 5 comments… read them below or add one }

Jason Cohen March 25, 2009 at 11:04 am

The site you reference has a little bug that readers will want to know about.

If you include the “http://” as part of the “URL” it will fail without any error message. It just does nothing.

Instead, provide the URL without the “http://” and it works.


Tim Grice March 25, 2009 at 11:17 am

Thanks for the spot Jason.

I linked it up from memory, thats what I get for not checking it, thanks again.


Allan Collins March 25, 2009 at 8:53 pm

Hi Tim,

Thanks for using our tool as a reference.

We have resolved the error with the http://.


Susan Petracco May 18, 2009 at 4:55 pm

Most articles on this now say it’s not important, but what they are addresses is code bloat. Thank you for actually pointing out that having too little content is much more of a problem than having too much code. That’s a point many authors seem to miss.


Tim Grice May 18, 2009 at 5:05 pm


Thanks for your comment

I personally believe code ratio is now outdated, however it is nice to keep your page clean to increase focus on your content.


Leave a Comment

Previous post:

Next post: