What Is Anchor Text? Types and Best Practices for Links

What is anchor text and why does it matter for SEO?
Anchor text is the visible, clickable text of a link. It tells users and search engines what the target page is about. In HTML, it sits between the opening and closing a tags. Google uses it as one of several signals to understand the linked page.
Think of a road sign. Also, a sign that says "City center, 5 km" tells you where you are heading. A sign that says "Click here" forces you to guess. Crawlers face the same uncertainty when a link says nothing about its target.
Our team checks link text in every site audit. Also, the words you use inside and outside your site quietly draw the topic map of your content. Well-written link text helps your readers, and it clarifies how your pages relate to each other.
This topic is also one of the fastest wins in SEO consulting projects. So you can improve how clearly your pages communicate without publishing anything new. You simply rewrite the text of links that already exist.
Besides, this work carries little risk. Changing a link's text does not change the URL, the content, or the design. In practice, you only make the message to the search engine and the reader clearer. For that reason, we usually suggest it as a first step for beginners.
How do you write anchor text in HTML?
A link has a simple structure. Also, the href attribute holds the target address, and the text between the a tags is the anchor text. For example, a link to Google's link guide uses the guide's URL as href and a phrase like "Google link best practices" as the visible text.
According to Google's documentation, the crawler parses a elements that have an href attribute. However, it may not reliably parse links that rely on JavaScript routing, a span with an onclick handler, or an element without href. So you should code every clickable text as a real link.
- Text link: the visible words are the anchor text.
- Image link: Google uses the alt attribute of the img element as anchor text, so you write a descriptive alt.
- Empty link: Google falls back to the title attribute, but you should not rely on that.
You can read the details in Google Search Central's link guide. It collects the basic crawlability rules on a single page.
When you work with developers, use this page as a shared reference. Designers can check that buttons and cards are real links. Content editors can check that the text is descriptive. As a result, your links follow the same standard in code and in copy.
What are the types of anchor text?
Anchor text types describe how the link text relates to the target page: exact match, partial match, branded, naked URL, generic, and image. Each type has its own place. No single type is always best, so aim for a balanced and natural mix.
| Type | Example | When it fits |
|---|---|---|
| Exact match | anchor text | Internal links to a page with the same topic |
| Partial match | how to write better link text | The safest type inside natural sentences |
| Branded | Talha Aslan and team | Citations and mentions |
| Naked URL | talhaaslan.com/en/tools/ | Reference lists |
| Generic | click here | Avoid in most cases |
| Image | the alt text acts as anchor | Logo and banner links |
Use this table as a checklist. Extract all links on a page and sort them by type. In practice, you will quickly see which type you use too much or too little.
For example, a page where most links are exact match and none are branded looks artificial. Also, a page made only of generic phrases gives the crawler no topic hints. The ideal mix depends on your industry, so we do not dictate one ratio.
When should you use exact match anchor text?
Exact match anchor text repeats the target page's focus keyword word for word. For example, you write "internal linking" when you link to your internal linking guide. Inside your own site, this is normal, because you control the links and describe your own pages.
External links work differently. Hundreds of links from other sites with the same exact phrase do not look natural. Consequently, such a profile can collide with Google's spam policies on link schemes.
Here is a practical rule. If your sentence already contains the keyword naturally, link that phrase. If you have to force the keyword into the sentence just for the link, stop and rewrite.
One more test helps: read the sentence out loud. If the link text sounds natural, you are fine. If it sounds like an ad slogan, rewrite it. This simple test catches many over-optimization mistakes before publishing.
How do partial match, branded and naked URL anchors work?
Partial match anchors extend the focus keyword with other words. For instance, "how to build an internal link structure" is a natural partial match for an internal linking guide. It gives the reader context and reduces keyword repetition.
Branded anchors carry the name of a company or a person. When you cite a source, writing "Google Search Central" is an example. Also, a healthy link profile usually contains a visible share of branded anchors.
A naked URL is the address itself. It works in reference lists and email signatures. Inside body text, however, it adds no meaning for the reader. So in running text you should prefer a descriptive phrase.
Why is generic anchor text a problem?
Phrases like "click here", "read more" and "this page" count as generic anchor text. Google's guidance also tells you to avoid such generic phrases. Read alone, they give no information about the target.
Accessibility matters here as well. Visitors who use screen readers often listen to all links on a page as one list. If they hear "read more" ten times, they cannot tell the links apart.
- Weak: "Click here for link strategy."
- Better: "You can build your link strategy with our internal linking guide."
- On blog cards, use the post title as link text instead of "Read more".
In short, you do not need to remove generic phrases completely. You should keep them to a small minority of your links.
What makes good anchor text?
Good anchor text is descriptive, short, relevant to its context, and relevant to the target page. In Google's words, link text should fit both the page it sits on and the page it points to. It should also make sense when read alone.
- Be descriptive: readers should know where they will land before they click.
- Keep it short: two to five words are enough in most cases.
- Write naturally: the link must not break the flow of the sentence.
- Match the target: the text must promise what the page really delivers.
- Vary it: use a few different phrases for links to the same page.
We test this in the field with a simple step. In practice, we remove the link text from the sentence and read it alone. If we can still guess the topic of the target page, the text passes.
Also, avoid stuffing. Google's spam policies name keyword stuffing explicitly, and you can read them in the official spam policies.
What anchor text mistakes do most sites make?
The most common mistake is repeating the keyword in every link. Google may treat this as keyword stuffing, and its spam policies warn about it. Also, the second most common mistake is very long link text.
Third, people stack several links in a row without context. Fourth, the target page that does not contain the promised topic. In that case, the user feels let down and leaves quickly.
| Mistake | Result | Fix |
|---|---|---|
| Same exact match everywhere | Unnatural look | Mix in partial and branded anchors |
| Very long link text | Poor readability | Cut it to two to five words |
| A pile of links without context | Readers cannot tell them apart | Give each link its own sentence |
| Misleading text | Trust drops | Match the text to the real content |
Most of these mistakes appear when content is produced fast and links are added later. So you should plan the link together with the sentence, while you write.
What does Google's link best practices guide say?
Google's link guide rests on three points: links must be crawlable, anchor text must be descriptive, and every important page needs at least one link from another page. These three rules connect the technical side and the content side.
One of the clearest statements in the guide says that every page you care about should have a link from at least one other page on your site. In other words, orphan pages may stay out of sight for the search engine.
- Write links with an a tag that has an href attribute.
- Keep the link text descriptive and fitting.
- Fill in the alt text for image links.
- Link to external sources to support your credibility.
You can check these points one by one in a technical review. For a wider frame, read our technical SEO tips as well.
How do you use anchor text in internal links?
In internal links, anchor text names the page you link to and tells the reader what to expect. Exact match is more acceptable on your own site. So you control the links, so you build a natural topic relationship.
Still, avoid copying the same phrase hundreds of times. For example, you can link to a service page sometimes with "SEO consulting" and sometimes with "getting SEO support". As a result, the text reads naturally and the page's topic range grows.
For the full internal linking strategy, read our internal linking guide. There we cover link architecture, hub pages and page prioritization in detail.
One habit pays off the most. When you publish a new article, link to it from older related articles. Many sites only link from the new post to old ones and forget the reverse direction.
Also, links that repeat in a sidebar or in cards do not replace body links. They only support navigation. To strengthen a service or guide page, link to it from the body of related posts.
How do you choose anchor text for external links?
For external links, anchor text is the text of a link that points to a source on another site. Also, the best approach is to use the source's name or the topic of its content. For example, when you link to an official document, you use the document's title.
Linking out does not harm your site. Google's guide even encourages you to cite sources and build trust. What matters is that you choose the sites you link to carefully.
For links that come to you from other sites, you cannot choose the text, but you can influence it. Also, a good source mentions your brand and the topic of your content naturally. We cover this in our guide to backlinks and link quality.
If you want to study your competitors, competitor backlink analysis is a good starting point.
How do nofollow, sponsored and ugc affect anchor text?
These three rel values tell Google what kind of link it sees. In practice, use sponsored for ads and paid placements. Choose ugc for user-generated content such as comments and forums. Apply nofollow as a general qualifier for links you do not trust.
According to Google's documentation, links with these values are generally not followed. However, the pages can still be discovered through sitemaps or other links. If you want to limit crawling on your own site, you should use robots.txt rules.
| rel value | Use case | Example |
|---|---|---|
| sponsored | Paid links and ads | A link inside a sponsored post |
| ugc | User-generated content | Blog comment, forum post |
| nofollow | A target you do not trust | A source you cannot verify |
You can read the official explanation on Google's page on qualifying outbound links. Publishing a paid link without the right qualifier risks a policy violation.
What replaces anchor text in image links?
In image links, the alt attribute of the img element replaces anchor text. Google's guide says this clearly: when an image is a link, the alt text works as the anchor text. So you should not leave the alt empty on logo and banner links.
When you write the alt text, think about where the link goes, not only what the image shows. For a product image, "red running shoe product page" is far better than "image1".
If possible, also place a text link next to the image. That way you give both the user and the crawler a second clear signal.
Decorative images are different. If an image is purely decorative and does not stand alone inside a link, you can leave the alt empty. If the image is the only content of a link, however, an empty alt leaves the link nameless. Agree on this rule once with your design team.
How do you audit anchor text on your site?
An anchor text audit means exporting all link texts, then analyzing them by type and target. So you crawl the site, export internal links, and list the most common phrases and generic texts. Then you review the text that points to your key pages.
- Crawl your site and export the text and target of every internal link.
- Filter generic phrases such as "read more" and "click here".
- Check how many different phrases point to each key page.
- List orphan pages that receive no links.
- Fix broken links and addresses that redirect.
To check redirect chains, you can use our redirect checker. For a deeper look, our redirect chain guide helps.
During the audit, pay attention to one point. Also, do all the different texts pointing to the same target describe it correctly? Sometimes an old rename leaves link text with the former product name. Fix these cases one by one with context, not with a bulk find and replace.
Repeat this audit every quarter. It stops link quality from dropping as your site grows.
How do you balance anchor text and keyword density?
The balance means spreading the keyword naturally across the text instead of forcing it into every link. Link text may contain the keyword. However, using the same word in every link hurts readability and sends a spam signal.
After you finish the article, check it with our keyword density tool. If the density of the focus keyword stays in a sensible range and your link texts vary, you are on the right track.
Using related terms and synonyms also helps. They let the search engine understand your page across a wider search area. Also, our keyword relevance guide complements this point.
How do you plan anchor text in a blog post?
Planning anchor text means deciding which pages to link to before you write, then giving each link a natural sentence. That way, links do not look pasted in afterwards. They serve the flow of the topic.
- Place a service or guide link about the main topic in the first third of the article.
- In the middle sections, link to related tools and supporting articles.
- In the conclusion, suggest one concrete page as the next step.
- Give every link its own sentence with context.
Follow need instead of a numeric target. Too many links reduce readability. Ask whether each link gives the reader real value.
Also, do not confuse links with a table of contents. In-page anchor links move the reader within the same page and carry their own text. If you match that text to the section headings, you build a clear structure.
This planning habit also prevents a scattered content structure, which is one of the common reasons SEO does not work.
Does anchor text matter for AI search too?
Yes, it matters. AI-assisted search systems also need context signals to understand a page's topic. Clear, descriptive link text makes it easier for machines to see which question your content answers. There is no official guarantee, but writing descriptively never hurts.
So writing link text for human readers also means writing it for machines. The two goals do not conflict.
In practice, follow this order. First write a phrase a reader understands at once. Then check whether the same phrase still explains the topic when a machine reads it alone. This two-step habit stays valid however search changes.
Our AI SEO and GEO service covers this area.
What does an anchor text checklist look like?
An anchor text checklist is a short set of checks you run before you publish a page. In practice, you can apply it to every article and every page update. It takes a few minutes, but it gives you an orderly link structure over time.
- Did you write every link as a real a tag with an href?
- Does the link text make sense when read alone?
- Did you clean up generic phrases such as "click here"?
- Do links to the same page use varied text?
- Is the alt text filled in for image links?
- Did you mark paid and user-generated links with the right rel value?
- Do the target pages open and deliver the promised content?
Share this list with your team and make it part of your publishing process. Before you publish, you can also check your title and description with the Google SERP preview tool.
How do menus, footers and body links differ in anchor text?
Anchor text works differently in the three main areas of a site. In menus it stays short and categorical. Footers stay orderly and consistent. Body text turns contextual and descriptive. Each area serves a different reader behavior.
Menu text has to be short. Category names such as "Services" or "Tools" are enough there. Body links, however, are read together with the sentence, so they can carry more detail.
In footers, consistency matters most. Giving a page one name in the menu and another in the footer confuses visitors. So collect your page names in a single glossary.
Body links usually carry the strongest contextual signal, because the surrounding sentence supports the topic of the target page. For that reason, give links to your important pages from inside the content whenever you can.
What are examples of good and bad anchor text?
Examples make the rule concrete. Also, the table below compares weak and strong link text for the same target page. These are illustrative examples based on patterns we often see in the field.
| Weak text | Strong text | Why it is better |
|---|---|---|
| Click here | Internal linking guide | It states the topic |
| More info | Technical SEO checklist | It defines the target |
| https://example.com/page | Google's link guide | It reads clearly |
| SEO SEO SEO service price | SEO consulting service | It is natural and short |
| This post | Anchor text types guide | It carries meaning alone |
The strong examples share one trait. Also, the text makes a promise before the click, and the page keeps it. The weak examples either lack information or over-optimize.
To test this on your own site, pick five links and rewrite each one using the table. In many cases, editing a single sentence is enough.
How does anchor text affect accessibility?
For visitors who use screen readers, anchor text is the most important navigation hint on a page. These users often listen to all links as one list. That list consists of link texts, so every text must carry meaning on its own.
This need matches Google's advice that link text should make sense when read alone. In other words, a good link text written for accessibility also helps SEO. Also, the two goals feed each other.
- Do not give the same text to different targets, because a screen reader cannot tell them apart.
- Mention in the text when a link opens a new tab or downloads a file.
- Do not rely on color alone to mark links; use an underline.
- Do not shrink a link to a meaningless word such as "go".
If you want to measure your site's accessibility, start by reviewing link texts. These fixes often need no code change.
How do you place a link inside a sentence?
You place the link on the phrase that best describes the target. Linking the whole sentence usually works badly, and so does linking a single word. Also, a descriptive phrase of three to five words is often the most balanced choice.
For example, in the sentence "You can build your link strategy with our internal linking guide", you link only "internal linking guide". This way, the reader sees what they will find, and the sentence stays natural.
- Write the sentence first without the link.
- Pick the phrase that describes the target best.
- Turn only that phrase into the link.
- Do not link the same target twice in one paragraph.
Also, do not squeeze the link into the first sentence of a paragraph in a hurry. When readers get the context first, they decide more consciously whether to click.
How does anchor text work on service and ecommerce sites?
On service and ecommerce sites, anchor text helps category and product pages recognize each other. These sites grow fast. Without a consistent naming system, link texts scatter quickly.
Take a hypothetical scenario, meant only as an illustration. Also, a shoe store links to its "running shoes" category from the home page, from blog posts and from product pages. Instead of writing only "running shoes" everywhere, it can use variations such as "men's running shoes", "choosing running shoes" and "all running models". That builds a more natural structure.
On a service site, you choose the main phrase for the service page and descriptive phrases for sub-topics. For a wider frame on the ecommerce side, see our ecommerce SEO guide for product and category pages.
To build this structure in your own project, talk to our team about ecommerce consulting.
Which common myths about anchor text should you drop?
Many wrong beliefs circulate around anchor text. The first is that every link must contain the keyword. In fact, variety and naturalness are healthier. Also, the second is that linking out harms your site. Google, on the contrary, supports citing sources.
The third myth says anchor text alone decides rankings. In reality, link text is one signal among hundreds. Content quality, page experience and the trust of the linking site matter just as much.
So do not lose sight of the big picture while you polish link texts. First strengthen your content and site structure. Then move on to the details of the text.
In the field, we often see the following. Also, a site spends weeks perfecting link texts but never links to its key pages. The priority is wrong. The right order is to make sure every important page receives a link first, and then to improve the text.
If you want to take the first step, you can reach our team through the services page.




