Key takeaways
  • Training crawlers and retrieval crawlers are different switches. Blocking GPTBot or ClaudeBot does not remove you from AI answers, but blocking OAI-SearchBot or PerplexityBot does.
  • robots.txt is a policy signal that major vendors honour for their declared crawlers. It is not a lock, and user-triggered agents and unknown scrapers cannot be relied on to follow it.
  • A user-agent string is a claim, not proof. Confirm the source IP or reverse DNS before you trust a log line or write a rule based on it.

Every AI crawler does one of two jobs

Each AI crawler in your logs either collects text to train or tune a model, or it fetches and indexes pages so an assistant can read them while answering someone's question. Training crawlers copy content into a corpus that may shape a model's weights. Retrieval crawlers feed a live answer, and those answers often link back to the pages they used. The two jobs have different consequences for your site, and most bad decisions about AI bots come from treating them as one category.

The crawlers, one at a time

Below is what each major crawler is for, based on the operator's own documentation at the time of writing. Treat the table as a starting point: vendors rename tokens and split agents, so re-check their pages before you write rules.

User-agent token Operator What it is for Blocking it changes
GPTBot OpenAI Collects data for training OpenAI's models Inclusion in future training data
OAI-SearchBot OpenAI Builds the index behind ChatGPT search Whether ChatGPT search can surface your pages
ChatGPT-User OpenAI Fetches a page when a ChatGPT user asks for it Little, since the fetch is user-initiated
Google-Extended Google Robots token (not a crawler) for Gemini training and grounding Gemini training and grounding only, not Search
ClaudeBot Anthropic Collects training data Inclusion in future training data
Claude-SearchBot Anthropic Indexes pages for search results in Claude Whether Claude search answers can use your pages
Claude-User Anthropic Fetches a page when a Claude user asks for it Little, since the fetch is user-initiated
PerplexityBot Perplexity Indexes pages for Perplexity answers Whether Perplexity can surface your pages
Perplexity-User Perplexity Fetches a page when a Perplexity user asks Little, since the fetch is user-initiated
Bytespider ByteDance Crawls for ByteDance AI and search Crawling by a high-volume, weak-compliance agent
CCBot Common Crawl Builds public archives many datasets draw on Inclusion in future Common Crawl snapshots
Meta-ExternalAgent Meta Collects data for training Meta's models Inclusion in future training data

OpenAI runs three separate agents, and the names do not describe them well. GPTBot is the training collector. OAI-SearchBot builds the index for ChatGPT search. ChatGPT-User fires when a person asks ChatGPT to open a page during a conversation. You can make each decision separately, and most sites should.

Anthropic follows the same pattern. ClaudeBot collects training data. Claude-SearchBot indexes pages for search quality in Claude. Claude-User fetches a page when a person requests it. Perplexity splits its crawler the same way: PerplexityBot indexes content for search answers, and Perplexity-User is user-initiated.

Bytespider is ByteDance's crawler. Site operators have widely reported that it is aggressive and that it ignores robots.txt or crawl-delay directives. ByteDance publishes little about its purpose, so any rule you write for it should be backed by your own logs. CCBot belongs to Common Crawl, a nonprofit that publishes large public web archives; many AI training pipelines use those archives, so CCBot is often a training decision in disguise. Blocking it stops future crawls but does not remove snapshots already published. Meta-ExternalAgent is Meta's training collector.

Training and retrieval are not the same switch

Blocking a training crawler does not take you out of AI answers. Blocking a retrieval crawler does. If you remember one line from this article, make it that one.

Two switches, not oneTraining lane - shapes what a model knows laterGPTBot · ClaudeBot · CCBot · Meta-ExternalAgent · Google-Extended (token)Blocking these removes you from future training. It does NOT remove you from AI answers.Retrieval lane - decides whether you can be cited nowOAI-SearchBot · Claude-SearchBot · PerplexityBotBlocking these removes you from AI answers. This is the expensive mistake.User-triggered lane - fires when a person opens your pageChatGPT-User · Claude-User · Perplexity-Userrobots.txt is unreliable here; restrict at the server if you must.
Block the training lane if you want; leave the retrieval lane open if you want to be cited.

