Glossary · SEO fundamentals

What is cloaking?

Cloaking is presenting different content to search engines and people with the intent to manipulate search results. Google identifies cloaking as a spam practice. Cloaking can hide a misleading experience from a business owner while exposing customers to different content or destinations.

Updated

Which differences amount to cloaking?

The defining issue is presenting different content to search engines and people with the intent to manipulate search rankings and mislead users. A substantive difference and its purpose both matter. A broken script, responsive layout, or ordinary access restriction can produce different output without establishing deliberate deception, so investigate the behavior before assigning the label.

  • Google’s spam policies describe examples such as presenting one subject to crawlers and an unrelated subject to visitors.

    They also identify text or keywords inserted only for a search-engine user agent. The concern is the misleading difference, not merely the existence of conditional code.

  • For a service company, a legitimate repair page should explain the service customers can actually access.

    Serving extensive repair content only to crawlers while ordinary visitors encounter an unrelated promotion undermines that relationship. The page is attracting attention through information the visitor does not receive.

  • Cloaking is associated with black hat SEO because it attempts to manipulate the search system through a deceptive representation.

    A supplier describing it as a normal optimization step should explain exactly which content differs and why. A vague promise about showing search engines a “better version” is insufficient.

  • The same outward symptom can have several causes.

    A crawler might receive an error because a rendering service failed. A visitor might be redirected by compromised code. A developer might intentionally serve alternate content. Establishing those causes requires evidence beyond a screenshot of one page state.

  • Separate the policy question from immediate customer protection.

    If visitors are reaching a fraudulent destination, investigate and contain that behavior promptly. You do not need to settle every classification detail before recognizing that the published journey is unsafe or inconsistent with the business’s offer.

Compare the concepts

Different responses are not all cloaking

Compare the purpose and substantive content before applying a deceptive-delivery label.

Different responses are not all cloaking
SituationReview question
Responsive layoutDoes the same substantive information remain available?
Supported paywallDoes Google's documented access arrangement match authorized users' content?
Website experimentDoes the test follow Google's guidance without special deceptive crawler content?
Crawler-only keyword pageIs a different representation being used to manipulate rankings and mislead users?
Intent and supported implementation distinguish a policy concern from legitimate adaptation.Conceptual illustration informed by Spam Policies for Google Web Search.

How do legitimate rendering differences differ from deception?

A rendering solution can deliver substantially equivalent information through different technical forms so crawlers and users can understand the same page. That differs from changing the subject or adding exclusive search-targeting claims. Compare the meaningful content and functionality rather than expecting every HTML byte or visual detail to match across all requests.

  • A client-rendered page may assemble its content in the browser, while another route provides pre-rendered HTML.

    If both explain the same service and limitations, a technical difference does not itself establish cloaking. Inspect the text and user journey, not just whether one response contains fewer scripts.

  • Google’s dynamic-rendering guidance says that similar content delivered through this workaround is generally not considered cloaking.

    It also warns that serving completely different content through dynamic rendering can be cloaking. The tool’s name does not exempt its output from review.

  • The current guidance describes dynamic rendering as a workaround rather than a recommended long-term solution.

    It points toward approaches such as server-side or static rendering and hydration. A legacy implementation needs maintenance and equivalence checks, not an assumption that it remains sound because it once solved a crawl problem.

  • An error page produced during rendering is another case.

    Google’s guidance treats it as an error rather than automatically as cloaking. That distinction should not minimize the defect: missing service content can still interfere with discovery and the customer experience.

  • Investigate JavaScript SEO when resources or rendering failures explain the discrepancy.

    Repair the technical access to the real content. Do not respond by writing a separate crawler-only sales page that promises services ordinary users cannot find or book.

How should paywalls and gated content be assessed?

