In short: Allow the AI search bots if you want to be recommended in AI answers. Blocking AI training bots is a separate choice that doesn't remove you from AI search.
Search bots vs training bots
AI companies run different crawlers for different jobs. Some fetch pages to answer users' questions right now (search bots). Others collect content to train future models (training bots). You can treat them differently.
| Bot | Company | What it does | Our suggestion |
|---|---|---|---|
| OAI-SearchBot | OpenAI | Finds pages for ChatGPT search results | Allow if you want to appear in ChatGPT search |
| ChatGPT-User | OpenAI | Fetches a page when a ChatGPT user asks about it | Allow |
| GPTBot | OpenAI | Collects content for training OpenAI models | Your choice |
| PerplexityBot | Perplexity | Indexes pages for Perplexity answers | Allow if you want Perplexity citations |
| Claude-SearchBot | Anthropic | Finds pages for Claude's search answers | Allow if you want to appear in Claude search |
| ClaudeBot | Anthropic | Collects content for training Claude models | Your choice |
| Google-Extended | Controls use of your content for Gemini training and grounding; does not affect Google Search | Your choice | |
| Applebot-Extended | Apple | Controls use of content for Apple's AI models | Your choice |
| CCBot | Common Crawl | Builds an open web archive used by many AI projects | Your choice |
| Bingbot | Microsoft | Bing search, which also powers Microsoft Copilot answers | Allow |
An example robots.txt
This allows AI search and keeps training opt-outs. Adjust it to your own preference:
User-agent: OAI-SearchBot Allow: / User-agent: ChatGPT-User Allow: / User-agent: PerplexityBot Allow: / User-agent: Claude-SearchBot Allow: / # Optional: opt out of AI training User-agent: GPTBot Disallow: / User-agent: Google-Extended Disallow: / User-agent: * Allow: / Sitemap: https://yourwebsite.com/sitemap.xml
Common mistakes
- Blocking everything with one rule. A security plugin or old template sometimes adds
Disallow: /for unknown bots, which can shut out AI search crawlers. - Thinking Google-Extended controls AI Overviews. AI Overviews are part of Google Search and use Googlebot. Blocking Google-Extended doesn't remove you from Search.
- Forgetting the firewall. Even with a perfect robots.txt, a firewall or CDN can block bots. Check its bot settings too.
Not sure what yours does? AeoRocket's AEO checker lists exactly which AI bots your site allows or blocks. To write a new file, try the free robots.txt generator.