How to Verify Googlebot, Bingbot and AI Crawlers (GPTBot, ClaudeBot and More)

Anyone can send a request that says it’s Googlebot. The user agent is just a line of text, and scrapers routinely copy Google’s, Bing’s or OpenAI’s to slip past filters that trust it.

This page shows how to tell the real crawlers from impostors: the two verification methods the operators themselves document, a reference table for every major search engine and AI crawler, and a tested server configuration that blocks fake Googlebots without touching the real one.

This page is part of our series of server references, alongside default request size limits, default timeouts and control panel ports.

Last verified: September 2026. Crawler names, IP lists and verification methods change — AI crawlers especially. Every entry links to the operator’s own documentation; check it before building firewall rules.

Why the user agent isn’t enough

The user agent is self-reported. A scraper can send Mozilla/5.0 (compatible; Googlebot/2.1) as easily as Google can, and it often does — sites tend to trust Googlebot, so impersonating it is the easiest way past a filter.

Trusting the user agent fails in both directions. Allow anything that claims to be Googlebot, and scrapers walk through. Block by user agent alone, and you may block a real crawler whose name you mistyped. Verification means checking where the request comes from, not what it says.

Two ways to verify a crawler

Forward-confirmed reverse DNS

The method Google, Bing and Apple document. It takes three steps:

  1. Reverse lookup: resolve the request’s IP address to a hostname.
  2. Check the domain: the hostname must end in the operator’s domain — googlebot.com or google.com for Google, search.msn.com for Bing.
  3. Forward lookup: resolve that hostname back to an IP. It must match the original address.

The third step is what makes it safe. Anyone who controls an IP block can set its reverse DNS to say googlebot.com — but they can’t make Google’s DNS point googlebot.com back at their server.

$ host 66.249.66.1
1.66.249.66.in-addr.arpa domain name pointer crawl-66-249-66-1.googlebot.com.

$ host crawl-66-249-66-1.googlebot.com
crawl-66-249-66-1.googlebot.com has address 66.249.66.1

To run the three steps without a terminal, enter the IP in our reverse DNS lookup tool: it does the reverse and forward lookups and labels verified Googlebot, Bingbot and Applebot addresses.

Published IP lists

Most operators now publish the IP ranges their crawlers use, as JSON files. Matching the request’s IP against the official list is faster than DNS — no lookups per request — and it’s the only method for crawlers that don’t set reverse DNS, which includes most AI crawlers. The trade-off is maintenance: the lists change, so they need refreshing on a schedule.

Search engine crawlers

Crawlerrobots.txt tokenReverse DNS ends inOfficial IP list
GooglebotGooglebotgooglebot.com or google.comgooglebot.json and special-crawlers.json, from Google’s crawler IP ranges page
Bingbotbingbotsearch.msn.combing.com/toolbox/bingbot.json
ApplebotApplebotapplebot.apple.comApplebot IP CIDRs, linked from Apple’s Applebot page
DuckDuckBotDuckDuckBot—Published on duckduckgo.com/duckduckbot
YandexBotYandexyandex.ru, yandex.net or yandex.com—
BaiduspiderBaiduspidercrawl.baidu.com or crawl.baidu.jp—

Google also runs fetchers triggered by users — for example, when someone uses a Google tool that loads your page. Those come from separate IP lists on the same Google page, and their reverse DNS can end in googleusercontent.com.

AI crawlers

AI companies run different crawlers for different jobs, and the difference matters when you decide what to allow: blocking a training crawler doesn’t remove you from that company’s search results, and the reverse.