A genuine access model can show full content to authorized readers while limiting access for others, subject to Google’s stated guidance when the publisher wants indexing. The exception is conditional, not a blanket permission to show anything to crawlers. Confirm that the indexed content matches what a person with legitimate access can receive.

  • Google’s spam policy explains that its paywall exception requires Google to see the full content available to people with access and the site to follow the relevant guidance.

    Do not assume that adding a login screen or charging a fee automatically satisfies those conditions.

  • The paywalled-content documentation describes markup that helps distinguish supported gated content from cloaking.

    It applies to content the publisher wants crawled and indexed. A private customer portal can have different indexing objectives and should not be exposed simply to imitate an indexed subscription article.

  • A membership guide should deliver the substantive material the public description promises.

    Showing crawlers a complete guide while subscribers receive unrelated promotional text would undermine the claimed equivalence. The access mechanism cannot justify a misleading difference in the content itself.

  • Check how the gate appears in the published experience.

    Users should understand that access is restricted rather than mistake a blocked article for a broken page. The preview and subscription explanation should accurately describe what lies behind the restriction.

  • Appropriate structured data must reflect the gated content and follow its documentation.

    Markup is an explanatory signal, not a legal or policy exemption that validates every implementation. Verify the actual authorized-reader experience alongside the code.

  • For a service business, a downloadable guide offered after a form submission should be assessed according to its real access design.

    Do not use the language of paywall exceptions as a generic excuse for hiding the promised explanation from search visitors while exposing it only to bots.

Which request conditions can hide a discrepancy?

Conditional behavior can depend on entry route, browser state, device, network context, or a server rule. Record the conditions of a reported difference before trying to reproduce it. One ordinary direct visit may bypass the affected route, while one altered user agent may fail to activate the actual condition that caused the customer’s experience.

  • A business owner often visits while logged in to its CMS.

    That session may receive different content from a first-time visitor. Test an appropriate unauthenticated state when investigating a complaint, while preserving the customer’s reported conditions rather than treating the owner’s view as conclusive.

  • A search referral can trigger behavior that a directly typed address does not.

    A redirect may also occur only after a script loads. Record the initial URL and final destination, then inspect the request sequence to identify when the divergence appears.

  • Cookies can influence conditional output.

    Clearing them may help isolate a condition, but it can also remove the very state needed to reproduce it. Keep a record of each test state instead of repeatedly refreshing until the normal page appears and declaring the issue resolved.

  • A mobile-only change may involve a legitimate design rule, a defect, or injected behavior.

    Compare its substance with the desktop experience. Device variation does not prove deception, but it can explain why a desktop-only review missed a harmful customer journey.

  • Caching adds another layer.

    A CDN or application cache can serve an old response to some requests and a new one to others. Check cache behavior when evidence points to it. Avoid interpreting every stale version as an intentional policy violation.

  • Public tools provide observations under their own request conditions.

    A website SEO checker can support an initial inspection, but a clean snapshot does not establish that every conditional route is clean. Use targeted comparisons and server-side evidence for the reported problem.

What evidence should be collected before changing the site?

Preserve enough information to establish the affected URL, entry conditions, response, and observed difference, without delaying necessary containment of harmful behavior. Screenshots can illustrate the symptom, while request and deployment records can explain its cause. Keep private account data and unrelated customer information out of shared investigation notes wherever practical.

  • Record the exact URL rather than only the page name.

    Query parameters or path variants may activate different behavior. A complaint about “the repair page” can refer to several addresses, including an old slug or an injected URL the team did not know existed.

  • Capture the destination if a redirect occurs.

    Note whether it appears immediately or after the page loads. A server response and a script-driven navigation leave different evidence. That distinction helps the developer inspect the relevant layer rather than search the entire site blindly.

  • Save representative response details and rendered output.

    A screenshot of the final page may omit the text initially delivered to a crawler or the script that changed the destination. Conversely, raw source alone may omit content added during rendering.

  • Review recent changes that could affect the route.

    A theme update, plugin installation, edge rule, or unfamiliar file modification can provide a useful lead. A temporal match does not prove responsibility, so connect the change to the actual behavior before naming a cause.

  • Preserve logs according to the platform’s available retention and the investigation’s needs.

    An older event may become difficult to reconstruct after routine rotation. Avoid publishing raw logs that contain sensitive information merely to demonstrate that evidence was collected.

  • Write observations separately from conclusions.

    “A first-time search visitor reached this external domain” is an observation. “A competitor attacked the site” is a causal claim requiring additional evidence. This separation keeps the investigation useful and prevents unsupported accusations.

