How to Check Hidden Links on a Website (2026 Guide)

Hidden links sit in a page's code where visitors never see them. This guide shows six checks to find them, what Google's policy says, and how to remove them.
Quick answer: A hidden link is a link that sits in a page's code but never shows on screen, usually through CSS such as display none, zero font size, or text colored to match the background. Check for them by reading the page source, searching for hiding styles, and comparing the code against what a visitor sees, because Google treats hidden links as spam.
TL;DR: View the source, search for hiding styles, and crawl the site. Any link that exists in code but not on screen needs a decision: remove it, or make it visible.
Key takeaways
- Hidden links are links in the HTML that CSS or HTML attributes keep off screen, and Google lists hidden text and links as abuse in its spam policies, according to Google Search Central (2026).
- The six common hiding methods are display none, visibility hidden, opacity zero, off-screen positioning, zero font size, and text colored to match the background.
- To find them, view the page source and search for link tags, then compare that list against the links a visitor can actually see.
- Hidden links you did not place often mean a hacked site: Sucuri found SEO spam on 20.30% of the infected sites it cleaned in 2023, according to its 2023 threat report.
- Not all hidden content is spam: accordions, tabs, menus, and screen-reader text are fine when a visitor can reach the content.
- A bought link that is hidden still counts as a paid link, so check every placement you pay for before you count it as a win.
What hidden links are and how they work
A hidden link is an anchor tag in the HTML that a visitor cannot see, even though a crawler reading the code can. The link itself is normal.
What hides it is the styling around it: a CSS rule or an HTML attribute that keeps the element off the screen. Google's spam policies call this hidden text and link abuse, and the policy page lists it among the practices that can get a page demoted or removed from search results, according to Google Search Central (2026).
The idea is old. In the early days of search, spammers stuffed pages with keywords and links that only crawlers could read, hoping to rank for terms the page never showed to a human. Google learned to spot the trick years ago, and today its crawlers render pages much like a browser does, so most hidden links earn nothing and carry real risk instead. The link schemes Google penalizes include hidden links alongside bought links and large-scale article campaigns.
People still hide links for three reasons. The first is deliberate manipulation: a site owner adds keyword-rich links that visitors never see, hoping to pass ranking value to another page. The second is a hack: attackers inject hidden links into a compromised site to send ranking value to gambling, drug, or scam pages.
The third is carelessness: a paid placement is added to a page in a way that never renders, so the buyer pays for a link no visitor can click.
| Hiding method | How it hides the link | What to search for in the code |
|---|---|---|
| display none | Removes the element from the page layout entirely | display:none |
| visibility hidden | Draws nothing but keeps the space the link would take | visibility:hidden |
| opacity zero | Makes the link fully transparent but still present | opacity:0 |
| Off-screen position | Pushes the link far outside the visible window | left:-10000px |
| Zero font size | Draws the link text at no size at all | font-size:0 |
| Same color text | Matches the link color to the background color | color values |
Sucuri's 2023 Hacked Website and Malware Threat Report, based on 39,594 cleaned sites and 108,122,130 scans, found SEO spam on 20.30% of infected websites and in 38.3% of compromised databases. Source: Sucuri, 2023 Hacked Website and Malware Threat Report (June 2024).
How to check for hidden links step by step
Work through these six checks in order. The first three take minutes and need no paid tool. The last three catch the cases that manual reading misses.
- View the page source with Ctrl+U on Windows or Cmd+Option+U on a Mac, then search for "a href" to list every link on the page. Count them, then count the links you can see on the rendered page. A gap between the two counts is your first clue.
- Search the same source for hiding styles: display:none, visibility:hidden, font-size:0, and opacity:0. Also look for text colored the same as the background, and for links attached to a single character such as a hyphen in the middle of a paragraph.
- Turn off CSS in the browser with a developer add-on, or use a text-only view of the page. Content that only exists to feed a crawler usually becomes obvious once the styling is gone, because it sits in odd places such as the footer or below the main content.
- Crawl the site with a tool such as Screaming Frog and export every outgoing link, then compare that export against the links on the rendered pages. A link in the crawl that never appears on screen is hidden by definition, and the comparison takes minutes on a small site. For the wider backlink picture, start with a guide on how to check backlinks of any website.
- Compare what Googlebot sees with what a visitor sees. Fetch the page as Googlebot in Search Console and compare it with the live page in a browser. A large difference between the two views is a sign of cloaking, which is a separate and more serious violation than a hidden link.
- Check Google Search Console for a manual action and for pages indexed that you do not recognize. A hacked site often shows new indexed pages full of spam keywords, and the manual actions report tells you whether Google has already acted. Our guide on how to check for a manual action walks through the report.
What counts as legitimate hidden content
Not every hidden element is spam, and Google says so in its own guidance. The test is whether a real visitor can reach the content, not whether it is visible the moment the page loads.
Content behind an accordion, a tab, a menu, or a "read more" control is fine, because one click brings it into view. Screen-reader text is fine too, because it exists for people who use assistive technology, and Google explicitly allows descriptive text for images, video, and JavaScript elements.
The same rule covers mobile layouts. A menu that collapses on a small screen hides links from view, but the visitor can open it, so it is not abuse. What crosses the line is content with no path to visibility at all: text in white on a white background, a link at zero font size, or a block pushed thousands of pixels off screen. If the only audience for the content is a crawler, Google treats it as manipulation.
What to do when you find hidden links
Start by deciding who put them there. If you placed them yourself, remove them now. Hidden links add no ranking value in 2026 and they put the page at risk, so there is no version of this tactic worth keeping. Replace any hidden link with a visible one in relevant text, or drop it entirely.
If you did not place them, treat the site as hacked. Update the content management system, themes, and plugins, change every admin password, and remove the injected links from the code and the database.
Sucuri's 2023 report found that 49.21% of compromised websites had at least one backdoor at the point of infection, according to the same report, so cleaning the visible links without closing the backdoor means the links come back. After cleanup, request a review in Search Console and read our guide on how to remove toxic backlinks for the links pointing at your site from hacked pages.
If the hidden link is one you paid for, go back to the seller. Ask for a visible placement in the article text, or ask for a refund and a replacement on a clean page. A link no visitor can see sends no referral traffic and little ranking value, so paying full price for it is a bad deal on any measure.
Frequently Asked Questions
What is a hidden link?
A hidden link is a link in a page's HTML that visitors cannot see, usually because CSS hides it with display none, zero font size, opacity zero, off-screen positioning, or text colored to match the background. Google lists hidden text and links as a spam policy violation.
Can Google see hidden links?
Yes. Google renders pages much like a browser and can detect hidden text and links, and its spam policies list them as abuse. A hidden link is more likely to hurt the page than to help it, because Google may ignore the link, demote the page, or apply a manual action.
Are accordions and tabs hidden links?
No. Content behind an accordion, tab, or menu is legitimate when a visitor can reveal it with one click. Google only treats content as abuse when no visitor can ever reach it, such as text in white on a white background or a link pushed off screen.
How do I know if my site was hacked with hidden links?
Look for links in the page source that do not appear on the rendered page, new indexed pages with spam keywords, and warnings in Google Search Console. A sudden drop in traffic or a manual action notice often follows a hack, so check the source code first and the security reports second.
Do hidden links pass ranking value?
Almost never in a useful way. Google's systems are built to discount links that visitors cannot see, and a page full of them risks a penalty instead. A visible link in relevant text from the same page is worth far more than any hidden one.
Expert verdict
Best for: site owners auditing their own pages, and buyers checking a paid placement before they count it as delivered.
Not for: anyone looking for a shortcut to rankings, because hidden links are a known spam signal and Google discounts them.
Pros: the checks are free and fast; view source plus a crawl finds nearly every hidden link on a site.
Cons: a hacked site needs a full cleanup, not just link removal, and a hidden paid link is money spent on nothing.
For a final quality check on the sites that link to you, read our guide on how to check spam score before you trust any single metric.
Bottom line
Open the source, search for the hiding styles, and compare the code against the rendered page. Remove what you placed, clean what a hacker placed, and never pay for a link no visitor can see.
Sources
- Google Search Central: Spam policies for Google web search (2026)
- Google Search Central: Hidden text and links (2026)
- RhinoRank: Hidden links: what they are and how to find them (2026)
- Create and Grow: Hidden Links: What They Are, How to Find and Remove Them (2026)
- Sucuri: 2023 Hacked Website and Malware Threat Report (2024)
- SerpKeeper: Hidden Text and Hidden Links Checker (2026)
The BacklinkPrice Team researches backlink prices, publisher sites and link building tools. We check prices and plans against each provider's own pages and date them, so you know how current the numbers are.
More from BacklinkPrice TeamRelated guides





