← All posts

AI crawlers and fetchers and how to control each one


AI bots do three different jobs: training crawlers collect pages for future models, search crawlers build an assistant's own index, and user-triggered fetchers load a page live because someone asked about it. robots.txt is the right control for the first two, but several operators say their user-triggered fetchers may ignore it, so blocking those reliably takes a CDN or firewall rule.

Mixing up the three is the usual mistake. A site blocks GPTBot and assumes it has left ChatGPT, or allows every AI bot in robots.txt while its bot-protection layer serves 403s to the crawlers it wanted. The reference below comes from each operator's own documentation. The sections after it cover the robots.txt grouping trap, testing what your CDN serves, verification, and Google's separate switches.

The bots, by job

TokenOperatorJobControlled by robots.txtBlocking it means
GPTBotOpenAITrainingYesContent flagged as not for training
OAI-SearchBotOpenAISearch indexYesLeft out of ChatGPT search answers
ChatGPT-UserOpenAIUser fetchOpenAI says it may not applyUnreliable, use a CDN rule
ClaudeBotAnthropicTrainingYesFuture content excluded from training
Claude-SearchBotAnthropicSearch indexYesLower visibility in Claude search
Claude-UserAnthropicUser fetchYesClaude cannot read the page for users
PerplexityBotPerplexitySearch indexYesNot surfaced in Perplexity results
Perplexity-UserPerplexityUser fetchPerplexity says generally ignoredUnreliable, use a CDN rule
Google-ExtendedGoogleControl token, no crawlerYesNo Gemini training or grounding use
Google-AgentGoogleAgent acting for a userGoogle says generally ignoredUnreliable, use a CDN rule
Applebot-ExtendedAppleControl token, no crawlerYesExcluded from Apple model training
CCBotCommon CrawlOpen web archiveYesOut of future Common Crawl archives
meta-externalagentMetaTraining and indexingYesExcluded from those uses
meta-webindexerMetaSearch index for Meta AIYesFewer citations in Meta AI
meta-externalfetcherMetaUser fetchMeta says it may bypassUnreliable, use a CDN rule

A few details from the operators' pages change how you read that table.

OpenAI's crawler documentation says ChatGPT-User is not used to decide whether content appears in ChatGPT search, so blocking it does not take a site out of search answers. That job belongs to OAI-SearchBot. Sites that block OAI-SearchBot can still appear as bare links. OpenAI also documents OAI-AdsBot, which visits only landing pages submitted as ChatGPT ads, and says its data is not used for training.

Anthropic's help article on its bots says all three of its bots follow robots.txt, Claude-User included, which makes it the exception among the assistants. It also supports the non-standard Crawl-delay directive.

Google-Extended and Applebot-Extended never appear in logs. Google says Google-Extended has no user agent string of its own; crawling is done by existing Google crawlers and the token only governs how that content may be used. Apple says the same of Applebot-Extended: it does not crawl, and only decides how data collected by Applebot can be used. Searching your logs for either name will return nothing, which is expected.

User agent strings carry version numbers that change over time, so match on the token (GPTBot, Claude-SearchBot) rather than the full string.

Choosing a policy

Most sites end up in one of four positions. The table lists which tokens to name for each.

GoalAllowDisallowExtra step
In AI search, out of trainingOAI-SearchBot, Claude-SearchBot, Claude-User, PerplexityBot, meta-webindexerGPTBot, ClaudeBot, CCBot, Google-Extended, Applebot-Extended, meta-externalagentNone
Open to everythingAllNoneCheck the CDN is not blocking them anyway
A section kept away from all AI botsEverything elseAll AI tokens for that pathCDN rule for fetchers that skip robots.txt
Out of Google's AI features onlyGooglebotNothing in robots.txtSearch Console setting or snippet controls

The last row is covered in the Google section below. It cannot be done in robots.txt, and blocking Googlebot to achieve it removes the site from Google Search.

The robots.txt group trap

A crawler follows one group of rules: the one whose user-agent line matches it most specifically. RFC 9309 says groups that name the same crawler are merged, and only a crawler with no matching group falls back to the group. Google's robots.txt specification describes the same behavior. The consequence surprises people: the moment you name a bot, it stops reading your rules.

Here is a common policy that goes wrong.

User-agent: *
Disallow: /cart/
Disallow: /internal-search/

User-agent: GPTBot
Disallow: /

# Added to "make sure" ChatGPT search can crawl
User-agent: OAI-SearchBot
Allow: /

GPTBot is blocked as intended. OAI-SearchBot now matches its own group, which allows everything, so it is free to crawl the cart and the internal search results the group was keeping out. The fix is either to delete the OAI-SearchBot group, so the bot falls back to the rules, or to repeat those rules inside it. A version that opts out of training, keeps search crawlers on the same rules as everyone else, and slows ClaudeBot looks like this.

# Default rules for every crawler not named below
User-agent: *
Disallow: /cart/
Disallow: /internal-search/

# Training opt-out. Several user-agent lines can share one group.
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: meta-externalagent
Disallow: /