How do you compare visitor and crawler access responsibly?

Compare meaningful page content and response behavior using several relevant evidence sources, including live tests and available search inspection data. A user-agent substitution can isolate one rule but is not a complete simulation of Googlebot. Verify real crawler requests when using logs, and avoid treating one fetch as an exhaustive view of Google’s processing.

How do you compare visitor and crawler access responsibly?
Point to considerExplanation and application
Search Console URL Inspection can provide information about the inspected page and its processed or live state.Compare that with the ordinary rendered page while keeping the test date in mind. A previously indexed version and today’s browser output may differ because of a legitimate recent edit.
Inspect the main subject, service scope, and destination in both views.Decorative differences are less consequential than one route promising emergency repair and another offering only an unrelated product. Record the specific substantive disagreement instead of describing all nonidentical output as cloaking.
A browser with a changed user agent can help test whether a server rule keys on that string.It cannot prove the request came from Google. Other conditions, including network origin or cookies, may still differ from a real crawler request.
Google’s request-verification guidance describes checking requests through published IP information or the appropriate DNS verification process.A log entry containing a Googlebot user-agent string alone is not sufficient evidence of origin.
Distinguish Googlebot from other Google crawlers and user-triggered fetchers.Their purposes and request behavior can differ. A tool fetch should not be assumed to represent every automatic crawl merely because it originates from Google infrastructure.

How can a compromised site use cloaking or conditional redirects?

Unauthorized code can selectively expose injected material or destinations while leaving routine owner visits looking normal. Google notes that cloaking is common in hacked sites because it can make compromise harder to detect. Investigate unfamiliar behavior as a security issue as well as a search issue, and establish the access failure that allowed it to persist.

  • A malicious change may alter only selected pages or entry routes.

    The homepage can remain normal while an old service URL behaves differently. Review the reported address and affected patterns rather than using the clean homepage as evidence that the whole site is safe.

  • Injected pages can be another symptom.

    Search results may reference subjects the company never published. Determine whether those URLs are real generated resources, stored files, or application routes. Deleting one visible example may leave the mechanism creating others in place.

  • Google’s Security Issues report guidance explains report categories and the review process for detected security problems.

    Its presence can support investigation. Its absence should not be treated as proof that a specific customer complaint is impossible.

  • Check account and code changes with appropriate developer or security support.

    Removing injected text without addressing compromised credentials or vulnerable components can allow the problem to recur. The repair should follow the confirmed entry mechanism rather than a generic assumption about which plugin was responsible.

  • A malicious external redirect can overlap with sneaky-redirect policies.

    Its classification depends on the actual behavior. A conditional destination change is not necessarily the same as serving different on-page text, so document which mechanism exists rather than forcing every incident into one label.

  • The concept of negative SEO should not become a shortcut for attributing an incident to competitors.

    A compromise can have many origins. Establish unauthorized behavior and repair it without making claims about the attacker’s identity that the available evidence cannot support.

How should the response differ for a fault, an intentional tactic, or a hack?

Match the remedy to the established cause. Repair a rendering fault so the real content becomes accessible, remove a deliberate deceptive difference, and address both malicious output and compromised access in a hack. These situations can share symptoms, but treating them identically can leave the underlying problem unresolved or introduce unnecessary changes to legitimate features.

