Anchor text (also called link text) is a visible and clickable piece of text that serves as a hyperlink from one page to another. It is usually distinguished from regular text by having a different color or an underline.
Here’s an example of what anchor text normally looks like in a blog post:
And here’s what the same anchor text looks like in the HTML code (the anchor text is in bold):
<a href="http://www.mangools.com/blog/content-hubs">content hubs</a>
Search engines like Google use anchor text to better understand the context of the linked web page.
Whenever a web crawler visits a website, it will scan all the links that lead to other pages and use their anchor texts as an indicator of their topics.
In other words, anchor texts can help search engines to better understand what the linked web pages are actually about.
The original paper of Google’s algorithm describes how Google treats links with anchor text:
“…we associate it (link text) with the page the link points to. This has several advantages. First, anchors often provide more accurate descriptions of web pages than the pages themselves.”
Let’s say that you wrote an article about various types of coffee machines on your website and other websites linking to that article are using anchor text such as:
In this case, Google will assume that your page has something to do with coffee machines. If this assumption matches Google’s findings based on the content of your article, then these anchor texts can help Google to rank your page for relevant search queries.
The same principle applies to internal links as well.
Or as John Mueller stated:
“If you’re updating anchor text internally to make it more easily understandable by users then usually that also helps search engines to better understand the context of those pages…”
Important note: Google determines the context of the link not only by anchor text itself but also by content that surrounds it.
Google’s patent from 2004 already stated:
“…it has been described that a window of text to the left of a link and a window of text to the right of the link may be analyzed to determine a context associated with the link.”
Google might use the anchor text of the link as a ranking signal for a webpage in certain search queries.
If many external websites are pointing to a webpage with an anchor text that contains a certain keyword, Google might assume that the webpage is of high quality and relevant. Therefore, it may rank higher for that keyword.
Or as Google’s patent indicates:
“…some ranking processes rank documents based on the number of links pointing to them, the ranks of the documents pointing to them, or the anchor text associated with the links pointing to them.”
Of course, you should not try to take advantage of this fact.
In the past, it was quite easy to abuse anchor texts as a way to improve the rankings – all you had to do was to stuff keywords into the links pointing to your site.
Fortunately, that changed in April 2012 – when Google released the Penguin algorithm. The update affected any website that used its focus key phrases in anchor texts aggressively.
Anchor text can be divided into various types based on its content:
Let’s take a closer look at each of them individually.
Exact-match or the partial-match anchor text contains the focus keyword (or its part) of the linked page.
This type of anchor text is the most SEO-friendly as it also includes the desired words the linked page tries to target.
Remember: You should be very careful if you try to manipulate the anchor texts to contain your important keywords – Google may detect it and penalize your website. Don’t forget that any type of unethical link building is against Google’s guidelines.
Branded anchor text contains the name of your brand or your domain.
Naked link anchor text is simply a full URL of your linked webpage.
This type of anchor text is generally not very user-friendly – although it might come in handy in some instances (e.g. as a reference/source at the end of the article).
Generic anchor text contains common, non-descriptive words or phrases.
If an image serves also as a link to another page, search engines will use its alt attribute as an anchor text.
As John Mueller stated:
Note: Besides the main anchor text types, there are many other variations and sub-types, such as:
Writing a proper link text is not so difficult. An important thing to remember is that anchor text should:
Let’s take a look at the best practices regarding the anchor text:
Concise and descriptive anchor text helps users to understand what the linked page is about.
Although there is no optimal length for the anchor text, it should provide precise information about the linked page just in a few words so the users (and search engines) can understand what it is about quickly.
“I don’t think we do anything special for the length of the words … you want to probably focus more on things like: how can you make it clearer for your users that when they click on this link, this is what they’ll find.”
You should always try to write the most accurate and concise anchor text by using relevant and descriptive words.
The anchor text in this example provides a concise and accurate description of the linked webpage and clearly indicates to the users what to expect when they click on the link.
Note: If the webpage contains 2 or more links leading to the same page using different anchors, Google might use only one anchor text for contextual information – or that’s how it was back in 2009 at least.
It is still not completely clear, however, if, when or which anchor text will be used by Google:
“… from our side, this isn’t something that we have defined … that’s something that our algorithms might choose to do one way or the other. So my recommendation there would be not to worry too much about this.” (John Mueller)
Providing an additional context around the anchor text gives users and search engines more useful information about the link.
As it was mentioned earlier, Google uses the text around the anchor to better understand the linked page. The surrounding content is also helpful for the users since it provides some context and clues about the link.
This is especially useful when you use generic words – the text around them will provide contextual information for both search engines and users.
Although the anchor text “this detailed guide” is not very specific, the surrounding text clearly indicates that the linked webpage is a Google Analytics guide with information on how to set it up.
Do not ever use misleading or irrelevant anchor text to purposely manipulate your users.
Google can determine if you are linking to spammy, harmful or irrelevant websites by using misleading or deceptive anchor texts.
If the anchor text or context around the link has nothing to do with the webpage that you are linking to, Google will evaluate you as a low-quality website that is trying to deceive its visitors and will penalize you for that.
For example, if one of your anchor texts is “pizza recipe” but the linked website is about online gambling, search engines will perceive it as a huge red flag for your website.
Anchor texts play an important role not only within your website but in your backlink profile as well.
Quality backlinks containing relevant terms can help you boost your rankings for these terms.
There are a few things that you should keep in mind. You have to:
Although various studies try to provide the optimal ratio of anchor texts. The truth is that there is no definitive answer for that.
The best solution is a natural mixture of various anchor types containing relevant and descriptive terms that will help you diversify your link profile.
Focusing only on a few anchor types (usually the keyword-rich anchor texts) can do more harm than good.
Pro tip: You can use tools like SiteProfiler to get an inspiration (and overview) about the anchor texts that your competitors are using:
The tool will show you its backlink profile along with anchor texts that the competitor is using the most:
Any intentional keyword spamming or manipulation in your anchor texts is considered a big no no for search engines.
If your website has too many backlinks that contain your focus keywords, Google might perceive this as a spammy tactic and penalize you for that.
Therefore you should always try to:
Always monitor the distribution of anchor texts on your website and backlinks as well. Tracking anchor texts can help you determine the most used anchor texts as well as the amount of traffic they bring.
Furthermore, it can also help you to check whether you are not over-optimizing a website just for 1 or 2 types of anchor text.
SiteProfiler can help you determine what type of anchor text is commonly used, what is the percentage of a particular anchor text and provide you a quick overview of the anchor type distribution:
This will help you to have a general overview of the most occurring anchor text used, the number of referring domains that are linking to your website with a particular anchor text as well as the share percentage of all anchor texts.
This post was last modified on August 29, 2022 1:06 pm