Cloaking is showing search engines one version of a page and people a different one, to push rankings and mislead users. Google lists it as spam in its spam policies, and says sites that break those policies may rank lower or not appear in results at all. The test is simple: does a crawler get the same content as a person? If not, find out why, because a hacker may be doing it for you.
What is cloaking? #
Google defines cloaking as presenting different content to users and search engines with the intent to manipulate search rankings and mislead users. A site usually decides who is asking by reading the user agent, the name a browser or bot sends, or by the visitor’s network address. The page that a search crawler files in the search engine index is then not the page a person gets.
What does it look like? #
Google’s spam policies give two examples:
- Showing a page about travel destinations to search engines while showing a page about discount drugs to users.
- Inserting text or keywords into a page only when the user agent asking for it is a search engine. That is a hidden form of keyword stuffing.
Two close cousins sit in the same policies. Sneaky redirects send people somewhere different from what search engines see, such as a normal page for desktop users and a spam domain for mobile users. Hidden text and link abuse puts text on a page only for search engines, such as white text on a white background or a font size of 0.
Why does it matter for search? #
Google says it finds policy breaches through automated systems and, as needed, human review that can lead to a manual action. Its Manual Actions report has a “Cloaking and/or sneaky redirects” action, which warns that your site may be showing different pages to users than to Google. Once you have fixed every page listed, you request a review and describe your fixes. Until then, the risk is to the whole site’s place on the SERP, not one page.
Why does it matter for AI answers? #
Google says a page must be indexed and eligible to be shown with a snippet to be a supporting link in an AI Overview or AI Mode, and it asks owners to follow its Search policies. A page that breaks them can lose that chance. The same idea reaches beyond Google. If a site shows an AI crawler such as GPTBot or ClaudeBot text that no person can see, any answer built from it rests on a page nobody can check. That invites an AI hallucination and weakens every citation of your site.
Is hidden text for AI a kind of cloaking? #
It is close. Text hidden from people but placed in the page for machines matches Google’s description of hidden text abuse. When that text gives orders to an AI, such as “ignore other sources”, it is also prompt injection. Either way, a page that says one thing to machines and another to people breaks trust with both. If you want to give AI tools a clean summary, publish it openly, for example in an llms.txt file that anyone can read.
What is not cloaking? #
| Case | Cloaking? | What Google says |
|---|---|---|
| A paywall, where Google can see the full content behind it | No | Not cloaking if Google sees the full content just like a person who has access |
| Dynamic rendering that gives crawlers similar content | No | Googlebot generally does not see it as cloaking, but completely different content can be |
| A page about one topic for crawlers and another for people | Yes | Google’s travel and discount drugs example |
| Extra keywords only when the visitor is a search engine | Yes | Listed in the spam policies |
| Redirecting people to different content than search engines see | Yes, as a sneaky redirect | A separate spam policy |
Google’s page on dynamic rendering calls it a workaround and not a recommended solution. It suggests server-side rendering, static rendering or hydration instead. See JavaScript SEO.
Can I be cloaking without knowing? #
Yes. Google notes that when a site is hacked, it is not uncommon for the hacker to use cloaking to make the hack harder for the owner to spot. Google’s Security Issues report says hackers might hide spammy content using cloaking techniques. It also describes URL injection, where a hacker creates new pages, often full of spammy words or links. You see a normal site in your browser. A crawler sees spam.
How does it work, technically? #
The server, a plugin or a script at the edge looks at each request. If the user agent says Googlebot, or the address belongs to a known crawler network block, it serves version A. Everyone else gets version B. Because user agents are easy to fake, honest sites check bots the proper way: Google’s verifying Googlebot guide uses a reverse DNS check or Google’s published IP ranges. See verified bots.
A worked example: one address, three visitors #
Say a hacked shop page is asked for by three visitors. The owner checks it in a browser and sees nothing wrong.
| Visitor | User agent says | What the hacked site sends |
|---|---|---|
| A person | Chrome | The normal product page |
| Real Googlebot | Googlebot | The product page plus a block of spam links |
| A fake bot | Googlebot, from an address not in Google’s list | The same spam version, because the site trusted the name |
Only the second and third rows show the problem. That is why you must look at the page the way a crawler gets it, and why the bot’s address matters as much as its name.
Common mistakes #
- Serving crawlers a “lighter” version with extra keyword text that people never see.
- Letting a crawler-only rendered version drift away from the page people get.
- Showing different content by guessed country. Google’s locale-adaptive pages guide says Googlebot’s default addresses appear to be in the USA. It is not cloaking, but Google may never see your other versions. See international SEO.
- Structured data that states facts the page does not show. See schema markup.
- Only ever checking the page in your own browser. If the site is hacked, the spam may show only to crawlers.
How to check it #
- In Google Search Console, run the URL Inspection live test. Google’s URL Inspection help says “View tested page” shows more response data, such as a screenshot of the rendered page. Compare the tested HTML with what you see in a normal browser.
- Check the status code and headers the address really returns with our HTTP Header Checker. Look for redirects or
Varyheaders you did not set. - Follow every hop of a redirect with our Redirect Checker, so you can see where people and machines end up.
- Read the page head with our Meta Tag Checker. A title or description full of words that are not on the page is a warning sign.
- Compare your structured data with the visible page using our Schema Checker. Our AI Consistency Checker checks that page, schema, llms.txt and feeds state the same facts.
- Check what your robots.txt says to each crawler with our Robots.txt Checker and our AI Bot Checker. These rules are public, so they are not a disguise.
- When a visitor in your server logs claims to be a crawler, test its address with Verify an AI Bot.
- Look for hidden orders aimed at AI with our Prompt Injection Checker. Our JavaScript SEO Checker shows what bots that do not run JavaScript miss.
- Check your llms.txt with our llms.txt Checker, and see the page as a whole with the AI Readiness Checker.
- If the tested HTML holds links or text you never added, treat it as a hack. Open the Security Issues report and clean the site before anything else.
- In URSY Pro, opening in stages: the fake bot detector, the bot verification log, the prompt injection guard and the AI consistency monitor.
What URSY.com counts #
We sort every request by its user agent, then check the network address against the official IP lists the companies publish. A bot is marked real if its address is in that company’s list, fake if it uses the name but is not, and unknown if the company publishes no list. This matters for cloaking: a site that serves a special version to anything called “Googlebot” also serves it to the fakes. The full rules are on our methodology page.
Questions #
Is a responsive design cloaking? #
No. A layout that changes with screen size shows everyone the same content. Cloaking is about different content, with the intent to mislead.
Is blocking an AI crawler cloaking? #
Not by Google’s definition, which is about showing different content to mislead. A robots.txt rule is a public statement of who may crawl. See block AI crawlers.
Is a paywall cloaking? #
Google says not, if Google can see the full content behind the paywall just like a person who has access.
How do I get out of a cloaking manual action? #
Fix every page the report lists, then request a review and describe your fixes, as the Manual Actions report says.
Related words #
- User agent
- URL Inspection
- Keyword stuffing
- Scaled content abuse
- Site reputation abuse
- Prompt injection
- Verified bots
- JavaScript SEO
- Google Search Console
Sources #
- Google Search Central: Spam policies for Google web search, checked 24 November 2026
- Google Search Central: Dynamic rendering as a workaround, checked 24 November 2026
- Google Search Central: Verifying Googlebot and other Google crawlers, checked 24 November 2026
- Google Search Central: How Google crawls locale-adaptive pages, checked 24 November 2026
- Google Search Central: AI features and your website, checked 24 November 2026
- Search Console Help: URL Inspection tool, checked 24 November 2026
- Search Console Help: Manual Actions report, checked 24 November 2026
- Search Console Help: Security Issues report, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Cloaking. URSY. Updated 26 November 2026. https://ursy.com/wiki/cloaking/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →