AI crawlers are the bots that AI companies use to read web pages. The companies split this traffic into three jobs: collecting for model training, indexing for search answers, and on-demand fetching when a user asks. Each job has its own token in robots.txt, and blocking one does not block the others. This post covers the three bot types, the token list by company and sample robots.txt blocks.
Three jobs, three separate tokens
A bot reads the robots.txt group that matches its own token and applies only that group. The token is the short name written on the User-agent: line: GPTBot, ClaudeBot, PerplexityBot. The long User-Agent string the crawler sends carries this name inside it. RFC 9309 asks for case-insensitive matching.
That is why companies give each job its own name. A site that blocks a company's training bot can stay open to the same company's search bot. OpenAI states plainly in its documentation that these settings are independent of each other. We covered the basics of groups, matching and Disallow rules in What Is a robots.txt File and How Do You Read It?.
The three jobs break down like this:
- Training: Collects pages, and the content may end up in the training data of future models.
- Search and citation: Indexes pages, which get linked as sources in AI answers.
- On-demand fetching: Opens a single page at the moment a user asks. It is not crawling.
Bots that collect for training
Blocking a training token tells the company you do not want your content used to train models. Two of these tokens are not even crawlers. Google-Extended and Applebot-Extended send no requests to your site. They decide whether data collected by Google's and Apple's regular bots may be used for training.
| Company | Token | What the documentation says |
|---|---|---|
| OpenAI | GPTBot | Blocking it asks that the content not be used for training |
| Anthropic | ClaudeBot | Follows robots.txt, Crawl-delay is supported |
Google-Extended | A usage permission, not a crawler; does not affect Search | |
| Apple | Applebot-Extended | Not a crawler; controls training use of Applebot data |
| Meta | meta-externalagent | Blocking example given, no explicit compliance statement |
| Common Crawl | CCBot | Blocking example given: Disallow: / |
Two details often get mixed up. According to Google's documentation, Google-Extended covers grounding as well as training. Grounding means feeding the model content from the Search index at prompt time. Apple's documentation, for its part, says Applebot may also supply data for training generative models. So on Apple's side, the line that blocks training is the Applebot-Extended line.
The documentation describes meta-externalagent with two jobs: model training and product improvement by indexing content directly. Blocking it blocks both.
CCBot does not collect for one company's model but for a public crawl archive. You cannot use robots.txt to choose who uses a page in that archive, or for what. Blocking it only stops future crawls. We explained how the archive is built in What Is Common Crawl?.
Search and citation bots
A site that blocks a search bot does not appear as a source in that company's AI answers. OpenAI's documentation says this explicitly for OAI-SearchBot. A site that wants to block training and stay visible keeps these tokens open.
| Company | Token | What the documentation says |
|---|---|---|
| OpenAI | OAI-SearchBot | Blocked sites do not appear in ChatGPT search answers |
| Anthropic | Claude-SearchBot | Follows robots.txt; blocking may reduce search visibility |
| Perplexity | PerplexityBot | Allowing it is recommended to appear in search; not used for training |
| Apple | Applebot | Complies; follows Googlebot rules if it is not named |
| Meta | meta-webindexer | Allowing it enables citation in Meta AI answers |
Googlebot | Always follows robots.txt for automatic crawling |
The Apple rule is a trap. If your file never mentions Applebot but has a dedicated group for Googlebot, Applebot applies that group. An exception you wrote for Googlebot affects Apple too.
Changes take time to show up. OpenAI gives about 24 hours for the search side. Meta also recommends waiting up to 24 hours. RFC 9309 asks that a cached file generally not be used for longer than 24 hours.
On-demand fetching and the limit of robots.txt
robots.txt is not access control. RFC 9309 says so in its introduction: the rules are not a form of authorization. The file is a request addressed to automated crawlers. Whether to honor it is the policy of the company that runs the crawler.
For on-demand fetching, company policies diverge. When a user pastes a link and says "summarize this", the request does not count as a crawl. That is why some companies do not apply robots.txt to these requests:
| Company | Token | What the documentation says |
|---|---|---|
| OpenAI | ChatGPT-User | User-initiated, so robots.txt rules may not apply |
Google-Agent | User-triggered fetchers generally ignore robots.txt | |
| Perplexity | Perplexity-User | Generally ignores it because the request comes from a user |
| Meta | meta-externalfetcher | May bypass it because it fetches at a user's request |
| Anthropic | Claude-User | The company states that its bots follow robots.txt |
None of these lines is doing anything hidden. They all identify themselves and publish their rules. Still, a Disallow: / written for ChatGPT-User in robots.txt does not mean the page will not be opened.
Content that truly has to stay closed is protected on the server: a login, a paywall, a rate limit. To check whether a bot is who it claims to be, use the IP lists the companies publish. OpenAI publishes a separate JSON list for each bot. Google is trialing signed identity for Google-Agent. We described that method in What Is Web Bot Auth?.
Sample robots.txt blocks
The file below blocks training and keeps AI search open. Several User-agent lines can share one group. That keeps the list short.
# Collection for model training: blocked
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: meta-externalagent
Disallow: /
# AI search and citation: open, except account pages
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Disallow: /account/
# Everyone else
User-agent: *
Disallow: /account/
Sitemap: https://example.com/sitemap.xmlThe trap is in the middle group. When a bot-specific group exists, the bot never reads the * group. Had we written only Allow: / in the search group, the /account/ ban would not have reached the search bots. That is exactly what happened in our test: in that version, /account/orders came out open for OAI-SearchBot. Repeat shared bans in every specific group.
You can also block only part of the site from training instead of the whole thing:
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /archive/
Disallow: /premium/
User-agent: *
Disallow:With this file, training bots can read every path except /archive/ and /premium/. Other bots have no restrictions.
The same rule for your own bot
If you are the one collecting data, the same rules apply to you. A proxy changes the IP a request leaves from. It does not change the site's preference in robots.txt. Give your bot a name, put that name and a contact address honestly in the User-Agent, and read robots.txt under that name.
The example below downloads robots.txt through a proxy, skips blocked paths and honors the Crawl-delay value:
import time
import requests
from protego import Protego
BOT = "ExamplePriceBot"
UA = f"{BOT}/1.0 (+https://example.com/bot)"
PROXY = "http://user:pass@pr.proxynet.io:8000"
s = requests.Session()
s.headers["User-Agent"] = UA
s.proxies = {"http": PROXY, "https": PROXY}
site = "https://example.com"
r = s.get(f"{site}/robots.txt", timeout=10)
if r.status_code >= 500:
robots = Protego.parse("User-agent: *\nDisallow: /") # unreachable: everything blocked
elif r.status_code >= 400:
robots = Protego.parse("") # no file: no restrictions
else:
robots = Protego.parse(r.text)
delay = robots.crawl_delay(BOT) or 1
for path in ["/product/123", "/account/orders"]:
url = site + path
if not robots.can_fetch(url, BOT):
print(path, "-> blocked by robots.txt, skipped")
continue
print(path, "->", s.get(url, timeout=15).status_code)
time.sleep(delay)Pass only the bot name to can_fetch, not the full User-Agent string. Do not impersonate another bot's token. The site owner should be able to write a group just for you and recognize you. Large-scale crawling setups are covered on our web crawler solution page.
Debugging
When a rule seems not to work, the cause is usually the file itself. Common cases:
- The change is new. Bots read the file from cache. Wait a day.
- A subdomain was forgotten.
shop.example.comneeds its own robots.txt. Anthropic's documentation also spells this out for each subdomain. - A specific group overrode the
*group. Shared bans that are missing from specific groups do not apply to those bots. Google-Extendedis blocked, but Google shows up in the logs. That is expected. The token does not crawl, and Googlebot keeps crawling.ChatGPT-UserorPerplexity-Usershows up in the logs. This is not a crawl but a user's request. Their documentation says robots.txt may not apply to these requests.
If you are not sure the name in your logs is real, compare the request's IP with the list the company publishes. Anyone can write any User-Agent string.
How we checked
On December 1, 2026, we read the tokens and robots.txt policies from the companies' own documentation. The sources are the crawler pages of OpenAI, Anthropic, Google, Apple, Meta, Common Crawl and Perplexity. For Google, we checked the common crawlers and user-triggered fetchers pages separately. We left out any token we could not verify in the documentation. The "What the documentation says" column reflects only what the documentation states; we did not measure behavior.
We tested both sample files on Python 3.13.17 with protego 0.6.2 and the standard urllib.robotparser, across 21 token and path pairs in total. Both parsers gave the same result for short tokens. When given the full User-Agent string, urllib.robotparser could not find the GPTBot group and treated the path as open. We ran the Python example with requests 2.34.2 through a local test proxy that requires a password, against an HTTP target. The target server logged two requests under the bot name, and the blocked path was never requested.
The bottom line
Block the training tokens, keep the search tokens open, and repeat shared bans in every specific group. Even if you use Residential Proxy for your own collection, the rule stays the same. Above all, identify your bot with an honest name and never send a request without reading robots.txt first.
Sources
- RFC 9309, Robots Exclusion Protocol: rfc-editor.org
- Overview of OpenAI Crawlers: developers.openai.com
- Does Anthropic crawl data from the web, and how can site owners block the crawler?: support.claude.com
- List of Google user-triggered fetchers: developers.google.com
- Perplexity Crawlers: docs.perplexity.ai
Frequently asked questions
Does blocking GPTBot affect whether I show up in ChatGPT search?
No. OpenAI states that the GPTBot and OAI-SearchBot settings are independent. If you write Disallow: / for GPTBot and leave OAI-SearchBot open, your content is not requested for training but can still appear as a source in ChatGPT search answers. If you do the opposite and block the search bot, expect your site not to appear in those answers.
Will blocking Google-Extended hurt my Google rankings?
No. According to Google's documentation, Google-Extended does not affect whether a site is included in Google Search and is not used as a ranking signal. The token does not crawl either. Googlebot keeps crawling your site. The only thing that changes is whether the collected content is used to train Gemini models and for grounding.
Can I block ChatGPT-User with robots.txt?
Not reliably. OpenAI says robots.txt rules may not apply to these requests because a user initiates them. Google, Perplexity and Meta define a similar exception for their user-triggered fetchers. If a page truly has to stay closed, restrict access on the server: a login, a paywall or a rule based on an IP list.
How long does a robots.txt change take to apply?
Usually within a day. RFC 9309 asks crawlers not to use a cached file for longer than 24 hours. OpenAI gives about 24 hours for the search side, and Meta recommends waiting up to 24 hours. Seeing requests that follow the old rule during this window is normal.
How can I tell whether a bot is really GPTBot?
By comparing the request's IP with the list the company publishes. Anyone can write a User-Agent string, so on its own it proves nothing. OpenAI publishes a separate JSON IP list for each bot, and Anthropic links to an IP list in its documentation. Google is trialing signed identity for Google-Agent.
Do I have to follow robots.txt when collecting data through a proxy?
Yes. A proxy changes the IP a request leaves from, not the site's preference. Give your bot a name, put that name and a contact address in the User-Agent, read robots.txt under that name, skip blocked paths and honor the Crawl-delay value. Using another bot's token misleads the site owner and stops them from writing a rule just for you.




