On this page
- What is anchor text?
- Why does anchor text matter for SEO?
- What are the types of anchor text?
- What does Google consider good anchor text?
- Is there a safe anchor text ratio?
- How do you plan anchors for guest posts and paid links?
- How do you check your anchor text profile?
- How should you write internal link anchors?
- Which anchor text mistakes cause problems?
- FAQ
Anchor text is the visible, clickable text of a link. Google says it "tells people and Google something about the page you're linking to", so a descriptive anchor helps the target page, and the same keyword repeated across many sites looks like manipulation. An Ahrefs study of 384,614 pages found only a weak link between exact-match anchors and rankings, which makes brand names, URLs and natural phrases the sensible default. If you place links through our catalog of 71,000+ websites, plan the anchor for each site before you order.
71,000+ websites with Ahrefs metrics · from $39 per link · Open the catalog
What is anchor text?
Anchor text, also called link text, is the words a reader clicks to follow a link. In the HTML <a href="https://example.com/ghost-peppers">ghost peppers</a> the anchor is "ghost peppers".
Two special cases come from Google's documentation:
- Image links. Google uses the
altattribute of the image as anchor text, so a linked logo withalt="Acme running shoes"works like a text anchor. - Empty links. If an
<a>element is empty, Google can fall back to itstitleattribute.
If your site inserts anchors with JavaScript, Google suggests checking the rendered HTML with the URL Inspection tool to make sure the text is there.
Why does anchor text matter for SEO?
Anchor text matters because Google uses it to understand the page a link points to. The idea is as old as Google. In their 1998 paper, Sergey Brin and Larry Page wrote that their system associated link text with the page the link points to, because anchors often describe a page better than the page describes itself.
That made anchors easy to abuse. Sites bought thousands of links with the same keyword anchor. In April 2012 Google launched an algorithm change against webspam that affected about 3.1% of English queries. Google's announcement named link schemes and keyword stuffing among the tactics it targeted. Google's ranking systems guide calls that system, Penguin, one "designed to combat link spam".
Today Google's spam policies list guest posts and sponsored articles with "optimized anchor text" as link spam. Anchors still help Google understand links, and a pattern of keyword anchors is one of the signs of a link scheme.
What are the types of anchor text?
This guide uses seven types. The example below is for acme.com, a shop that sells running shoes, linking to its trail shoes page.
| Type | Example | When it fits |
|---|---|---|
| Branded | Acme | Most external links, citations, news |
| Naked URL | acme.com or https://acme.com/trail/ | Sources lists, directories, forum posts |
| Exact match | trail running shoes | Rare placements on closely related pages |
| Partial match | Acme's guide to trail running shoes | Guest posts and editorial mentions |
| Related phrase | shoes for muddy mountain paths | Natural text in topical articles |
| Generic | this guide, read more | Small share; tells Google little |
| Image | Logo with alt="Acme trail running shoes" |
Banners, partner logos, product photos |
An exact-match anchor matches the target query word for word. A partial match contains it inside a longer phrase. A related phrase covers the same topic with different words.
What does Google consider good anchor text?
Google says good anchor text is "descriptive, reasonably concise, and relevant to the page that it's on". Its documentation adds a simple test. Read only the anchor, out of context, and check whether it is specific enough to make sense by itself.
| Google's example | Verdict |
|---|---|
<a href="https://example.com">Click here</a> |
Bad, too generic |
<a href="https://example.com/ghost-peppers">ghost peppers</a> |
Good |
Three more rules from the same page:
- "Write as naturally as possible, and resist the urge to cram every keyword that's related to the page."
- "The words before and after links matter". The sentence around the link gives Google context.
- Do not chain links next to each other, because readers cannot tell them apart.
On keyword-heavy anchors, Google adds that "if you think it's too much, then it probably is."
Is there a safe anchor text ratio?
No. Google publishes no ratio, and the best available data shows that chasing one gives little in return.
Ahrefs studied 384,614 pages ranking for 19,840 keywords and measured how anchor types correlate with rankings.
| Anchor type in backlinks | Spearman correlation with rankings (average) | Ahrefs' reading |
|---|---|---|
| Exact match | 0.1436 | Relatively weak |
| Phrase match | 0.1057 | Very weak |
| Partial match | 0.1076 | Very weak |
| Random anchors | 0.0161 | Effectively none |
Ahrefs notes that both of its studies have limits and that correlation does not prove cause. Even so, the upside of exact-match anchors is small, and the risk of a visible keyword pattern stays.
A practical rule follows from this. Let anchors come out the way a writer would naturally phrase the link, and look at what pages in your niche already have:
- Take the top five pages ranking for your main query.
- Open their anchor reports in Ahrefs, Semrush or Moz.
- Note how often brand names, URLs and keyword phrases appear.
- Keep your profile within the same shape, with brand and URL anchors leading.
Ratios you see in blog posts are recommendations without measured data behind them. Treat any fixed percentage with care.
How do you plan anchors for guest posts and paid links?
Plan anchors per target page before you order, then spread them across sites.
- List the pages you promote. Make one anchor plan for each page.
- Write six to ten variants per page. Brand, URL, two or three partial matches, two or three related phrases, and at most one exact match.
- Match the anchor to the site. Use brand and URL anchors on news and general sites. Keep descriptive anchors for sites that cover the same topic closely.
- Do not reuse a commercial phrase. One keyword anchor on ten sites is the pattern Google's spam policies describe.
- Write the whole sentence around the anchor. "Acme's guide to choosing trail running shoes" reads better than a bare keyword and gives Google context.
Agree the anchor and target URL with the publisher before the article is written. On backlinksforseo.org our editors can write the article for +$99 per site, with one round of edits. Our guide on is buying backlinks safe covers the checks to run on each site before you pay.
How do you check your anchor text profile?
Start with Google Search Console, then use a paid tool for detail.
- Search Console. The Links report has a "Top linking text" table that shows which link text other sites use for your pages. It is free and comes from Google's own data. Tables are limited to 1,000 rows, and the report "isn't a comprehensive list" of every link.
- Ahrefs, Semrush or Moz. Their anchor reports group anchors by referring domains, show dofollow and nofollow separately, and let you filter by target page.
Look for three things. First, a single keyword anchor appearing on many unrelated sites. Second, anchors in languages or topics that have nothing to do with you, which usually means spam. Third, priority pages with only generic anchors. Our guide on how to check backlinks walks through each report.
How should you write internal link anchors?
Use descriptive anchors that tell readers what the target page covers. Internal links are your own editorial choice, so a clear keyword-style anchor is normal there.
Google's guidance for internal links is short:
- "Every page you care about should have a link from at least one other page on your site."
- Think about which other pages could help the reader understand the current one.
- "There's no magical ideal number of links a given page should contain."
Point one anchor phrase to one page. If two pages share the same anchor, both you and Google may struggle to tell which one should rank for that phrase. In menus, keep labels short and plain.
Which anchor text mistakes cause problems?
- Exact match everywhere. Repeating one keyword across many sites is the classic pattern behind link spam actions.
- Keyword anchors on unrelated sites. "Best payday loans" on a cooking blog helps no reader and flags a paid link.
- Anchors that do not match the page. A link reading "free shipping policy" that lands on a homepage misleads readers.
- Only generic anchors. "Click here" is safe and tells Google almost nothing about your page.
- Stuffed sentences. Google says of keyword-heavy anchors that "if you think it's too much, then it probably is."
- Ignoring spam anchors. Spam links with odd anchors usually get ignored. If a manual action appears, Google asks you to remove or nofollow those links and disavow the rest.
Most of these mistakes come from buying links in bulk. Read what backlinks are for how link quality works, and dofollow vs nofollow for which links pass ranking credit at all.
71,000+ websites with Ahrefs metrics · from $39 per link · Open the catalog
FAQ
What is anchor text in simple words? The words you click on in a link. For a linked image, Google reads the image's alt text as the anchor.
What is an example of anchor text?
In <a href="https://example.com/ghost-peppers">ghost peppers</a>, the anchor text is "ghost peppers". Google uses this exact example as good anchor text.
Is exact-match anchor text bad? Not on its own. It becomes a risk when one keyword repeats across many sites. Ahrefs found only a weak correlation between exact-match anchors and rankings.
What is a good anchor text ratio? Google publishes none. Compare with pages that rank for your query and keep brand and URL anchors as the largest groups.
Does anchor text matter for nofollow links? Less for ranking, because Google treats nofollow as a hint and may not count the link. The anchor still tells readers what they will find.
How long should anchor text be? Short. Google asks for anchors that are "reasonably concise" and make sense out of context, usually a few words.
Sources
- Google Search Central, Link best practices for Google (anchor text)
- Google Search Central, Spam policies for Google web search (link spam)
- Google Search Central, A guide to Google Search ranking systems (Penguin)
- Google Search Blog, Another step to reward high-quality sites (April 2012)
- Search Console Help, Links report
- Brin and Page, The Anatomy of a Large-Scale Hypertextual Web Search Engine (1998)
- Ahrefs, Anchor Text: A Data-Driven Guide (384,614 pages studied)