CrawlerOperatorWhat it doesrobots.txt tokenHow to verify
GPTBotOpenAICollects data for model trainingGPTBotopenai.com/gptbot.json
OAI-SearchBotOpenAIIndexes pages for ChatGPT searchOAI-SearchBotopenai.com/searchbot.json
ChatGPT-UserOpenAIFetches pages when a user asksChatGPT-Useropenai.com/chatgpt-user.json
ClaudeBotAnthropicCollects data for model trainingClaudeBotAnthropic’s crawler IP feed, claude.com/crawling/bots.json
Claude-SearchBotAnthropicIndexes pages for Claude’s searchClaude-SearchBotSame feed
Claude-UserAnthropicFetches pages when a user asksClaude-UserSame feed
PerplexityBotPerplexityIndexes pages for Perplexity searchPerplexityBotperplexity.ai/perplexitybot.json
Perplexity-UserPerplexityFetches pages when a user asksPerplexity-Userperplexity.ai/perplexity-user.json
AmazonbotAmazonCrawls for Amazon services, including AI featuresAmazonbotReverse DNS in crawl.amazonbot.amazon, or Amazon’s published IP list
CCBotCommon CrawlBuilds an open web archive that many AI models train onCCBotIP list and reverse DNS guidance on Common Crawl’s CCBot page
Meta-ExternalAgentMetaCrawls for Meta’s AI productsmeta-externalagentRequests come from Meta’s own network, AS32934
BytespiderByteDanceCrawls for model trainingBytespiderNo published verification method

Two things worth knowing about AI crawlers:

User-triggered fetchers are a different case. ChatGPT-User, Claude-User and Perplexity-User act on behalf of a person asking about your page, and operators handle them differently — not all of them apply robots.txt to user-triggered requests. Check each operator’s documentation before relying on robots.txt alone for these.

Blocking by IP can backfire. Anthropic’s documentation warns that blocking its IP addresses may stop its crawler from reading your robots.txt — which is how its opt-out works. To opt out of a crawler that respects robots.txt, use robots.txt; use IP verification to catch the impostors.

Tokens that control AI use without crawling

Two robots.txt tokens don’t belong to any crawler — they control how content already crawled may be used:

  • Google-Extended — whether content crawled by Googlebot may be used for Google’s AI models. Blocking it doesn’t affect Google Search.
  • Applebot-Extended — whether content crawled by Applebot may be used to train Apple’s AI models. Apple’s documentation is explicit: Applebot-Extended doesn’t crawl pages.
User-agent: Google-Extended
Disallow: /

User-agent: Applebot-Extended
Disallow: /

Generate your robots.txt for AI crawlers

Pick the AI crawlers you want to block — or use one of the shortcuts — and copy the result into the robots.txt file at the root of your site. Search engines like Googlebot and Bingbot are not affected, and the notes below the result explain what each choice does and doesn’t do.

AI crawler robots.txt generator

Choose which AI crawlers to block and copy the result into your robots.txt. Search engines like Googlebot and Bingbot are not affected.

Model training
AI search
Fetches requested by a user
Use / for the whole site, or a folder like /blog/

Crawler names as published by each operator, verified September 2026. robots.txt is a request, not an enforcement — to stop impostors, verify crawlers by IP as shown in this article. Source: copahost.com

Before you publish the file, test it. Paste the result into our robots.txt tester along with a few of your URLs — it shows which ones each crawler can reach, and the exact rule that decides. If you already have a User-agent: * group, check that the new AI groups didn’t change what Googlebot sees.

How to verify in practice

A script for one-off checks

For checking a suspicious IP from your logs, this script runs the full forward-confirmed reverse DNS check:

#!/usr/bin/env bash
# Usage: ./verify-crawler.sh IP domain-suffix [domain-suffix ...]
ip="$1"; shift
host_name=$(dig +short -x "$ip" | sed 's/\.$//' | head -n1)
if [ -z "$host_name" ]; then echo "FAIL: no PTR record for $ip"; exit 1; fi
match=0
for suffix in "$@"; do
  [[ "$host_name" == *."$suffix" ]] && match=1
done
if [ "$match" -eq 0 ]; then echo "FAIL: $host_name is not under: $*"; exit 1; fi
if dig +short "$host_name" A "$host_name" AAAA | grep -qx "$ip"; then
  echo "OK: $ip -> $host_name -> $ip"
else
  echo "FAIL: $host_name does not resolve back to $ip"; exit 1
fi
./verify-crawler.sh 66.249.66.1 googlebot.com google.com
./verify-crawler.sh 157.55.39.1 search.msn.com

Blocking fake Googlebots in Nginx

For live traffic, match against the official IP list instead of running DNS on every request. First, turn Google’s JSON into a file Nginx can read — and schedule it with cron, because the list changes. Once a day is enough: 0 4 * * * runs it at 04:00, and our cron job generator shows the next run times for any schedule you choose.