# Search crawlers are deliberately not named, so they follow the * group.
# If you must name one, copy every * rule into its group.

Two operator quirks belong in the same review. Apple says that if robots.txt does not mention Applebot but does mention Googlebot, Applebot follows the Googlebot group, so a Googlebot-specific exception also applies to Apple's crawler. And Crawl-delay is only honored by some: Anthropic supports it, while Google and Apple say their crawlers ignore it. The guide to what robots.txt controls covers the rest of the syntax.

Testing what the CDN serves

robots.txt is a request. A firewall rule decides what actually happens. Bot-management products classify unfamiliar automated traffic, and AI crawlers often land in the blocked or challenged bucket even when robots.txt welcomes them. A quick test from the command line shows how your edge treats each user agent.

URL="https://www.example.com/a-representative-article/"
for ua in GPTBot OAI-SearchBot ChatGPT-User ClaudeBot Claude-SearchBot Claude-User PerplexityBot Perplexity-User; do
  printf "%-18s " "$ua"
  curl -s -o /dev/null -w "%{http_code} %{size_download} bytes\n" \
    -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; $ua/1.0" "$URL"
done
printf "%-18s " "browser"
curl -s -o /dev/null -w "%{http_code} %{size_download} bytes\n" \
  -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0 Safari/537.36" "$URL"

Read the output in two columns. A 403, 429 or 503 is an obvious block. A 200 with a body far smaller than the browser response usually means a challenge page served with a success code, which a crawler treats as the content of your page.

This test has a blind spot. It sends a bot user agent from your own IP address, and good bot management checks the IP as well as the user agent. A rule that blocks your spoofed request may let the genuine crawler through, and a rule keyed to verified bots will not show up here at all. The definitive check is the status codes that genuine bot traffic receives in your logs, which takes verification.

Verifying a request is genuine

Anyone can send a request that calls itself GPTBot. Before drawing conclusions from logs, confirm the traffic comes from the operator.

  1. Match the token in the user agent string.

  2. Check the source IP against the operator's published list, or run the reverse DNS check where the operator documents one.

  3. For reverse DNS, confirm the hostname resolves forward to the same IP. A PTR record alone can be set by whoever controls the IP.

  4. Only then look at what you served, such as status codes, response sizes, and the sections where the bot spends its requests.

OperatorHow to verify
OpenAIIP lists at openai.com/gptbot.json, openai.com/searchbot.json and openai.com/chatgpt-user.json
AnthropicIP list at claude.com/crawling/bots.json
PerplexityIP lists at www.perplexity.com/perplexitybot.json and www.perplexity.com/perplexity-user.json
GoogleReverse and forward DNS, or the JSON files under developers.google.com/crawling/ipranges/
AppleReverse DNS in the applebot.apple.com domain, or Apple's published IP list

Google's verification guide lists the expected hostnames for each class of Google crawler and keeps user-triggered agents such as Google-Agent in their own IP file. Anthropic adds a warning that holds for any crawler: blocking a crawler's IPs instead of using robots.txt can stop it from reading your robots.txt at all, so the opt-out may not stick. The log file analysis primer covers how to join these lists to your access logs.

Google's separate switches

Google splits AI control across several mechanisms, and only one of them is a robots.txt token.

You wantUseSide effect
Content kept out of Gemini training and groundingDisallow Google-ExtendedNone on Search inclusion or ranking
Less of a page shown in AI featuresnosnippet, data-nosnippet or max-snippetShorter or no snippets in regular results too
A site kept out of AI Overviews, AI Mode and Discover's AI featuresThe Search generative AI setting in Search ConsoleNone on ranking elsewhere, training unaffected
A page removed from Google Search entirelynoindexGone from every Search feature

Google-Extended's scope is narrower than many blocklists assume. Google's crawler documentation says it governs training of future Gemini models and grounding in Gemini Apps and Vertex AI, and that it has no effect on Search inclusion or ranking. AI Overviews draw on the normal Search index, so Google-Extended does not decide whether a page appears in them.

The Search Console setting sits under Settings, labeled Search generative AI. Google began rolling it out to a first group of site owners in June 2026, and its help page says the setting is not used as a ranking signal for other parts of Search and does not cover training. For the strategic side of that choice, the guide on how AI search picks its sources sets out what opting out costs.

Load and crawl rate

When AI crawlers put real load on a site, rate limiting is usually a better answer than a block. A CDN rule that returns 429 to one bot above a threshold protects the origin without changing your policy. ClaudeBot also honors Crawl-delay. Google and Apple say their crawlers do not, so that directive is no help with them.

Slow origin responses hurt every crawler at once, which is why the effects described in what a slow server costs your SEO apply to AI bots as much as to Googlebot. On large sites, check whether the extra requests land on faceted or parameter URLs; the crawl budget guide covers how to find and close those traps.

A practical first pass takes an afternoon: run the curl loop against three templates, pull a week of verified bot requests from the logs, and compare both with what your robots.txt says should happen. Wherever the three disagree, the CDN or the file needs fixing.