On-page & contentBeginner

Hidden Text

Hidden text is content placed on a page so search engines see it but users do not, to manipulate rankings. Google's spam policies prohibit it.

Also called: Hidden text and links, Hidden content

Hidden text means putting words or links on a page in a way that visitors cannot see, but that crawlers can read, to influence rankings. Google's spam policies list hidden text and link abuse with examples like white text on a white background, text behind an image, text positioned off screen, zero font size, and links hidden in a single small character. Legitimate ways of collapsing content, such as tabs and accordions, are a different matter.

What counts as hidden text abuse

The defining feature is intent to manipulate: the content is there for crawlers, not people.

  • Text the same color as the background
  • Text positioned off screen with CSS
  • Font size or opacity set to zero
  • Keyword blocks hidden behind images
  • A link on a single hyphen or period

What is fine

Google's policy explicitly notes that not all hidden content is deceptive. Content in tabs, accordions and expandable sections that users can open is normal design, and under mobile-first indexing Google has said such content is treated as part of the page. Text for screen readers, image alt attributes and descriptive labels that improve accessibility are also fine.

How it happens by accident

A theme change can turn text the same color as a new background. A CMS might keep old SEO text in a hidden div. A hacked site may have spam links injected with display:none. A crawl that compares rendered visible text with HTML text can surface these.

Example

Leftover SEO text in a template

During a redesign audit, hypothetical CRM Mossgate found a hidden div on its homepage containing a paragraph of keyword variations, added years earlier by a previous agency. It was removed immediately, along with similar blocks on three landing pages.

Common mistakes

Avoiding accordions out of fear

Collapsible sections that users can open are fine. The issue is content users can never see.

Questions

Yes. Google has said content in tabs and accordions is indexed and treated as part of the page under mobile-first indexing.

Know the terms. Now win the searches.

We find the searches your buyers make, then build, publish and improve the pages that win them.