✨ Get 25% OFFon any plan. Use the coupon:

Anchor text: what it is and how to optimize for SEO

By Tiago CostaUpdated on July 2, 2026

Illustration of a sentence with highlighted, underlined words being clicked, leading to a destination page, representing anchor text.
Definition

Anchor text is the clickable part of a link, the highlighted words a person clicks. It:

  • gives context about the destination page;
  • helps the user know where the link leads;
  • is read by Google as a relevance signal;
  • works on internal and external links.

What anchor text is

Anchor text is the visible, clickable part of a link. It is that snippet, usually highlighted, underlined or in another color, that a person clicks to be taken to another page. While the destination address stays hidden in the code, the anchor text is what appears to the reader.

The role of anchor text goes beyond the visual. It is a kind of label for the link: it describes, in a few words, what the person will find on the other side. A link with the anchor on-page SEO guide promises something quite different from a link with the anchor click here, even if both lead to the same page.

This label serves two audiences at once. For the reader, it helps decide whether it is worth clicking. For Google, it is a context clue: the search engine uses the anchor text to understand what the destination page is about. That is why anchor text matters so much in internal links as well as in external links and in every backlink pointing to your site.

How to anchor a text: the HTML behind it

To anchor a text is to turn a word or phrase into a link. This is done with the <a> tag (for anchor), which wraps the text and takes the href attribute with the destination address.

A simple example:

<a href="/blog/on-page-seo">on-page SEO guide</a>

In this case, everything between the opening and closing of the tag, the snippet on-page SEO guide, is the anchor text. This part is what becomes clickable and visible on the page. To edit a text with an anchor, you just adjust the words between the tags (the visible text) or the address in the href (the destination), independently.

The anchor does not always have to be text. When the link wraps an image, what plays the anchor role is the image's alt text, the alt attribute, which describes the figure for the search engine and for screen readers. That is why every clickable image should have a descriptive alt: without it, the link has no label.

Infographic of the types of anchor text stacked: exact match, partial, branded, generic, naked URL and image, each with an example.
The types of anchor text stacked, each with a short example, from the exact match anchor to the image anchor.

Types of anchor text

Anchor texts are usually classified by how they relate to the keyword and the destination. Knowing the types helps you vary anchors naturally:

TypeWhat it isExample
Exact matchRepeats the exact keyword of the destinationanchor text
PartialIncludes the keyword within a phrasehow to use anchor text in SEO
BrandedUses the brand nameAutomarticles
GenericDoes not describe the destinationclick here, learn more
Naked URLThe address itself becomes the anchorwww.example.com
ImageThe image's alt textdescriptive alt of the figure

The exact match anchor is the most powerful to reinforce relevance, but also the riskiest when overused. Generic anchors of the click here type waste the chance to give context. The ideal is a natural mix, with a majority of descriptive and partial anchors that sound good within the sentence.

Why anchor text matters for SEO

Anchor text is one of Google's oldest and still relevant signals. The idea is simple: if many quality pages point to a destination using similar anchors, the search engine interprets that page as relevant to that topic. It is context coming from outside and inside the site.

The data reinforces this weight. The Zyppy study of 23 million internal links found that pages with at least one exact match anchor text received at least five times more traffic than pages without any exact anchor. The same study showed that anchor text variety has a strong relationship with more clicks, a sign that always repeating the same anchor pays off less than describing the destination in different ways.

It is worth remembering that much of this effect comes from outside: each backlink brings the anchor text chosen by another site. In house, however, you control 100% of the anchors of your internal links, which makes internal anchor optimization a direct and cheap lever. This context strength is part of what PageRank and the following algorithms came to consider when evaluating links.

Illustration comparing a page with repeated exact match anchors in excess and another with varied, descriptive anchors, representing anchor text over optimization.

How to optimize anchor text