Block GPTBot and allow OAI-SearchBot, and your pages stay out of future OpenAI training while ChatGPT search can still index and cite you. Reverse it, and you may be in training data while missing from ChatGPT search entirely. The same logic applies to Perplexity and Claude. Two limits matter: a training exclusion applies only to future collection, not to what a model already learned, and vendors can change what their tokens are used for, so read the current documentation before you rely on any description here.

Google-Extended is the odd one out. It is not a crawler, and Googlebot does not send it. It is a token you place in robots.txt to tell Google not to use already-crawled content for Gemini training and grounding, and Google says it does not affect Google Search or AI Overviews. The Apple equivalent is Applebot-Extended, which governs Apple's training use while leaving Applebot's search role alone.

Robots.txt: the control you actually have

robots.txt is the control the major vendors honour for their declared crawlers, and for most sites it is the only control you need. It is a set of requests, not an access control: a client that ignores it is breaking a convention, not a technical barrier.

Each rule group starts with a User-agent line, and a crawler follows the most specific group that names it. If a group names GPTBot, GPTBot ignores the * group entirely. This trips people up: someone writes a broad rule under User-agent: * to protect a private directory, then adds a GPTBot group with only an Allow line, and GPTBot now reads only its own group and fetches the private directory. Repeat the rules you want in every named group.

A basic policy that allows answer engines and blocks pure training collectors looks like this:

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: Google-Extended
Disallow: /

Crawlers fetch robots.txt on their own schedule and cache the result, so a new rule can take hours or longer to take effect. Check the logs after a change rather than assuming it applied on save. The major operators have publicly committed to honouring robots.txt for the crawlers they declare. Unknown scrapers make no such commitment, and against those, enforcement has to happen on your server or at the edge: blocking published IP ranges, rate-limiting, firewall rules, or requiring a login for content you actually need to protect.

Verify visits before you trust the log

A user-agent string is a claim the client makes about itself. Any script can send GPTBot/1.0, and any scraper can copy ClaudeBot. If you base a rule, a client report, or a "they are ignoring my file" conclusion on the user-agent alone, you will sometimes be wrong.

There are two reliable checks. The first is IP range matching: some operators publish the IP ranges their crawlers use, and if a request's source IP falls inside the published range for the bot it claims to be, the claim is well supported. The second is reverse DNS followed by forward confirmation, which Google documents for its crawlers: look up the hostname for the source IP, confirm it belongs to the operator, then look up that hostname and confirm it resolves back to the same IP.

dig -x 203.0.113.10 +short
dig +short <hostname-from-previous-line>

If the second lookup returns the original address, the hostname and IP agree. If neither method is available for a given operator, treat the request as unverified.

This is where InstantIndexingPro fits. It logs which bots fetched each URL, with status codes, so checking whether an allow rule is working or a block is holding becomes a lookup instead of a grep through raw access files. The log is only as trustworthy as the identity behind each request, so verify the source IP on the ones that matter before you draw a conclusion.

What I would do on most sites

For most business sites the default is simple. Allow the retrieval crawlers - OAI-SearchBot, Claude-SearchBot and PerplexityBot - because they decide whether your pages can be cited in AI answers, and blocking them is the most expensive mistake here. Keep Googlebot allowed too; blocking it to stop Gemini training is a mistake, because it removes you from Search, and Google-Extended already covers the Gemini question without that cost.

Then make a deliberate decision about the training collectors: GPTBot, ClaudeBot, CCBot, Google-Extended, Applebot-Extended, Meta-ExternalAgent and Bytespider. My view is that most sites can block them if they do not want their content in training corpora, because blocking them costs little in retrieval visibility. Leave the user-triggered agents allowed unless you have a specific reason to restrict them, and if you do, restrict at the server rather than in robots.txt. Keep private areas - logins, carts, account pages, internal search - closed to every crawler. Then, two weeks after a change, look at which bots arrived, verify the source IPs of the ones that matter, and confirm the blocked agents have stopped. A paywalled publisher or a company licensing its content may reasonably choose differently, but for a typical site that wants to be found, that default fits.