BuiltByBadge

Backlinks

What do rel nofollow, ugc and sponsored mean, and when should you use each?

Use rel="sponsored" for any link you were paid for, in money, goods or services, rel="ugc" for links your users post, such as comments and forum replies, and rel="nofollow" when neither applies but you do not want to vouch for the page. Google says links marked with rel nofollow, ugc or sponsored will generally not be followed. Ordinary editorial links, including links between your own honest projects, need no rel value.

What do sponsored, ugc and nofollow each mean?

All three are values of the rel attribute on an <a> tag. They tell Google what kind of relationship you have with the page you are linking to. Google's Qualify your outbound links page (last updated December 10, 2025) defines exactly three, and the definitions are short enough to memorize.

ValueGoogle's descriptionTypical maker use
sponsoredLinks that are "advertisements or paid placements (commonly called paid links)"Affiliate links, paid sponsor shoutouts, a link you added because someone sent you a free product
ugc"User-generated content (UGC) links, such as comments and forum posts"Blog comments, guestbooks, a community forum, user profile links on your app
nofollowFor when the other values don't apply and you'd rather Google not associate your site with the linked page or crawl it from your siteA link to a page you are criticizing, or a source you need to mention but do not trust

Source: Google Search Central, Qualify your outbound links, updated 2025-12-10.

Notice what is missing from the table: an "internal" value, a "dofollow" value, or anything about your own sites. A plain link with no rel is the default, and it is what Google expects for normal editorial links you chose to include because they help the reader.

Mostly not, but it is no longer a hard rule. When Google introduced sponsored and ugc in its September 10, 2019 announcement, it also said all three values would be treated as hints about which links to consider or exclude, and that for crawling and indexing, nofollow became a hint as of March 1, 2020. The same post said there was no need to change nofollow links you already had.

The current documentation puts it this way: links marked with these values "will generally not be followed," but the linked pages "may be found through other means, such as sitemaps or links from other sites, and thus they may still be crawled." Two practical consequences follow.

Most confusion comes from edge cases, so here are the ones indie makers actually run into, mapped to Google's definitions and its spam policies, which list "exchanging goods or services for links" and "sending someone a product in exchange for them writing about it and including a link" as link schemes when the link passes ranking credit.

LinkUseWhy
Amazon or other affiliate linksponsoredYou earn money from it, which makes it a paid placement
A sponsor's logo in your README or on your sitesponsoredPayment for the placement, even if it is a monthly donation tier
A tool you review after the maker gave you a free licensesponsoredGoods or services exchanged for the link
Links inside comments, a guestbook or a forum you runugc (often ugc nofollow)You did not write them and cannot vouch for them
A link a long-standing, trusted community member postsOptional: noneGoogle says you might remove ugc to reward trustworthy contributors
A source you cite because it is goodNoneAn editorial link is exactly what a plain link is for
A page you link to only to warn readers about itnofollowYou do not want to be associated with it
Your own other projects, linked honestlyNoneNot paid, not user content, not distrusted; see the next section

Sources: Google Search Central qualify-outbound-links page and spam policies, both read November 2026.

When you are unsure between sponsored and nofollow for a paid link, either is fine. Google's page says nofollow "was previously recommended for these types of links and is still an acceptable way to flag them, though sponsored is preferred." What is not fine is leaving a paid link plain: the spam policies say paid links are acceptable "as long as they are qualified with a rel=\"nofollow\" or rel=\"sponsored\" attribute value."

No Google document says your own honest cross-links need any rel value, and none of the three definitions fits them: you were not paid, a user did not post them, and you presumably trust your own work. Adding nofollow there mostly throws away the discovery benefit, since Google's link best practices page explains that Google finds pages by following crawlable <a href> links.

