Skip to the content
Start free

Hidden text and links

Hidden text and links are words or links placed on a page so that search engines read them but human visitors cannot easily see them, with the aim of manipulating rankings. Google lists this under its spam policies as “hidden text and link abuse”. It can lead to lower rankings or a manual action. Tabs, accordions and screen reader text are not part of it.

Google’s spam policies define it as placing content on a page “solely to manipulate search engines” and not to be easily viewable by people. Google gives 5 examples:

  • white text on a white background;
  • text hidden behind an image;
  • CSS that pushes text off the screen;
  • a font size or opacity of 0;
  • a link placed on 1 small character, such as a hyphen in the middle of a paragraph.

The test is intent and visibility together. A block of town names in pale grey at the foot of every page, there only for robots, fails. The same list shown clearly as “Areas we deliver to” is just content.

What does not count? #

The same Google page says many design elements that show and hide content are fine. Its safe list includes:

  • accordion or tabbed content that toggles between showing and hiding extra content;
  • a slideshow or slider that cycles through images or text;
  • a tooltip that shows extra text when someone interacts with an element;
  • text only reachable by screen readers, meant to help people who use them.

So a “skip to content” link or a visually hidden label on an icon button is good web accessibility, not spam. Good alt text on an image is also fine, as long as it describes the image and is not a list of phrases.

Google warns that a site breaking its spam policies can drop in the rankings, or vanish from results completely. Google finds most spam with automated systems, and a human review can lead to a manual action. That shows in Google Search Console. Once fixed, you ask Google to look again with a reconsideration request. Hidden text is one of the oldest tricks in black hat SEO, so search engines have looked for it for a long time.

Why does it matter for AI answers? #

Text hidden from people can still be read by a bot that fetches the raw HTML. That makes it a delivery route for prompt injection: instructions aimed at an AI assistant, tucked out of sight on a page. Google’s spam policies now include attempts to manipulate generative AI responses in Google Search, and its guide on AI features and your website says a page must follow Search policies to appear in them. For a business, the safe rule is simple. If a person cannot see it, do not write it for a machine. Our prompt injection checker looks for hidden instructions on a page, and the prompt injection guard (Pro) is being built to watch a whole site.

How does it happen on honest sites? #

Many cases are accidents, not schemes:

  • Theme leftovers. An old theme printed a keyword block in the footer in the same shade as the background. Nobody noticed when the site changed hands.
  • Hacked pages. Google defines hacked content as anything placed on a site without permission, and names hidden links and hidden text added with CSS or HTML as one form. Attackers add hidden links to their own sites, often in the footer, to pass link equity. This is a form of link spam and can sit unseen for months.
  • Plugins. Some free plugins and themes add a credit link set to zero size.
  • Copied layouts. A text block moved off screen during a redesign and never deleted.

Whatever the cause, the page still breaks the policy until the hidden part is gone, so an accident still needs fixing.

How is it different from cloaking? #

Cloaking serves a different page to search engines than to people, usually by checking the user agent. Hidden text serves the same page to both, but hides part of it from human eyes. Both fall under spamdexing. Hidden text is often paired with keyword stuffing, since the hidden block is usually a run of phrases.

Common mistakes #

  • Removing helpful accordions out of fear. Google’s docs list them as allowed. Keep them.
  • Hiding a link on a full stop or hyphen. Google names this exact pattern. Use clear anchor text.
  • Using the hidden attribute to hide text from only one group. MDN’s page on the hidden attribute says it hides an element from all presentations, screen readers included. Use it for content nobody should see yet, not for robot-only text.
  • Ignoring the footer. Spam links injected by attackers often live there. Check footer links after any security scare.

A worked example #

A plumber’s site loses rankings. In Search Console, the Manual actions report shows a notice for hidden text. The owner views the page source and finds a block of 40 town names inside a footer paragraph styled with a font size of 0. A developer who built the site in 2019 had added it.

The fix takes 3 steps. First, delete the hidden block. Second, build a real “Areas we cover” page with useful facts about each area, linked in the menu. Third, send a reconsideration request that explains what was removed. The plumber also checks the rest of the site for hidden links, in case the same developer left more.

How to check it #

  1. Press Ctrl and A on the page to select everything. Hidden text in the same shade as the background often shows up when highlighted.
  2. View the page source and compare it with what you see. Words in the source that never appear on screen, outside menus and panels, need a look.
  3. Run our broken link checker to list every link on the page, then spot ones you do not recognise. The broken link checker guide explains the report.
  4. Use our link rel checker to see each link’s attributes.
  5. Check the Manual actions and Security issues reports in Search Console.
  6. For a full site, a regular SEO audit or our SEO checker helps spot pages that changed.

If Bing sends you visitors, check Bing Webmaster Tools as well, since it keeps its own reports on your site.

Questions #

Is text in a mobile menu hidden text? #

No. Menus that open on a tap are normal design. They are there for people.

Can I hide text for screen readers? #

Yes. Google’s spam policies list screen reader text as allowed when it improves the experience for screen reader users.

Will removing hidden text bring rankings back? #

Not always at once. If there was a manual action, Google has to review your request. If not, the page is judged again on its next crawl.

Sources #

Updated 25 November 2026 by URSY.

Cite this page: Hidden text and links. URSY. Updated 25 November 2026. https://ursy.com/wiki/hidden-text-and-links/ · Section links

Tools for this

  • LiveImage SEO Checkeralt text, AVIF/WebP, sizes and licence markupRun the check →
  • LivePrompt Injection Checkerhidden text or planted AI instructions on a pageRun the check →
  • LiveVerify an AI Botis it really GPTBot? IP, published lists and user agentRun the check →
  • Livellms.txt Checker + Generatorcheck your llms.txt, or write llms.txt, llms-full.txt and llms.jsonRun the check →
  • LiveAI Training Opt-Out Checker + Generatorwhat each AI may do with your site, and the exact lines to change itRun the check →
  • LiveCitation Anchor Checkerdo your headings have stable links AI can cite?Run the check →
  • Pro404s with referrerBroken pages and who links to themIn URSY Pro →
  • ProAI citation trackerWhich of your pages AI links to, per promptIn URSY Pro →
  • ProAI competitor gapPrompts where rivals appear and you don'tIn URSY Pro →

All 871 wiki entries, A to Z →