Guides
Fake Googlebot, fake GPTBot: how to check a crawler is real
A user-agent is a name the visitor writes for itself. Scrapers know which names you're likely to allow, and use them. Here's how to tell the genuine crawler from the costume.
Published · Last reviewed by the KanaryGate editorial team
Why the name in your logs can lie
Every request carries a User-Agent header that says what software sent it. The visitor writes that header itself. A scraper can send Googlebot, GPTBot or an ordinary Chrome string with no effort at all, and many do, because sites often wave famous crawlers through. If your rules trust the name, they trust the scraper. Checking identity is what lets you allow the AI crawlers you want and stop the ones you don't.
Method 1: check the published address ranges
Several operators publish the IP addresses their crawlers use, as JSON files you can download:
- Google publishes address lists for Googlebot and its other crawlers, linked from its crawler documentation[1].
- OpenAI publishes separate lists for GPTBot, OAI-SearchBot and ChatGPT-User[2].
- Perplexity publishes lists for PerplexityBot and Perplexity-User[3].
If a visitor says it's GPTBot but its address isn't in OpenAI's GPTBot list, it isn't GPTBot. Refresh the lists regularly (daily is sensible), because operators add ranges.
Method 2: reverse and forward DNS
For crawlers whose operators document hostnames, such as Googlebot, you can verify with two lookups:
- Do a reverse DNS lookup on the visitor's IP address, for example
host 66.249.66.1. The hostname should belong to the operator's documented domain. - Do a forward lookup on that hostname. It must resolve back to the same IP address. This second step matters: anyone can set reverse DNS on their own addresses to claim any hostname.
DNS lookups are slow to do on every request, so cache results, or prefer the published address lists where they exist.
When you can't verify
Some operators publish neither address lists nor hostnames. Anthropic, for example, doesn't publish address ranges for ClaudeBot[4]. That means you can't prove a visitor calling itself ClaudeBot is genuine, but you also can't prove it's fake. The honest label is unverifiable. Judge it on behaviour instead: did it read your robots.txt and respect it?
This distinction matters if you ever publish or act on what you find. Blaming a company for traffic that only used its name would be unfair and could be defamatory. Our own Scraper watch splits every name into genuine, imposter and unverifiable for exactly this reason.
Doing it on Cloudflare
Cloudflare maintains a verified-bots list and exposes it to your firewall rules, so you don't have to download address lists yourself. A rule along these lines blocks anything using a famous crawler name without being verified:
(http.user_agent contains "Googlebot" or http.user_agent contains "GPTBot"
or http.user_agent contains "OAI-SearchBot" or http.user_agent contains "ClaudeBot"
or http.user_agent contains "PerplexityBot" or http.user_agent contains "bingbot")
and not cf.client.bot
Start it on Managed Challenge rather than Block, check your logs for a day, then tighten it. Cloudflare has also begun scoring whether verified bots keep honouring site preferences over time, rather than verifying them once and trusting them for ever[5]. That followed cases where crawlers were reported changing names and networks to get around blocks[6]. We covered what the change means for UK sites.
Beyond identity: catching scrapers that pose as people
Verification catches visitors pretending to be famous crawlers. It doesn't catch scrapers posing as ordinary browsers, which is the more common disguise. For those, look at where the request comes from (cloud hosting networks rather than home or mobile broadband) and what it does (fetching pages your robots.txt forbids). A hidden trap link is the simplest behaviour test: people never see it, honest crawlers don't follow it, and everything else shows itself. Canary tokens for content explains how to turn those catches into evidence.
Frequently asked questions
What is a fake Googlebot?
Any visitor that sends a Googlebot user-agent but doesn't come from Google. Scrapers use the name because many sites allow Googlebot everywhere. Verifying the address shows the difference straight away.
How do I verify Googlebot?
Either check the visitor's IP address against the Googlebot address list Google publishes, or do a reverse DNS lookup on the address (it should end in googlebot.com, google.com or googleusercontent.com, as Google documents) and then a forward lookup on that hostname to confirm it returns the same address.
Can I verify ClaudeBot?
Not by address list: Anthropic doesn't publish one. You can't prove a visitor calling itself ClaudeBot is fake, so record it as unverifiable rather than accusing Anthropic. Its behaviour, such as fetching pages your robots.txt forbids, is still evidence about that visitor.
What are verified bots?
A list kept by a CDN such as Cloudflare of crawlers whose identity it has confirmed. Rules can then treat a verified crawler differently from something merely using its name. Cloudflare has also started scoring whether verified bots keep honouring site preferences.
Will blocking fake crawlers hurt my SEO?
No, as long as the check is done properly. Real Googlebot comes from Google's published addresses, so blocking unverified visitors using its name doesn't affect Search. Test any rule on a log-only or challenge setting first.
Sources
- List of Google's common crawlers, Google. Accessed 4 December 2026.
- Overview of OpenAI Crawlers, OpenAI. Accessed 4 December 2026.
- Perplexity crawlers, Perplexity. Accessed 4 December 2026.
- Does Anthropic crawl data from the web, and how can site owners block the crawler?, Anthropic. Accessed 4 December 2026.
- Continuous accountability for Verified bots, Cloudflare. Accessed 4 December 2026.
- Perplexity is using stealth, undeclared crawlers to evade website no-crawl directives, Cloudflare. Accessed 4 December 2026.