The real risk is a different one. Google's spam policies name "widely distributed links in the footers or templates of various sites" and "keyword-rich, hidden, or low-quality links embedded in widgets that are distributed across various sites" as link spam. The word that matters is manipulating: the policy targets links created "primarily for the purpose of manipulating search rankings." A practical test that keeps you on the right side:

  1. Would the link exist if search engines did not? A "Built by" credit pointing to a page listing your work passes; a block of twelve keyword anchors does not.
  2. Is the anchor text your name or the project name, not a keyword you want to rank for? Google calls good anchor text "descriptive, reasonably concise, and relevant."
  3. Is it visible to people, not hidden in tiny gray text?
  4. Is it one link to a hub, rather than every site linking to every other site?

If you hand out a badge or widget for other people to put on their sites, the calculus changes, because that is the widget pattern the policy describes. Keep the anchor plain, or add nofollow to the embed code you distribute. For your own sites, the static badge from our three-line badge guide is a plain link with your name on it, which is the honest version. There is more on how much same-owner links are worth in do links between my own websites count as backlinks.

In plain HTML, add the attribute to the anchor. You can combine values, because Google's documentation says "you may specify multiple rel values as a space- or comma-separated list."

<a href="https://www.amazon.com/dp/EXAMPLE" rel="sponsored">the keyboard I use</a>
<a href="https://example.com/comment-link" rel="ugc nofollow">commenter's site</a>
<a href="https://example.com/sketchy" rel="nofollow noopener">the page in question</a>

Then audit a site you already shipped:

  1. List every outbound link. On a static site, a search for href="http across your HTML or Markdown files finds them all.
  2. Mark anything that earns money or was given in exchange for a product as sponsored. Affiliate links and sponsor logos are the usual misses.
  3. Find every place users can insert links (comments, profiles, submitted URLs) and make your code add ugc or nofollow automatically, so it never depends on you remembering.
  4. Remove nofollow from links to good sources you cite. Google's link page says to use nofollow "only when you don't trust the source, and not for every external link on your site."
  5. Leave links between your own projects plain, with your name or the project name as the anchor.
  6. If you used nofollow on internal links to keep Google away from pages, replace that with a robots.txt disallow rule or noindex, which are the tools Google documents for that job.

Markdown has no syntax for rel, so most static site generators either let you write a raw HTML anchor inline or offer a plugin that adds rel values to external links. If you use such a plugin, check its defaults: some add nofollow to every external link, which is the blanket approach Google advises against.

What mistakes do people make with nofollow?

Four come up constantly.

One related value is easy to mix up: rel="me" has nothing to do with ranking. It links profiles you own so services like Mastodon can verify them, covered in our rel="me" guide.

Sources

Frequently asked questions

Is rel sponsored better than nofollow for affiliate links?

Google prefers sponsored for paid links, including affiliate links, but its documentation says nofollow is still an acceptable way to flag them. Either one satisfies the spam policy. The only wrong choice is leaving a paid link with no rel value at all.

Do nofollow links help SEO at all?

They can still send referral visitors, and since March 1, 2020 Google treats nofollow as a hint for crawling and indexing rather than a strict instruction. Google has not published how much ranking weight, if any, a nofollow link carries, so be skeptical of anyone who quotes a number.

Can I use more than one rel value on a link?

Yes. Google's documentation says you may list multiple values separated by spaces or commas, for example rel="ugc nofollow" for user comments. Older crawlers that only understand nofollow will still see it, which is why that pairing is common.

Should I nofollow links to my other side projects?

There is no Google guidance asking you to. None of the three values describes an honest link to your own work. Keep it to a visible link with your name or the project name as anchor text, ideally to one hub page, and avoid keyword-stuffed footer blocks across many sites.

Does rel nofollow stop Google from indexing a page?

No. Google says nofollowed pages may still be found through sitemaps or links from other sites and crawled. To stop Google fetching a page on your own site, use a robots.txt disallow rule; to keep it out of results, allow crawling and add a noindex rule.

Built by @gloverbuilds