AI companies run separate bots for search and for training. Blocking a training bot like GPTBot does not remove you from ChatGPT search; blocking OAI-SearchBot does.
To stay visible in AI answers, allow OAI-SearchBot, Claude-SearchBot, PerplexityBot and Googlebot.
User-triggered fetchers such as ChatGPT-User and Perplexity-User act for a person and may not follow robots.txt the same way.
Most AI companies now use different crawlers for different jobs: one to build a search index that answers can cite, one to collect training data, and one that fetches a page when a user asks. That split matters, because a robots.txt rule meant to block AI training can also make you invisible in AI search if you block the wrong bot.
The main AI crawlers at a glance
User-agent
Company
Purpose
Block it and…
OAI-SearchBot
OpenAI
Surfaces sites in ChatGPT search
You drop out of ChatGPT search answers
GPTBot
OpenAI
Collects content that may train OpenAI models
Training opt-out; search unaffected
ChatGPT-User
OpenAI
Fetches a page when a user asks in ChatGPT
robots.txt may not apply to user requests
Claude-SearchBot
Anthropic
Improves search results for Claude users
May reduce visibility in Claude search
ClaudeBot
Anthropic
Collects data for model training
Training opt-out
Claude-User
Anthropic
Fetches pages when a Claude user asks
May reduce visibility for user-directed search
PerplexityBot
Perplexity
Surfaces and links sites in Perplexity search
You drop out of Perplexity results
Perplexity-User
Perplexity
Fetches a page a user asks about
Generally ignores robots.txt (user-requested)
Googlebot
Google
Search, including AI Overviews and AI Mode
You drop out of Google Search entirely
Google also offers a Google-Extended token, which limits use of your content for training and grounding in some of Google's other AI systems. It is not a separate crawler and does not change how you appear in Google Search.
Search bots vs training bots
Think of it as two questions. Do you want AI assistants to find and cite your pages? Then allow the search bots. Do you want your content used to train future models? That is a separate choice controlled by the training bots. OpenAI states that GPTBot and OAI-SearchBot are controlled independently, and Anthropic and Perplexity document their bots the same way.
For most publishers and small businesses, being cited in AI answers is valuable traffic and brand exposure, so blocking the search bots is rarely a good idea.
Recommended robots.txt for AI visibility
This version keeps you visible in AI search and opts out of training. Delete the training section if you are happy for your content to be used for training too.
Each "/" pair goes on two lines in the real file: the User-agent line, then the Allow or Disallow line. A plain User-agent: * / Allow: / already lets every well-behaved bot in, which is what Trendifico uses.
How to check what you are blocking
Open yourdomain.com/robots.txt and search for the user-agent names above.
Check for a blanket User-agent: * / Disallow: /, often left over from a staging site.
Look at your CDN or firewall: some "block AI bots" toggles block search bots too.
Use Search Console URL Inspection to confirm Googlebot can fetch key pages.
Review server logs for the user-agent strings to see who actually visits.
Common mistakes
Blocking GPTBot and thinking you are out of ChatGPT. Search uses OAI-SearchBot.
Blocking OAI-SearchBot to stop training. That removes you from ChatGPT search without stopping training by other bots.
Relying on robots.txt for private content. It is a request, not security. Use login or noindex for anything sensitive.
Expecting instant changes. Some providers say robots.txt updates can take about a day to apply.
No. GPTBot is for training. ChatGPT search uses OAI-SearchBot, which you control separately.
Do AI crawlers respect robots.txt?
The major search and training bots from OpenAI, Anthropic and Perplexity say they follow robots.txt. Fetchers acting on a direct user request may not apply the same rules.
Does Google-Extended affect my Google rankings?
No. It controls use of content for some of Google's AI training and grounding outside Search. Googlebot still crawls for Search, AI Overviews and AI Mode.
Should a small business block AI bots?
Usually block training bots only if you feel strongly about it, and keep search bots allowed so assistants can cite and link to you.