Dofollow vs Nofollow Links (and Anchor Text) Explained
What dofollow and nofollow links are, when to use sponsored and ugc, how Google treats each one, and how anchor text types fit into a natural link profile.

Dofollow backlinks are ordinary links with no rel attribute that tells search engines to discount them, so they can pass ranking signals to the page they point to. Nofollow links carry rel="nofollow" (or the newer sponsored and ugc values), which asks Google not to treat the link as an endorsement.
The difference matters for two reasons. It affects how much SEO value a link may pass, and it decides whether a paid or user-generated link follows Google’s rules. This guide explains each rel value with HTML examples, how Google handles them, how to check any link, and how anchor text fits into the picture.
What dofollow and nofollow links mean
The two terms describe whether a link carries a qualifying rel value or not. Once you see the HTML, the distinction is simple.
“Dofollow” is not a real attribute
There is no rel="dofollow" in HTML. A dofollow link is simply a normal link:
<a href="https://example.com/guide/">helpful guide</a>
Search engines can follow it, crawl the destination and count it as a signal. SEO people call it “dofollow” or “do follow” only to contrast it with nofollow.
What a nofollow link looks like
A nofollow link adds a rel attribute to the same tag:
<a href="https://example.com/guide/" rel="nofollow">helpful guide</a>
The link still works for visitors. It just tells search engines that you do not want to vouch for the destination or pass ranking credit to it. If you need a refresher on why links carry weight at all, my guide on what backlinks are covers the basics.
The rel attributes: nofollow, sponsored and ugc
Google introduced sponsored and ugc in 2019 so site owners could describe links more precisely. Google’s documentation on qualifying outbound links sets out when to use each one.
| Value | Use it for | HTML example |
|---|---|---|
| sponsored | Ads, paid placements, affiliate and sponsorship links | <a href="..." rel="sponsored"> |
| ugc | Links in comments, forum posts and other user content | <a href="..." rel="ugc"> |
| nofollow | Any other link you do not want to endorse | <a href="..." rel="nofollow"> |
rel=”sponsored”
Use sponsored for any link that exists because of payment, a free product, a sponsorship or another exchange of value. Google’s spam policies treat paid links that pass ranking credit as link spam, so marking them is the compliant approach. Google says nofollow is still acceptable for paid links, although sponsored is preferred.
rel=”ugc”
Use ugc for links added by users, such as blog comments, forum replies and community profiles. Google notes that you can remove the attribute for trusted members who consistently contribute high quality content.
rel=”nofollow”
Use nofollow when neither of the other values fits and you still do not want to associate your site with the destination or pass credit to it.
Combining values
You can list more than one value, separated by a space or a comma, for example rel="ugc nofollow". This helps if other search engines do not recognize the newer values.
How Google treats these attributes
Before 2019, nofollow was treated as a strict instruction. That changed when Google announced the new attributes.
From directives to hints
In its 2019 announcement, Google said it would treat nofollow, sponsored and ugc as hints about which links to consider for ranking, and from March 2020 for crawling and indexing as well. Google’s current documentation says links with these values will generally not be followed, but the linked pages may still be found and crawled in other ways.
Do nofollow links have any SEO value?
Nobody outside Google knows exactly how much weight a hinted link gets, so it is safest not to count on nofollow links for ranking. They still have value of other kinds:
- Referral traffic: a nofollow link in a popular article can still send real visitors.
- Discovery: people who find your page may cite it later with a normal link.
- A natural profile: real sites earn a mix of followed and nofollowed links, so having both is normal.
Dofollow vs nofollow: which links do you need?
If your goal is rankings, editorially given dofollow backlinks from relevant sites are what you are after. That does not make nofollow links worthless, and it does not mean every link should be dofollow.
When pursuing dofollow links makes sense
Guest posts, resource page listings, broken link replacements and editorial mentions are typically followed links, because the site owner chose to cite you. My guide on how to get backlinks covers methods that earn these links naturally.
When a link should carry sponsored or nofollow
If you paid for the placement or gave something of value in return, the honest setup is rel="sponsored". This is also why price lists for link placements vary so much, a topic I cover in my post on link building cost.
How to tag outbound links on your own site
- Editorial links you choose to cite: leave them as normal links.
- Affiliate and sponsored links: add
rel="sponsored". - Comment and forum links: add
rel="ugc"(most platforms do this automatically). - Links you want to show but not endorse: add
rel="nofollow".
How to check if a link is dofollow or nofollow
Checking a single link takes seconds in any browser. Checking all your links takes a tool.
Inspect the HTML
- Right-click the link and choose Inspect.
- Look at the highlighted
<a>tag in the developer panel. - If you see
rel="nofollow",rel="sponsored"orrel="ugc", the link is qualified. If there is no rel value of that kind, it is a normal (dofollow) link.
Values like noopener and noreferrer are security settings for links that open in a new tab. They do not affect how search engines treat the link.
Check page-level settings too
A page can also apply nofollow to every link on it with a robots meta tag such as <meta name="robots" content="nofollow">, or with an X-Robots-Tag HTTP header. If a link looks normal but the page sets nofollow at the top, every link on the page is affected. View the page source and search for “robots” to be sure.
Use a tool for bulk checks
Browser extensions can highlight nofollow links on any page, and backlink tools label each link to your site as followed or not. My guide on how to check backlinks explains which tools to use. Note that Google Search Console’s Links report does not show whether a link is nofollow.
Anchor text SEO: the types of anchor text
Anchor text is the clickable text of a link. Google uses it to understand what the destination page is about, so it matters alongside the rel attribute. For a full breakdown of each kind with examples, see my guide to the types of anchor text.
How to anchor text in HTML
Anchor text is the text between the opening and closing <a> tags:
<a href="https://example.com/pricing/">see our pricing</a>
In most editors, you highlight the words, click the link button and paste the URL. For image links, Google uses the image’s alt attribute as the anchor text.
Anchor text types
| Type | Example (for a site selling running shoes) | Notes |
|---|---|---|
| Exact match | running shoes | Matches the target keyword exactly. Use sparingly. |
| Partial match | best shoes for long runs | Includes part of the keyword or a variation. |
| Branded | StrideCo | Your brand or site name. The most common type in natural profiles. |
| Naked URL | stride-co.com | The URL itself used as the anchor. |
| Generic | click here, this guide | Gives little context but appears naturally. |
| Image alt | alt=”StrideCo trail shoe” | The alt text of a linked image acts as anchor text. |
StrideCo is a made-up brand used only as an example.
What a healthy anchor text mix looks like
There is no official percentage for anchor text, and any fixed ratio you see online is a guess. Principles work better than formulas.
Let natural anchors lead
Most sites that earn links naturally receive mostly branded, naked URL and descriptive anchors, because that is how people refer to a site. If your profile looks like that, it reflects real citations.
Use keyword anchors in context
Exact and partial match anchors are fine when they read naturally inside a sentence and describe the target page accurately. The problem starts when many links use the identical commercial phrase, which looks engineered.
Match the anchor to the page
Point descriptive anchors at the page that genuinely covers that topic. A link that says “running shoe sizing guide” should land on a sizing guide, not a homepage.
Vary by source
When you control the anchor (for example in a guest post), vary it between placements and follow the host site’s editorial style. Natural variety matters more than any target number.
Common mistakes with dofollow links and anchor text
Most problems come from treating attributes and anchors as tricks rather than as honest descriptions of a link.
Link attribute mistakes
- Paying for placements and leaving them as normal links instead of marking them
sponsored - Chasing only dofollow links and ignoring good nofollow mentions that bring traffic
- Assuming every link from a big site is dofollow without checking
Anchor text mistakes
- Using the same exact-match anchor across many links
- Forgetting alt text on linked images, so the link has no anchor context
- Linking keyword anchors to pages that do not match them
If you want help building a link profile with natural anchors and relevant placements, my link building service handles prospecting and outreach, and you approve every site first. You can also ask for a free link plan.
FAQ
Are nofollow backlinks useless for SEO?
No. Google treats nofollow as a hint, so it is unclear how much ranking value these links pass, but they can still send referral traffic and help people discover your content. A real link profile naturally includes both types.
How do I know if a backlink is dofollow?
Right-click the link, choose Inspect and look at the <a> tag. If there is no nofollow, sponsored or ugc value in the rel attribute, and the page has no nofollow robots meta tag, it is a normal followed link.
Should I use nofollow or sponsored for paid links?
Google prefers rel="sponsored" for paid links, ads and affiliate links. It still accepts nofollow for these, and you can combine both as rel="sponsored nofollow".
What is a good anchor text ratio?
There is no ratio published by Google. Aim for a profile where branded, URL and descriptive anchors are common and exact-match keyword anchors appear only where they read naturally.
Written by Talha Salman. Last reviewed on 25 November 2026. Read how guides are researched and kept up to date on the About page.


