← Blog | November 27, 2026

Nofollow, Sponsored and UGC Links: What They Mean and When to Use Each

Not every link on the internet passes the same message to search engines. When you place a link, or when someone links to you, a small piece of code can tell search engines how to treat it. These tags are called rel attributes, and the three you will meet most often are nofollow, sponsored and UGC.

If you are building links, buying guest posts or simply running a blog with comments, you need to understand them. This guide explains each one in plain words, shows when to use it and answers the common question about "dofollow" links. If you are checking your own links at the same time, our free Anchor Text Ratio Calculator can show you how your anchors are spread.

What is a rel attribute?

A link in HTML looks like this: <a href="https://example.com">Example</a>. The rel attribute is an optional extra that describes the relationship between your page and the page you link to. You can read the full list on the MDN page for the rel attribute. For search, three values matter most.

The three link attributes that matter

AttributeWhat it tells search enginesUse it for
rel="nofollow""I do not vouch for this link."Links you do not want to endorse
rel="sponsored""This link is paid or an advertisement."Paid links, ads, affiliate links
rel="ugc""A user wrote this link."Comments, forum posts, user profiles

Google describes all three in its guide to qualifying outbound links. You can also mix them, for example rel="sponsored nofollow".

What about "dofollow"?

You will often hear about "dofollow links," but dofollow is not an official attribute. It is just a name people use for a normal link that has no nofollow, sponsored or UGC tag. A link with no rel attribute is simply a regular link, and search engines may count it as an endorsement. So when someone says "I want a dofollow link," they mean "I want a normal, untagged link."

How Google treats these tags

For a long time, nofollow was treated as a strict rule that told Google to ignore a link. Google changed this in 2019 and 2020. Today, nofollow, sponsored and UGC are treated as hints, which means Google may use them to decide how to treat the link, but it is not forced to follow them in every case. The main point for you is simple: use the tag that honestly describes the link, and do not expect a tagged link to pass the same value as a normal one.

When to use each one

A code example of a paid link looks like this:

<a href="https://example.com/product" rel="sponsored">Example product</a>

Why this matters for link building

Google warns against buying or selling links that are meant to pass ranking value. Its spam policies explain that such links should be tagged properly. Many guest posting and link buying services mix tagged and untagged links, so you need to know what you are paying for. Before you buy a placement, ask the site owner how the link will be marked. Our guide to how much link building costs lists other questions worth asking.

Real situations and the right tag

SituationSuggested tag
A visitor leaves a comment with their websiteugc
You review a product and earn a commission on salessponsored
A company pays you to publish an article with a linksponsored
You mention a source you do not fully trustnofollow
You recommend a free guide you truly likeno tag

When you are unsure, ask yourself one question: "Would I link here if nobody had paid me, asked me or posted it for me?" If the answer is yes, a normal link is fine. If not, choose the tag that matches the situation.

Do these tags affect indexing?

The tags describe a link. They are not instructions about whether a page may appear in search. A page that receives only nofollow links can still be found and indexed, for example through a sitemap or through other links. If you want to control whether a page appears in search, you use different tools, such as the robots meta tag. Our guide on the difference between a sitemap and robots.txt explains how crawlers and sitemaps work.

Are nofollow links worthless?

No. Even if a link does not pass much ranking value, it can still send real visitors, build awareness and help people find your brand. A mention on a respected site with a nofollow link can still be very useful. A healthy profile also contains a mix of tagged and untagged links, because real websites link in many different ways. See our guide to a good anchor text ratio for the same idea applied to anchors.

How to check a link's attribute

  1. Open the page that contains the link.
  2. Right click the link and choose Inspect, or view the page source.
  3. Look at the tag for the word rel and read its value.
  4. If there is no rel, the link is a normal link.

Some SEO tools and browser extensions also highlight nofollow links in a different colour, which makes it quick to scan a page.

What to do as a site owner

What to do as a guest post writer

If you are pitching articles, be open with editors about what you want, and respect their rules for links. A genuine, useful article with one relevant link is the best approach. Use our guest post email template or the Outreach Email Generator to start the conversation, and read how to find websites that accept guest posts.

Common mistakes

Quick answers

Is "dofollow" a real tag? No. It means a normal link without any rel tag.

Can one link have two values? Yes, for example "sponsored nofollow."

Does Wikipedia use nofollow? Many large sites use it on outside links. The Wikipedia page on nofollow explains the history.

Final thoughts

Link attributes are a simple way to be honest about the links you place. Use sponsored for paid links, UGC for user links and nofollow when you do not want to vouch, and leave your best recommendations as normal links. If you would like help earning links the right way, see our link building service.

Open the Anchor Text Calculator Back to Blog