How should the response differ for a fault, an intentional tactic, or a hack?
Point to considerExplanation and application
For a rendering failure, inspect the failed resources and output path.The goal is equivalent access to the actual page. Replacing the failure with a crawler-only keyword block changes the policy problem instead of solving the technical one.
For an intentional tactic, identify the conditional rule and the content it creates.Remove the misleading distinction and align the page with the real offer. If a supplier introduced the behavior, request an explanation and a concrete replacement implementation rather than another undocumented workaround.
For a compromise, preserve relevant evidence where feasible and contain the harmful behavior.Restore trusted code or remove confirmed injections, then address the access or vulnerability that enabled them. Retest affected routes after the repair instead of stopping when the normal editor preview looks correct.
Check whether a manual action has been reported through the appropriate Search Console account.The Manual Actions report documentation explains the relevant review process. A security review and a manual-action reconsideration are different workflows and should not be conflated.
A report can identify required steps, but correcting one detected example may not resolve a broader pattern.Review affected templates, routes, and conditional rules according to the evidence. The scope should follow how the behavior was generated rather than the number of examples shown in a report.
After correction, retain accurate explanations of what changed.Do not promise an immediate return to previous search performance. Processing, demand, and other site conditions remain relevant. The immediate verification target is removal of the confirmed misleading behavior and restoration of the intended page experience.

How would a plumbing company investigate an inconsistent journey?

Reproduce the reported route, identify where it diverges from the normal service page, and connect that behavior to its source before choosing a repair. The invented example below illustrates the diagnostic sequence without describing a real client, confirmed attack, or measured recovery. Its purpose is to show why an ordinary owner visit is insufficient evidence.

  • Imagine a customer reporting that a plumbing page opened an unrelated promotion after a search click.

    The owner types the address directly and sees the expected repair content. That discrepancy is recorded rather than dismissed as user error or immediately labeled a competitor attack.

  • The developer tests a relevant unauthenticated search-entry route and captures the redirect sequence.

    Suppose the initial response is the expected page, but an unfamiliar script later changes the destination. The investigation now has a specific behavior and layer to examine.

  • The team traces the script to an unauthorized modification.

    It removes the injection and investigates how the file changed. A clean direct visit alone would not have exposed that mechanism, and editing the meta description would not remove it.

  • The repair includes addressing the confirmed access problem and reviewing related files or routes for the same injection pattern.

    The team follows any applicable security-report process. It avoids claiming that every possible compromise was eliminated solely because one suspicious file was deleted.

  • Finally, it tests the originally affected journey again, along with representative direct and crawler access.

    The page consistently delivers the genuine service explanation. That observation supports the specific repaired behavior, while broader search recovery requires later evidence.

How should legitimate personalization and experiments be reviewed?

Evaluate whether variants preserve the page’s substantive subject and honest offer, and examine any special treatment of crawlers. Personalization or testing does not automatically constitute cloaking, but its label cannot excuse deceptive differences. Document why content varies and confirm that the search representation does not promise a materially different experience from what customers can receive.

  • A location selector may change contact details for a customer’s chosen branch.

    That can be a legitimate service function. It becomes a different concern if crawlers are shown fictitious local offices while visitors can only contact a distant provider that does not operate in those places.

  • A test may vary a button label or page layout.

    Those differences are not equivalent to replacing a service explanation with an unrelated destination. Review the actual variants and assignment mechanism rather than approving every experiment or rejecting every visual difference by name.

  • If the site uses separate mobile routes, compare the important content and destination.

    A simplified layout should not silently remove essential conditions while the crawler-visible page advertises a broader offer. Equivalent information matters more than identical presentation.

  • Accessibility features can also alter how content is presented.

    Supporting nonvisual navigation or providing text alternatives is not a reason to hide extra search phrases from users. Preserve the genuine meaning across interfaces instead of treating assistive technology as a justification for crawler-only promotional text.

  • For a customer portal, decide what should be public and indexable.

    Some authenticated functions are appropriately private. Do not expose confidential material to crawlers merely to make every request identical, or claim that a private account page’s login response proves a spam violation.

What evidence demonstrates that a repair is complete?

