A backlink is a link on another website that points to a page on yours. If a running blog links to your shop's guide to trail shoes, that link is a backlink for your shop. SEOs also call them inbound or incoming links, as Backlinko's guide to backlinks notes.
This guide covers the parts of a link, why search engines care about them, what a link looks like in HTML, what the rel values mean, and four everyday examples.
What a backlink is made of
Every backlink has the same four parts. Once you can name them, link reports and SEO advice get much easier to follow.
- The linking page: the page on the other site that holds the link. Its topic and its readers decide much of what the link is worth.
- The target URL: the page on your site the link points to, such as your homepage, a product page or a blog post.
- The anchor text: the clickable words. They tell readers what to expect on the other side, and anchor text has its own glossary entry.
- The rel attribute: an optional value, such as nofollow or sponsored, that describes the linking site's relationship with the link.
Two related terms come up often. A referring domain is a whole website that links to you, however many links it sends. An internal link points from one page of your site to another, so it is not a backlink.
Why backlinks matter
Google's link best practices say Google uses links as a signal when it judges the relevancy of pages, and to find new pages to crawl. The same page adds that anchor text tells people and Google something about the page being linked to.
So a link from a page about trail running to your guide on trail shoes does two jobs. It helps search engines discover your guide, and it says something about what the guide covers.
Backlinks also send people. A reader who clicks a link in a relevant article arrives already interested in the topic, whatever happens to your rankings.
Not every link counts the same. Moz's guide to backlinks notes that links from sites related to your topic carry more weight, and that links in the main body of a page carry more than links in footers, sidebars or comment sections.
What a backlink looks like in HTML
On the page, a backlink is usually colored or underlined text. In the code, it is an anchor element with an href attribute, the form Google's link guide says it can generally crawl. Here is one link written five ways:
<p>Before your first race, read this <a href="https://example.com/trail-shoes/">guide to trail running shoes</a>.</p> <a href="https://example.com/trail-shoes/" rel="sponsored">guide to trail running shoes</a> <a href="https://example.com/trail-shoes/" rel="ugc">guide to trail running shoes</a> <a href="https://example.com/trail-shoes/" rel="nofollow">guide to trail running shoes</a> <a href="https://example.com/trail-shoes/" rel="ugc nofollow">guide to trail running shoes</a>
In the first example, the href holds the target URL and "guide to trail running shoes" is the anchor text. There is no rel value, so it is a regular link: the kind SEOs call dofollow.
The other four lines carry the rel values Google documents for outbound links. The last one combines two values in a single attribute, which Google allows.
Dofollow, nofollow, sponsored and ugc
The rel attribute is where most confusion starts. Google's page on qualifying outbound links lists three values: sponsored, ugc and nofollow. Dofollow is not among them.
A link with no rel value is a regular link. Google says you do not need to add anything to links you expect it to fetch and parse without qualifications. Those are the links SEOs call dofollow.
Google adds that links marked with these values will generally not be followed, although the linked page can still be found in other ways, such as through sitemaps or links from other sites.
Qualified links are not worthless, though. Since 2019 Google has treated nofollow as a hint rather than a strict rule, as Ahrefs' guide to backlinks explains, and any link on a busy, relevant page can still send readers.
To see which kind a link is, inspect it in your browser, or paste the page into our free Dofollow Link Checker, which sorts every outbound link on a page into dofollow and nofollow. Our glossary covers sponsored and ugc links in more detail.
Four common backlink examples
Most backlinks you will see, or pay for, fall into a few familiar types. Here are four, with where the link sits and who puts it there.
A guest post link
A guest post is an article you write, or commission, for someone else's site. Your link usually sits in the body of the article or in the author bio, and the publisher decides whether to publish it.
On Backlinks, 216 publisher sites list a guest post price upfront, from $5, so you know the cost before anyone writes a word. The guest posts page explains how an order works.
A niche edit
A niche edit, also called a link insertion, adds your link to an article that is already published and indexed. No new post is needed: the publisher edits an existing page.
Not every publisher offers this: on 14 November 2026, 122 listings did. The niche edits page covers how they work.
A press mention
A press mention is a link from a news story or a press release page. A journalist might cite your data or quote your founder, or a news site might host a release you published.
Earned mentions come from being useful to reporters. Paid press release placements are a separate route, covered on the PR backlinks page.
A directory link
A directory link comes from a listing of businesses or resources, such as a chamber of commerce member page or an industry supplier list. You usually add it yourself through a form.
Moz's guide notes that directory links typically carry less ranking value than editorial links, but can still help local SEO and brand visibility. Pick directories people actually use, and skip ones that exist only to collect links.
What makes one backlink better than another
Two links can look identical in a report and be worth very different amounts. These checks separate them:
- Relevance: the linking site covers your topic, so its readers have a reason to click.
- Real readers: the site gets organic traffic, a sign that people find and read it.
- Placement: the link sits in the body of an article, a contextual link, rather than in a footer or sidebar.
- Anchor text: descriptive and natural, not stuffed with keywords.
- Authority: the linking site has a strong link profile of its own. Ahrefs' Domain Rating measures this; Moz's Domain Authority is a separate score.
- Indexed page: the linking page is in Google's index, so search engines can find the link.
Our guide on how to get quality backlinks turns these checks into a method, from free tactics to paid placements.
How to see who links to you
Google Search Console's Links report shows a sample of the links to your own site, for free, once you verify that you own it.
To see links pointing to any site, including your competitors', you need a third-party link index such as Ahrefs, Semrush or Moz. Our guide to seeing the backlinks of any website walks through the tools, and finding competitors' backlinks shows how to turn their links into a list of your own prospects.
