Which AI crawlers should I allow in robots.txt?
Short answer
If you want to appear in AI answers, allow the crawlers behind AI search: Googlebot and Bingbot, OAI-SearchBot for ChatGPT, PerplexityBot for Perplexity and Claude-SearchBot for Claude. Training controls such as GPTBot, ClaudeBot and CCBot are a separate business decision; blocking them does not remove you from those search features. Google-Extended is a special case, because it also covers grounding in Gemini apps.
Example
robots.txt: allow AI search, block AI training
User-agent: Googlebot
User-agent: Bingbot
User-agent: OAI-SearchBot
User-agent: PerplexityBot
User-agent: Claude-SearchBot
Allow: /
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: CCBot
Disallow: /Search and user agents (these affect visibility)
- Googlebot: Google Search, including AI Overviews and AI Mode.
- Bingbot: Bing, which grounds Microsoft Copilot.
- OAI-SearchBot: ChatGPT search.
- PerplexityBot: Perplexity search.
- Claude-SearchBot and Claude-User: Claude’s web search and page fetches.
Training controls (these do not affect those search results)
- GPTBot: OpenAI model training.
- ClaudeBot: Anthropic model training.
- CCBot: Common Crawl, a public web dataset used by many AI projects.
- Google-Extended: Gemini training and grounding in Gemini apps. It does not affect Google Search.
A common mistake
A crawler follows only the most specific group that names it. If you give a bot its own group, repeat in that group any Disallow rules it should still follow.