curl -s https://developers.google.com/static/search/apis/ipranges/googlebot.json \
  | jq -r '.prefixes[] | (.ipv4Prefix // .ipv6Prefix) + " 1;"' \
  > /etc/nginx/googlebot-ips.conf

Then, in the http block:

geo $verified_googlebot {
    default 0;
    include /etc/nginx/googlebot-ips.conf;
}

map $http_user_agent $claims_googlebot {
    default     0;
    ~*googlebot 1;
}

map "$claims_googlebot:$verified_googlebot" $fake_googlebot {
    default 0;
    "1:0"   1;
}

And in the server block:

if ($fake_googlebot) { return 403; }

The logic: a request that claims to be Googlebot but comes from outside Google’s list gets a 403. The real Googlebot passes, and so does every normal visitor — nothing changes for traffic that doesn’t claim to be Googlebot. The same pattern works for Bingbot and for any AI crawler with a published list: most of them use the same JSON format.

⚠️ If the JSON download fails, don’t overwrite the file with an empty one — an empty list would block the real Googlebot. Write to a temporary file and move it into place only if it isn’t empty.

Block, limit or allow?

Impostors: block. A request that claims to be a known crawler and fails verification is a scraper by definition.

Real crawlers you don’t want: robots.txt first. The major operators follow it, and it’s the opt-out they recognise. Use our robots.txt tester to confirm the rule blocks only the crawler you mean.

Real crawlers that crawl too hard: rate-limit. Send a 429 Too Many Requests instead of blocking — well-behaved crawlers slow down when they get one. And never rate-limit Googlebot by user agent alone: verify first, so a limit meant for impostors never lands on the crawler that indexes your site.

Sources

Decide who gets to crawl your server

A Copahost VPS gives you root access to Nginx, Apache and the firewall — so you can verify crawlers, block impostors and rate-limit aggressive bots without touching Googlebot. Full access logs, DDoS protection and month-to-month billing.

See VPS plans →

Frequently asked questions

How do I verify that a request is really from Googlebot?
Run a reverse DNS lookup on the IP: the hostname must end in googlebot.com or google.com. Then resolve that hostname forward — it must return the same IP. Alternatively, match the IP against Google’s published googlebot.json list.

Can the user agent be faked?
Yes, trivially. The user agent is text the client chooses to send, and scrapers often copy Googlebot’s or GPTBot’s. Verification has to check where the request comes from — its IP address — not what it claims to be.

How do I verify GPTBot and other OpenAI crawlers?
OpenAI publishes a separate IP list for each crawler: gptbot.json, searchbot.json and chatgpt-user.json, all at openai.com. A request is genuine only if its IP falls inside the list for the crawler it claims to be.

Does Anthropic publish IP ranges for ClaudeBot?
Yes. Anthropic publishes one IP feed shared by its three crawlers — ClaudeBot, Claude-SearchBot and Claude-User. Its documentation also warns that blocking those IPs can stop the crawler from reading robots.txt, so robots.txt is the recommended way to opt out.

What’s the difference between GPTBot, OAI-SearchBot and ChatGPT-User?
GPTBot collects data for training, OAI-SearchBot indexes pages for ChatGPT’s search, and ChatGPT-User fetches a page when a user asks for it. Each has its own robots.txt token, so you can block training while staying visible in ChatGPT search.

What are Google-Extended and Applebot-Extended?
Robots.txt tokens that control whether content may be used for AI models, without being crawlers themselves. Blocking Google-Extended doesn’t affect Google Search, and Applebot-Extended doesn’t crawl pages at all.

Conclusion

A crawler’s name is a claim, not a credential. Verification means checking where the request comes from — through forward-confirmed reverse DNS for the search engines that support it, or the official IP lists that most operators, including the major AI companies, now publish.

Use each tool for its job. Robots.txt is how you tell honest crawlers what to do; IP verification is how you catch the ones pretending to be honest; and rate limiting with a 429 handles real crawlers that simply crawl too hard. Keep the IP lists refreshed on a schedule, and never let a rule meant for impostors reach the crawler that indexes your site.

Share the Post:
Picture of Gustavo Gallas

Gustavo Gallas

Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development​. Also have brewing skills.