Anchor text is the visible, clickable text displayed in a hyperlink, also called link text or link label. It appears highlighted, usually in blue and underlined, within the content of a webpage. Search engines use these words to understand the context and relevance of the linked page, making it a direct factor in how pages rank and how users navigate your site.
What is anchor text?
Anchor text functions as the signpost within HTML hyperlinks. It is the content wrapped by the <a> element that users see and click, distinct from the destination URL hidden behind it. Web search engines analyze the words contained in anchor text to determine the ranking that the linked page will receive for relevant queries. When an image serves as a link, the alternative text (alt text) attribute acts as the anchor text, providing context for search engines and visually impaired users.
Why anchor text matters
- Influences search rankings: Search engines use anchor text to determine the relevance of a landing page for specific queries. Descriptive anchors help algorithms categorize content accurately.
- Passes link equity: Relevant anchor text contributes to passing ranking power, or "link juice," from the source page to the destination. Links from authoritative sites with contextually relevant anchor text can boost a page's authority.
- Prevents algorithmic penalties: Search engines penalize sites with unnatural, keyword-stuffed anchor text patterns. Diversity in anchor text types creates a natural link profile that avoids spam detection. Google announced in April 2012 that its March "Penguin" update would change how it handles anchor text to target over-optimized patterns.
- Improves user experience: Descriptive anchor text tells readers exactly what to expect when they click, reducing confusion and improving navigation.
- Avoids internal cannibalization: Using the same focus keyphrase in multiple anchor texts within one post can create competing links, causing Google to struggle determining which page should rank highest for that term.
Types of anchor text
Different anchor types send different signals to search engines. A natural link profile contains a mix of several types.
| Type | Description | Best Used When |
|---|---|---|
| Exact Match | Uses the exact target keyword of the linked page (e.g., "running a marathon" linking to a marathon training page). | Citing a specific concept, but use sparingly to avoid over-optimization. |
| Partial Match | Contains a variation of the target keyword plus other words (e.g., "different search engine optimization techniques"). | Providing context while maintaining topical relevance. |
| Branded | Uses the brand name alone (e.g., "Moz" linking to moz.com). | Citing sources, linking to homepages, or building brand authority. |
| Brand + Keyword | Combines brand name with descriptive keywords (e.g., "Moz Domain Authority Checker"). | Referencing specific products or tools by a brand. |
| Naked Link | Uses the raw URL as the anchor (e.g., "www.example.com"). | Providing transparency in citations, footnotes, or bibliographies. |
| Generic | Uses non-descriptive phrases like "click here" or "read more." | Avoid; only use if surrounding text provides clear context. |
| Related Keywords | Uses semantically related terms without the exact target keyword (e.g., "structured data" linking to a schema markup page). | Avoiding repetition while maintaining topical relevance. |
| Image | Uses the image's alt text as the anchor when the image is linked. | Visual navigation, ensuring alt text describes the destination. |
Best practices
- Vary your anchor text: Research analyzing 23 million internal links suggests that URLs with a larger number of anchor text variations may lead to increased Google search traffic. Rotate between branded, partial match, and related keywords rather than relying on exact matches.
- Keep it succinct: Limit anchor text to five words or less. Short, clear text helps users quickly identify the destination without appearing spammy.
- Match content to destination: Ensure the anchor text accurately describes the linked page. Misleading text damages trust and can increase bounce rates.
- Avoid exact-match over-optimization: Do not repeatedly use the same keyword-rich anchor text for internal links. An August 2016 Moz study found that exact and partial match domains can be affected by over-optimization penalties.
- Check for competing links: Avoid using your main focus keyphrase in multiple anchor texts pointing to different pages within the same post. This creates internal competition (cannibalization).
- Ensure visibility: Make sure links are underlined and use distinct colors so users can identify them easily. Visual cues improve accessibility and click-through rates.
Common mistakes
Mistake: Over-reliance on exact-match keywords. Repeating the same keyword-heavy anchor text ("buy cheap laptops") signals manipulation to search engines. Fix: Rotate between partial match ("affordable laptop models"), branded ("TechStore"), and related keywords ("portable computers").
Mistake: Generic "click here" links. Non-descriptive anchor text provides no context to users or search engines about the destination. Fix: Replace with descriptive phrases that preview the content, such as "view our laptop buying guide."
Mistake: Creating competing links. Using identical focus keyphrases in anchors pointing to different pages causes Google to struggle determining which to rank. Fix: Use unique, page-specific anchor text for each link. Link your "laptop reviews" page with that phrase, and your "gaming laptops" page with its specific term.
Mistake: Ignoring image alt text. Linked images without alt text create "empty" anchors that waste SEO opportunities and hurt accessibility. Fix: Write descriptive alt text for every linked image, treating it as you would visible anchor text.
Mistake: Allowing toxic backlink anchors. Receiving many links with "money" or compound anchor text from spammy sites can indicate manipulation and trigger penalties. Fix: Google representatives state they do not trust links from sites known to be spam. If you receive a manual action penalty for unnatural links, use the disavow tool to remove association with harmful domains.
Examples
Example scenario: A fitness blog writes an article about marathon training. Instead of using "click here" to link to their shoe review, they use "best running shoes for beginners" (partial match). This tells readers exactly what they will find and helps the shoe review page rank for related terms without over-optimizing for the exact commercial phrase "running shoes."
Example scenario: An e-commerce site links to its homepage using "ShopStyle" (branded) rather than "buy cheap designer clothes online" (exact match). This maintains a natural link profile while still associating the brand with the site, avoiding patterns that triggered historic algorithm filters.
Example scenario: A software company writes a guide about "project management." They link to their "task management" page using the phrase "organizing daily tasks" (related keywords) rather than repeating "task management" (exact match), preventing keyword stuffing while maintaining topical relevance and natural language flow.
FAQ
What is the difference between anchor text and a hyperlink?
A hyperlink is the entire HTML element (<a> tag) that creates the clickable connection between pages, containing the destination URL (href attribute). Anchor text is the specific, visible words users see and click within that element. It is the user-facing label, while the hyperlink is the technical structure.
How long should anchor text be? Keep anchor text concise, ideally under five words. Short phrases are easier to scan and clearly communicate the destination without overwhelming the reader or appearing spammy to search engines.
Can I use the same anchor text for multiple links pointing to different pages? Avoid using identical anchor text, especially your focus keyphrase, for links pointing to different pages. This creates "competing links" where Google cannot determine which page should rank for that term. Vary your anchor text to signal distinct purposes for each page.
Does anchor text still affect SEO? Yes. Despite algorithm updates reducing the weight of exact-match anchors, anchor text remains a ranking signal. Search engines use it to understand page context and relevance. Modern algorithms prioritize natural language and diversified link profiles over keyword-stuffed anchors.
What should I do if other sites use spammy anchor text to link to me? In most cases, Google ignores spammy links automatically. If you notice a pattern of toxic backlinks with over-optimized anchor text and receive a manual action penalty in Google Search Console, use the disavow tool to remove your site's association with those links.
Is it better to use branded or keyword-rich anchor text? A natural link profile contains both. Branded anchors build authority and appear natural, while keyword-rich anchors (exact or partial match) provide topical relevance. The key is variety; avoid relying heavily on any single type to prevent manipulation flags.