Which AI crawlers should you allow in robots.txt? Allow the ones that put you in AI answers: OAI-SearchBot and Claude-SearchBot for search, and ChatGPT-User and Claude-User for live questions. Whether to allow the training crawlers, GPTBot and ClaudeBot, is a separate business decision.
OpenAI and Anthropic each document what their bots do, and the jobs differ. This post walks through what each company says, shows what my own robots.txt does today (including a mismatch I have not resolved), and ends with a short framework and a checklist you can run in about twenty minutes.
Three jobs, not one: search, fetch and training
These bots do three different jobs, and they are easy to mix up.
- Search indexing: building the index an AI search feature answers from.
- User-requested fetching: loading a page live because a person asked a question.
- Model training: collecting content that may be used to train a model.
Allowing one job does not allow the others, and blocking one does not block the rest. You decide each separately. Wanting to appear in answers means allowing the search and fetch jobs. Whether your content may be used for training is a different question, and I come back to it below.
That split is why I treat robots.txt as part of my generative engine optimization work and not as a single on-off switch for "AI".
What OpenAI says about its three bots
OpenAI documents three distinct crawlers, and confusing them costs you visibility.
- OAI-SearchBot surfaces your site in ChatGPT's search results. Blocking it removes you from those answers, though navigational links might remain.
- GPTBot crawls content for model training. Disallowing it signals that your data should not be used to train their foundation models.
- ChatGPT-User visits pages for specific user actions. It is not an automatic crawler.
Here is the critical nuance. Because ChatGPT-User actions are user-initiated, OpenAI notes it may not follow robots.txt rules. Blocking it does not guarantee it stops visiting. It also does not determine if you appear in search results. For that, you must manage OAI-SearchBot directly.
Timing matters. OpenAI states it can take about 24 hours for their systems to adjust after you update your robots.txt file. Do not expect immediate changes. If you want to appear in AI search answers, allow OAI-SearchBot. If you do not want your content used for training, disallowing GPTBot is the signal OpenAI documents.
For the full technical details and IP ranges, check the OpenAI documentation.
What Anthropic says about its three bots
Anthropic splits its crawling into three distinct roles, similar to OpenAI but with different naming conventions.
ClaudeBot is the training engine. It collects web content that could contribute to training their models. If you restrict this bot, you are signaling that your future materials should be excluded from those training datasets.
Claude-User handles user-initiated requests. When a person asks Claude a question, this bot fetches the specific page. Disabling it prevents retrieval of your content in response to a user query. Anthropic notes this may reduce visibility for user-directed web search.
Claude-SearchBot analyzes online content to improve search result quality. Disabling it prevents indexing for search optimization. This can reduce the visibility and accuracy of your content in user search results.
You can read the full details in Anthropic's crawler help article.
Here is how I categorize them:
- ClaudeBot: Training data.
- Claude-User: Real-time fetching.
- Claude-SearchBot: Search indexing.
Deciding which to block depends on your comfort with AI usage.
What blocking a search bot actually costs you
Blocking a search bot is a visibility trade-off, not a privacy shield.
OpenAI states that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. See OpenAI's crawler documentation for the specifics.
Anthropic describes the same trade-off. Disabling Claude-SearchBot prevents indexing of your content for search optimization, which may reduce your visibility and accuracy in user search results. Their help article says so directly.
User-fetch bots are narrower. Claude-User only loads a page when a person asks a question, and ChatGPT-User only acts on a user's request. Anthropic says disabling Claude-User may reduce your visibility for user-directed web search.
Training bots are a separate decision. Disallowing GPTBot or ClaudeBot signals that your content should not be used for training. It is a different setting from the search bots.
If you want to be found, the search bots need access.
The decision framework I use
If you want your content in AI answers, allow the search bots. Blocking OAI-SearchBot or Claude-SearchBot is a visibility decision, not a privacy one.
User-fetch bots trigger when a person asks a question. Blocking them stops the assistant from loading your page for that person. My view is to allow them.
Training bots are where you get to choose. Do you want your content used to improve a model you do not control? If your content is your moat, disallow the training bots. If you are building a brand, being in the training data may be worth it.
Then write the decision down. A robots.txt that allows every training bot while your public policy says you opt out is a contradiction.
Here is the setup I would suggest to most site owners:
- Allow the search and user-fetch bots.
- Disallow the training bots if your content is proprietary.
- Make your public policy say the same thing as your file.
The free AI search grader checks whether AI crawlers are allowed in your robots.txt, along with a set of other live checks.
What my own robots.txt does today
Here is what my file does today.
It has an explicit allow group for GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-Web, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended and CCBot. Every one of those groups allows everything. For all other agents there is one general rule that blocks just two paths: the CMS runtime folder and the API.
The file itself uses only standard directives: User-agent, Allow, Disallow and Sitemap. My content preferences live somewhere else, in a Content-Signal HTTP response header sent with every page. That header says search yes, AI input yes, AI training no.
The mismatch I found in my own setup
Writing this showed me a contradiction in my own setup. My robots.txt allows GPTBot and ClaudeBot, which are the training crawlers. My Content-Signal header says AI training is not allowed.
Those are mixed signals. A crawler that reads robots.txt sees an open door. A system that reads the header sees a no. I cannot tell you which one a given bot will honour, and I do not know whether my pages are in a training set today.
I have not resolved it yet. There are two ways out:
- Disallow the training bots in robots.txt so the file matches the header.
- Keep them allowed and change the header so it matches the file.
I have not decided which. When I do, the file and the header will say the same thing. If you run a setup like mine, check yours for the same kind of conflict.
A twenty-minute robots.txt check
This is the part where you stop guessing. You have twenty minutes. Use them.
- Fetch your live
robots.txt. - List every AI user agent named.
- Assign each one a job: search, fetch, or training.
- Remove contradictions with your stated policy.
- Wait out the documented delay.
- Check server logs for actual bot activity.
If you want a quick outside read first, run the free AI search grader on your URL.
OpenAI says it can take about 24 hours for systems to adjust after a robots.txt update. Source. Do not panic if changes don’t appear instantly.
Check your logs. If GPTBot is hitting pages you blocked, something is wrong. If OAI-SearchBot is absent, you might be invisible in ChatGPT search.
This isn’t about blocking everything. It’s about clarity. If you want visibility, allow the search bots. If you want privacy, block the training bots.
Make the choice. Write it down. Then verify it’s working.
What robots.txt cannot do
robots.txt is a polite request, not a security gate. It tells well-behaved crawlers where to stop. It does not stop everyone.
OpenAI is explicit about this limitation. They note that ChatGPT-User visits pages for specific user actions. Because these actions are user-initiated, the bot may not follow robots.txt rules. You can block it in your file, but it might still fetch your page if a specific person triggers that action.
This distinction matters. If you are trying to stop your content from entering training datasets, disallowing the training bots (GPTBot or ClaudeBot) is the signal both companies document. If you are trying to stop a specific user from seeing your page during a live query, robots.txt is the wrong tool.
Also, allowlisting does not guarantee citation. Being accessible to OAI-SearchBot or Claude-SearchBot means you are eligible to appear in search answers. It does not mean you will. Relevance and quality still drive the ranking.
Think of robots.txt as setting the table. It determines who can sit down. It does not decide who gets the best seat. For that, you need the actual content to be strong. Getting the content strong enough to be cited is the other half, and it is the core of my generative engine optimization work.
Do not rely on robots.txt as your primary defense against misuse. It is one layer. You need to understand the difference between fetching and training to configure it correctly.
Our take
I think most site owners overcomplicate this. You do not need a lawyer to start. You need to decide whether you want your content read by people using AI assistants right now. If yes, allow the search and user-fetch bots. Treat the training bots as a separate call about how much your content is worth to you. Whatever you pick, make robots.txt and your public policy agree.
If you want a second set of eyes on your robots.txt, I can help. Email hello@avakata.agency or call (877) 803-6027.