Optimizing anchor text is finding the balance between giving clear context and sounding natural. A routine that works:

  • Describe the destination: the anchor should make clear where the link leads, without depending on the rest of the sentence.
  • Write inside the sentence: the best anchor is the one that is part of the text organically, not a loose click here.
  • Vary the anchors: use different phrasings for the same destination, instead of always repeating the exact keyword.
  • Keep relevance: the anchor, the surrounding text and the destination page need to talk about the same subject.
  • Be concise: short, specific anchors usually work better than long, vague phrases.

Applied together, these practices improve both the reader's experience and how the search engine reads your internal link structure. A good anchor text is the one that the person does not even notice as a technique: it simply describes, naturally, what is on the other side of the link.

Common mistakes and the risk of over optimization

The biggest mistake with anchor text is excess. Filling content with exact match anchors, all with the same keyword, creates an artificial pattern that Google associates with an attempt at manipulation. It is the link version of keyword stuffing, and it can lead to losing positions instead of gaining them.

Other frequent slips:

  • Anchors that are too generic: a string of click here says nothing to the reader or the search engine.
  • Anchor that does not match the destination: promising one thing in the anchor and delivering another on the page frustrates the user and confuses Google.
  • Always repeating the same exact anchor: it loses the extra context that variation brings and sounds forced.

The rule is naturalness. If you read the text out loud and the anchors sounded strange or repetitive, there is probably over optimization. Varied, descriptive anchors that are coherent with the destination are what keep linking strong and safe over time, inside and outside link building.

FAQ

Frequently asked questions

What is anchor text?

Anchor text is the visible, clickable part of a link, the words a person clicks to go to another page. It describes the destination and serves both for the reader to decide whether to click and for Google to understand the topic of the linked page.

What does it mean to anchor a text?

To anchor a text is to turn a word or phrase into a link, wrapping that snippet with the anchor tag and the href attribute, which points to the destination address. The text between the tags is what becomes clickable and visible on the page, working as the link's anchor.

How do you edit text with an anchor?

To edit, adjust the two parts of the link separately: the words between the anchor tags, which form the visible text, and the address in the href attribute, which sets the destination. This way you can change what the user reads without changing where the link leads, or the other way around.

What are the types of anchor text?

The main types are the exact match anchor (repeats the keyword), the partial (includes the keyword in a phrase), the branded (uses the brand name), the generic (like click here), the naked URL (the address itself) and the image anchor (the alt text). The ideal is to vary among them naturally.

Does anchor text still matter for SEO?

Yes. Anchor text is still a context signal that Google uses to understand what the destination page is about, in both internal links and backlinks. Studies show a relationship between descriptive, varied anchors and more traffic, as long as there is no overuse of exact match.

Links with the right anchor text, on autopilot

Automarticles writes your blog articles and inserts internal links with descriptive, varied anchor texts, reinforcing the context and SEO of each page on its own.

Start free trial
Keep learning

Related concepts

Internal linkAn internal link is the link that connects two pages within the same domain, taking the visitor from one piece of content to another on the site itself. Besides helping navigation, it distributes authority between pages, helps search engines discover and crawl new content and gives context about the topic of each page through the anchor text used. It is one of the simplest and, at the same time, most underrated on-page SEO tactics.External linkAn external link is a link that leaves a page and points to an address on another domain, whether to cite a source, indicate a reference or recommend complementary content. In SEO, these links (also called outbound links) help the reader, give the search engine context about your page's topic and, when they point to trustworthy sites, reinforce the content's credibility. They are the opposite of the internal link, which connects pages within the same site.BacklinkA backlink is a link on another website that points to a page of yours. To Google, each backlink works as a vote of confidence: the more relevant and trustworthy pages point to your content, the higher its authority tends to be in the eyes of the search engine. That is why backlinks are among the top ranking factors and the heart of off-page SEO.Link buildingLink building is the set of strategies for earning backlinks, that is, links from other sites that point to yours. Each backlink works like a vote of confidence that helps Google understand that your pages are relevant and deserve visibility. Done with quality, link building raises domain authority, improves your position in search results and brings qualified referral traffic.