AI Crawlers and robots.txt: Which Bots to Allow in 2026
By Sudip Acharya · · 2 min read
GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended and more: what each AI crawler does, the difference between training and search bots, and a robots.txt setup for AI visibility.
Most AI companies run separate crawlers for training models and for answering live search questions. If you block everything with "AI" in the name, you may also block the bots that get you cited. Here's what each one does.
What are the main AI crawlers and what does each do?
| Company | User agent | Purpose |
|---|---|---|
| OpenAI | GPTBot |
Collects training data |
| OpenAI | OAI-SearchBot |
ChatGPT search results |
| OpenAI | ChatGPT-User |
Fetches pages when a user asks ChatGPT to |
| Anthropic | ClaudeBot |
Collects training data |
| Anthropic | Claude-SearchBot / Claude-User |
Search results and user-requested fetches |
| Perplexity | PerplexityBot / Perplexity-User |
Perplexity search index and user-requested fetches |
Googlebot |
Search, including AI Overviews and AI Mode | |
Google-Extended |
A control token for use of content in Gemini models and grounding, not a separate crawler |
Check each company's documentation (linked below) before relying on this table, because names and behaviour change.
Should you block AI training bots, search bots, or both?
These are two separate choices:
- Do you want to be cited in AI answers? If yes, allow the search and user-fetch bots: OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User and Googlebot.
- Do you want your content used to train models? If no, block the training bots: GPTBot, ClaudeBot and Google-Extended.
Blocking Google-Extended doesn't remove you from AI Overviews or AI Mode. Those are part of Search. To limit snippets there, use nosnippet, data-nosnippet or max-snippet.
Example robots.txt for AI search visibility
To allow AI search visibility while opting out of training:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xml
This site allows all of them, because I want maximum visibility. That's a business decision, not a rule.
How to check AI crawlers can access your site
- Server logs: confirm the bots are actually reaching your pages. Some CDNs and firewalls block AI bots by default.
- CDN settings: Cloudflare and others offer AI bot blocking switches. Check that they match your robots.txt decision.
- JavaScript rendering: many AI crawlers don't run JavaScript, so key content should be in the initial HTML.
Common robots.txt mistakes with AI bots
- Blocking every AI bot "for safety", then wondering why AI assistants never cite you.
- A CDN rule that contradicts robots.txt.
- Key content that only appears after JavaScript runs.
Sources
Frequently asked questions
Should I block AI crawlers?
Block training crawlers if you don't want your content used to train models, but allow search and user-fetch crawlers if you want to appear and be cited in AI search answers. They're separate bots with separate user agents.
Does blocking Google-Extended remove me from AI Overviews?
No. Google-Extended controls use of content for Gemini models and grounding. AI Overviews and AI Mode are part of Search and use Googlebot. To limit how content appears there, use Search controls such as nosnippet.
What is the difference between GPTBot and OAI-SearchBot?
OpenAI uses GPTBot for collecting training data and OAI-SearchBot for ChatGPT search results. You can block one and allow the other.