GPTBotcollects content that may be used to train OpenAI’s models. Blocking it is a licensing choice, and it doesn’t affect you in ChatGPT search.OAI-SearchBotlets ChatGPT find and cite your pages. If you block it, you won’t appear in ChatGPT’s search answers, although you may still appear as a navigational link.ChatGPT-Userfetches a page because a person asked for it, and OpenAI says robots.txt may not apply to it.- A crawler only follows the groups that name it, and only uses
User-agent: *when no group names it. If you give a bot its own group, it stops reading your*rules. - Claude, Gemini, Perplexity and Apple also separate training from answering, each with their own tokens.
"Block the AI bots" is a common robots.txt request, and it’s easy to get wrong. Usually, the goal is simply don’t train on my content. However, the result is often that the site is no longer cited by the AI assistants that buyers are now asking first. The difference comes down to which user-agent tokens you name.
Three OpenAI bots, three switches
OpenAI publishes a separate user-agent for each job, and states that each robots.txt setting is independent of the others. What you lose by blocking each one is very different:
| Token | Its job | Obeys robots.txt | Blocking it costs you |
|---|---|---|---|
| GPTBot | Collects content that may be used to train OpenAI's foundation models. | Yes | Nothing in ChatGPT search. It is an opt-out from training. |
| OAI-SearchBot | Indexes pages so ChatGPT's search features can surface and cite them. | Yes | Your place in ChatGPT's search answers. You can still appear as a navigational link. |
| ChatGPT-User | Fetches a page live when a person's request in ChatGPT or a custom GPT calls for it. | Not always | Little via robots.txt, which may not apply. Real blocking happens at the server. |
OpenAI also runs OAI-AdsBot, which checks landing pages submitted as ChatGPT ads. It only matters if you advertise there.
The robots.txt that does it
To opt out of training and stay citable, name GPTBot and leave the search crawler alone:
# Opt out of OpenAI model training User-agent: GPTBot Disallow: / # Everyone else, including OAI-SearchBot, follows the usual rules User-agent: * Disallow: /admin/
That’s the only change you need. OAI-SearchBot isn’t named, so it follows the * group and crawls like any search engine. You don’t need to add an Allow for it. If you want to add one anyway, read the next section first.
There are two details that people often miss. OpenAI says its search results can take about 24 hours to reflect a robots.txt change, but it doesn’t give a timeline for GPTBot. Check your logs instead of assuming. Also, robots.txt only asks crawlers not to fetch your pages from now on. It doesn’t delete anything that has already been collected.
The costly mistake.It’s easy to add OAI-SearchBot to the same block as GPTBot "to be thorough". The site is then excluded from training, but it’s also excluded from ChatGPT’s cited sources. In our audits, we note a blocked GPTBot as a licensing choice. A blocked OAI-SearchBot is the first thing we flag.
The grouping trap
robots.txt isn’t a set of layered rules. Under the standard (RFC 9309), a crawler follows every group whose User-agent line names it, with their rules combined. It only uses the * group when no group names it. Here is an example of how a well-meant file can go wrong:
User-agent: * Disallow: /admin/ Disallow: /cart/ Disallow: /search User-agent: GPTBot Disallow: / # "Make sure ChatGPT search can still get in" User-agent: OAI-SearchBot Allow: /
GPTBot is blocked, as intended. However, OAI-SearchBot now has its own group, so it no longer reads the * rules. It can now crawl /admin/, /cart/ and your internal search results, which are the pages you kept out of every other index. If you give a bot its own group, copy in every rule it should still follow:
User-agent: OAI-SearchBot Disallow: /admin/ Disallow: /cart/ Disallow: /search
It also works the other way. If * blocks everything (usually a rule left over from a staging site), a named group is the only way a crawler can get in. Also note that Disallow: with an empty value means allow everything. It doesn’t mean block.
The same split for other engines
Each of the major AI companies separates training from answering, but in slightly different ways. This table shows the tokens for each job:
| Engine | Training token | Answer / search tokens |
|---|---|---|
| OpenAI | GPTBot | OAI-SearchBot, ChatGPT-User |
| Anthropic | ClaudeBot | Claude-SearchBot, Claude-User |
| Google-Extended | Googlebot (Search, including AI Overviews and AI Mode) | |
| Perplexity | None; neither bot crawls for training | PerplexityBot, Perplexity-User |
| Apple | Applebot-Extended | Applebot |
There are three that need a closer look:
- Google-Extended isn't a crawler. It never shows up in your logs. It is a robots.txt token that tells Google how content fetched by its usual crawlers may be used. Google says it does not affect inclusion or ranking in Google Search, and that it also governs grounding in some of Google's other systems. So blocking it can cost you in Gemini's own answers, even though AI Overviews are unaffected. To limit AI Overviews, you use the Search controls:
nosnippet,data-nosnippet,max-snippetornoindex. - Perplexity has nothing to block for training. Perplexity says
PerplexityBotis not used to crawl for AI foundation models. Blocking it only removes you from Perplexity's answers.Perplexity-User, likeChatGPT-User, generally ignores robots.txt. - Anthropic's three bots mirror OpenAI's. Block
ClaudeBotto opt out of training. BlockingClaude-SearchBotorClaude-Userkeeps Claude from indexing or retrieving your pages for its users. Anthropic reminds site owners that the rules must be set on every subdomain.
Here is the full "no training, keep the answers" file for the main engines:
# Opt out of model training; stay citable in AI answers
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
Disallow: /
User-agent: *
Disallow: /admin/
You can list several User-agent lines in one group, which keeps the file short. Every bot named there follows that group’s rules.
Check that it worked
- Read the live file, not the repo copy. Open
yoursite.com/robots.txtin a browser. CMS plugins, CDNs and staging deploys often serve a different file than the one you edited. - Check every subdomain.
docs.,blog.andshop.each serve their own robots.txt, and each needs its own rules. - Check your CDN, not just robots.txt. A firewall or "block AI bots" setting refuses the request before robots.txt is ever read. Make sure it targets only training crawlers. Cloudflare, for one, sorts
GPTBot,OAI-SearchBotandChatGPT-Userinto separate categories, so you can block the first and allow the rest. - Watch your logs after the change.
GPTBotrequests should taper off (OpenAI gives no fixed timeline for this), andOAI-SearchBotshould keep arriving with200responses. Before you trust a user-agent, verify the IP against OpenAI's published ranges (gptbot.json,searchbot.json,chatgpt-user.json). Our AI traffic guide walks through reading those logs.
Keep in mind that letting the search crawlers in only makes you eligible to be cited. It doesn’t decide whether an AI assistant recommends you over a competitor for the questions your buyers ask. That depends on what the assistant finds when it reads about you, and the only way to see it is to ask the assistant yourself.
Being crawlable is only the first step.
At Mentrel, we check which AI crawlers can actually reach your site. We then ask ChatGPT the questions your buyers ask, several times each, to show you where you’re mentioned, which competitors are recommended instead of you, and what you can change.
See what AI says about your brandFrequently asked questions
Does blocking GPTBot remove my site from ChatGPT?
No. GPTBot only collects content that may be used to train OpenAI's models. Whether ChatGPT search can find and cite your pages is controlled by OAI-SearchBot, and OpenAI states that each setting is independent of the others. If you only block GPTBot, you can still be cited.
Can robots.txt stop ChatGPT-User?
Not reliably. ChatGPT-User fetches a page because a person asked ChatGPT to, and OpenAI says robots.txt rules may not apply to it. If you need to block these requests, do it at your server or CDN, and check the source IP against OpenAI's chatgpt-user.json first.
How long does a robots.txt change take to apply?
For ChatGPT search results, OpenAI says it takes about 24 hours after the new file is live. It doesn't give a timeline for GPTBot, so check your logs instead of assuming. Also, robots.txt only asks crawlers not to fetch your pages from now on. It doesn't delete anything that has already been collected.
Does blocking Google-Extended remove me from AI Overviews?
No. Google-Extended governs Gemini training and grounding in some of Google's other systems, and Google says it does not affect inclusion or ranking in Google Search. AI Overviews and AI Mode are part of Search, so they follow your Googlebot rules and the nosnippet, data-nosnippet, max-snippet and noindex controls.
Should I block every AI crawler to be safe?
Only if you're willing to disappear from AI answers. Blocking everything treats training crawlers and answer crawlers the same, so you opt out of training and out of being cited at the same time. Decide for each bot. Blocking training tokens is a licensing choice. Search and user tokens decide whether AI assistants can cite you.