Retest the confirmed affected conditions and inspect the underlying mechanism to ensure the misleading behavior no longer exists. A clean screenshot is useful but insufficient when the fault was conditional. Verification should connect the observed symptom to the repaired cause and distinguish immediate technical correction from later search-system processing or performance changes.

  • Repeat the original route where it can be reproduced safely.

    Use the relevant device and account state. If the issue depended on a cookie or referral condition, include that state rather than testing only the default browser session.

  • Check the server or application rule that generated the difference.

    Confirm that a deployment restored the intended behavior at the layer actually involved. A cache purge can reveal a fix, but it does not itself prove that the malicious or misleading rule was removed.

What final questions help avoid an incorrect diagnosis?

Ask what content differs, under which conditions, and why the difference exists. Then compare the evidence with the policy’s intent and substance requirements. This sequence avoids labeling routine technical variation as deception while still taking misleading or unauthorized behavior seriously when the actual customer and crawler journeys support that conclusion.

  • Does changing the user agent prove cloaking?

    No. It can reveal one conditional response, but it does not establish real crawler provenance, the full set of triggering conditions, or the purpose of the difference. Combine it with contextual and server evidence.

  • Does a rendering error count as cloaking?

    Google’s dynamic-rendering guidance distinguishes error output from deliberate different-subject delivery. The error still needs repair. Correct diagnosis helps the team fix the rendering mechanism rather than accuse the implementer without sufficient evidence.

  • Can a supplier show crawlers extra keyword text as an optimization?

    Google’s spam policy explicitly includes text inserted only for a search-engine user agent among its examples. Ask the supplier to remove the deceptive difference and improve the actual content customers receive.

  • Does a proper paywall remove every risk?

    No. The exception depends on meeting the relevant conditions and guidance. Confirm that authorized people receive the indexed content and that the access representation is accurate, rather than treating the existence of a gate as universal permission.

  • Can a normal homepage prove the site is clean?

    No. Conditional behavior can affect another route or visitor state. Investigate the reported path and the mechanism producing it. A business should base its conclusion on relevant evidence instead of the convenience of its usual browsing experience.

Primary documentation

Google Search Central: Spam policies; Dynamic rendering; Subscription and paywalled content. Google Crawling Infrastructure: Verify Google requests. Search Console Help: Security Issues and Manual Actions reports. Accessed 8 October 2026.

Questions about Cloaking

Is device-responsive content automatically cloaking?

No. Google's policy concerns different content or URLs shown with intent to manipulate rankings and mislead users. Legitimate adaptation is not automatically deceptive.

Google Search spam policies ↗
Are properly implemented paywalls considered cloaking?

Google documents supported paywall arrangements that give its crawler equivalent authorized access. Follow the specific paywall requirements rather than assuming any gated implementation is exempt.

Google Search documentation ↗
How can an unauthorized hack create cloaked pages?

A hack can inject conditional content or redirects for particular requests. Compare affected routes and visitor states, and investigate the mechanism rather than relying on the homepage.

Google Search spam policies ↗
How does cloaking differ from legitimate A/B testing?

Legitimate testing should not give Googlebot a separate deceptive experience. Google's website-testing guidance describes canonical, temporary-redirect and cleanup arrangements.

Google Search guidance for website experiments ↗

Continue learning

Connect this to your website

Sources

Spam Policies for Google Web Search ↗Accessed October 8, 2026SEO Starter Guide: The Basics ↗Accessed October 8, 2026Dynamic rendering as a workaround ↗Accessed October 8, 2026Subscription and paywalled content ↗Accessed October 8, 2026Verify Google crawler requests ↗Accessed October 8, 2026Security Issues report ↗Accessed October 8, 2026Manual Actions report ↗Accessed October 8, 2026Google Search guidance for website experiments ↗Accessed October 8, 2026

Published . Definitions and examples link to their supporting sources. Our SEO methodology →

SEO · Content · Local · Web Design

Connect the website work to your business.

We assess the pages, search demand, and customer actions that matter to your business, then explain where to focus the work.