What Is Cloaking in SEO? Definition and Examples

What is cloaking in SEO? Showing search engines different content than users, to manipulate rankings. It breaks Google's spam policies and can get pages ranked lower or left out of results.

Cloaking in SEO is showing search engines one version of a page and users another, to push rankings and mislead people. Google’s wording: “presenting different content to users and search engines with the intent to manipulate search rankings and mislead users” (Google spam policies).

Google’s examples

  • A page about travel destinations shown to search engines, a page about discount drugs shown to users.
  • Text or keywords inserted only when the visitor is a search engine, not a human.

What is not cloaking

  • Paywalls. Not cloaking if Google sees the full content like any person with access, and you follow its Flexible Sampling guidance.
  • JavaScript and images. If crawlers struggle with them, Google points to recommendations that make the content reachable for both, “without cloaking”.

The hacked-site case

Google: “If a site is hacked, it’s not uncommon for the hacker to use cloaking to make the hack harder for the site owner to detect.” Your own pages can be cloaked without you knowing.

What happens

Google issues a manual action when a human reviewer finds pages that break its spam policies; most result in pages ranked lower or omitted from results, with no visible sign to users. The report has an entry for cloaking and sneaky redirects: the site “may be showing different pages to users than are shown to Google”. Google calls it a violation of its spam policies. After the fix you send a reconsideration request; Google says reviews can take several days or weeks (Search Console Help).

How to spot it

Load the same URL as Googlebot and as a normal browser, then compare. Free: view page as Googlebot or the full website cloaking checker. By hand: check cloaking with curl.

User-agent cloaking · IP-based cloaking · Cloaking in advertising · Website cloaking

Questions

What is an example of cloaking in SEO?

Google's examples: a page about travel destinations shown to search engines while users see discount drugs, and text or keywords inserted only when the visitor is a search engine.

Is a paywall cloaking?

Not if Google can see the full content behind the paywall, just like a person with access, and you follow Google's Flexible Sampling guidance.

What is the penalty for cloaking?

Google's manual actions report lists 'cloaking and/or sneaky redirects'. Google says manual actions result in pages or sites being ranked lower or omitted from results. After fixing, you can ask for a review.

Can my site be cloaked without my knowing?

Yes. Google says that if a site is hacked, it is not uncommon for the hacker to use cloaking to make the hack harder for the owner to detect.

Is serving different content by country cloaking?

Not by itself. It becomes cloaking when the difference is meant to mislead search engines or users. See geo cloaking.