A contextual link is a link placed inside the main body text of a page, where the sentences around it explain what it points to. In a running-shoe review that says "the midsole uses the same foam as the brand's trail range", with the words "trail range" linked to the brand's trail shoes, that link is a contextual link.

The term describes where a link sits, not how it was earned. A contextual link can be editorial (the writer chose it freely), part of a guest post, added later to an existing article, or paid for. What makes it contextual is its position in the copy and the topic of the words around it.

The opposite is a boilerplate link: a link in a navigation menu, sidebar, footer, author bio, comment section or widget, which repeats across pages and has no sentence around it explaining why it is there.

Contextual links matter because Google reads the words around a link, not only the link itself, to understand what the destination is about. Google's link guidance says "the words before and after links matter, so pay attention to the sentence as a whole" [1]. Google also advises against chaining several links in a row, because each link then has less surrounding text to describe it [1].

The idea has a long history inside Google. A 2004 Google patent on ranking based on reference contexts describes how "data surrounding the link, data to the left of the link or to the right of the link, or anchor text associated with the link may be used to determine the context associated with the link" [2]. A patent shows what Google explored, not what it uses today, but it matches the guidance Google publishes now.

Contextual links are also the links a reader meets mid-sentence, on a topic they are already reading about, which is where a link has its best chance of being followed.

A contextual link sits in one page's body copy with relevant text around it, while a sitewide or footer link repeats on every page in the site's template with no surrounding sentence. That difference shows up in Google's spam policies: "widely distributed links in the footers or templates of various sites" and "keyword-rich, hidden, or low-quality links embedded in widgets" are listed as link spam [3].

Contextual linkSitewide or footer linkAuthor bio link
Where it sitsMain body copySite template (footer, sidebar, menu)Byline box above or below the article
Appears onOne pageEvery page of the siteEvery article by that author
Surrounding textRelevant sentencesNone or a short labelA short author description
Spam risk if manipulatedOptimized anchors in guest posts and advertorials [3]Template and widget links named in spam policies [3]Optimized anchors in guest posts [3]

A contextual link is not automatically safe. Google's spam policies also list "links with optimized anchor text in articles, guest posts, or press releases distributed on other sites" [3]. Position in the copy does not change what a link is for.

An editorial link is defined by why it exists (the publisher chose it with no arrangement), while a contextual link is defined by where it sits (in the body copy). Most editorial links are contextual, because writers cite sources mid-sentence. Not every contextual link is editorial: a link added to an article for payment sits in the copy but must be marked sponsored or nofollow under Google's rules [3][5].

Sellers sometimes use "contextual link" to suggest a link carries editorial weight. The word only describes placement. Ask how the link was placed and how it will be marked, not just where it sits.

Google has said context helps it understand links [1], but no published study shows that a contextual link passes a measurable amount more ranking value than another placement. The evidence is thinner than the confidence with which the claim is repeated.

The one large public test of surrounding text points the other way on keywords. Ahrefs studied 384,614 pages across 19,840 keywords and checked whether the words around a link correlated with rankings [2]:

Surrounding text containedAverage Spearman correlation with rankings
The exact-match keyword0.0640
All words from the query0.0205
At least one word from the query-0.0701

Ahrefs read all three as effectively no correlation [2]. That does not show context is useless. It shows that stuffing the target keyword into the sentence around a link does nothing measurable, and correlation studies cannot isolate how Google uses context.

What can be said with confidence:

  • Google reads surrounding words to understand a link [1].
  • Template, widget and footer links are named in Google's spam policies [3].
  • No public figure exists for how much more a contextual link is worth than any other placement.

Open the page and find the link. A link is contextual if it sits inside a paragraph of the main article, and the sentence around it would still make sense and relate to the destination if you read it aloud. Then check three more things:

  1. Is it unique to this page? Open two or three other pages on the site. If the same link appears in the same spot on all of them, it is a template link, not a contextual one.
  2. Does the anchor make sense out of context? Google suggests reading only the anchor text and checking "if it's specific enough to make sense by itself" [1].
  3. How is it marked? Right-click the link and choose Inspect. If the code contains nofollow, sponsored or ugc, it is a qualified link, wherever it sits [5].

For a site-wide picture, HTTP Archive's 2024 Web Almanac found that 84% of desktop and 91% of mobile home pages pass Lighthouse's descriptive link text test [4]. Most of the web already writes descriptive anchors. Generic "click here" links are the exception rather than the rule.

A good contextual link is one a reader would want to click at that point in the text. In practice that means:

  • The page is on the same topic as the destination, and the link supports the sentence it sits in.
  • The anchor is descriptive and natural. Google describes good anchor text as "descriptive, reasonably concise, and relevant to the page that it's on and to the page it links to" [1]. Branded and descriptive anchors read naturally. Repeated exact-match anchors do not.
  • It is not one of many. A paragraph stacked with links gives each one less context [1].
  • The page itself has readers. A contextual link on a page with no traffic and no indexing does little for anyone.

Aim for contextual links whenever you are earning or placing links that are meant to support rankings or bring visitors, because they are the placement Google says it reads closely [1] and the one readers actually use. Treat footer, sidebar and widget links as low value at best and a spam risk at worst [3].

Do not treat "contextual" as a quality guarantee. The questions that decide a link's worth are the same for every placement: is the linking site real and relevant, does the page have readers, is the anchor natural, and is the link marked correctly for how it was obtained [3][5].