GPTBot, OAI-SearchBot, ClaudeBot & PerplexityBot: Practical robots.txt Guide
Understand the difference between AI training crawlers and AI search bots, inspect RFC 9309 precedence rules, and avoid accidentally blocking ChatGPT Search or Perplexity citations.
Many teams added a blanket block for AI bots in 2024 without realizing that AI training crawlers and AI search & citation crawlers use completely different User-agent tokens. Blocking the wrong token can silently erase your product from ChatGPT Search, Claude citations, and Perplexity answers.
Training vs. Search AI Crawlers
| User-Agent | Vendor | Primary Role | Impact if Blocked |
| :--- | :--- | :--- | :--- |
| OAI-SearchBot | OpenAI | ChatGPT Search indexing | Site stops appearing in ChatGPT Search citations |
| GPTBot | OpenAI | Foundation model training | Content excluded from future OpenAI model corpora |
| ChatGPT-User | OpenAI | Live user-triggered browsing | Live assistant actions cannot read your page |
| ClaudeBot | Anthropic | Claude crawl & indexing | Reduced visibility in Anthropic ecosystems |
| PerplexityBot | Perplexity | Real-time AI search index | Missing citations in Perplexity answers |
Subtle RFC 9309 rules that trip up engineering teams
- Specific
User-agentgroups overrideUser-agent: *completely. AddingUser-agent: GPTBotwithDisallow: /admindoes not inherit rules fromUser-agent: *— it replaces them forGPTBot. - Longest matching path wins. When both
Disallow: /docs/andAllow: /docs/publicmatch/docs/public/intro,Allowwins because its path prefix is longer. - Meta tags and
X-Robots-Tagheaders still apply. Even an openrobots.txtcan be overridden bynoaiornoindexdirectives in your HTTP headers or<meta name="robots">.
Recommended starter policy for SaaS & docs sites
User-agent: *
Allow: /
Disallow: /admin
Disallow: /api/
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: ClaudeBot
Allow: /
Use our free AI Crawler Checker or robots.txt Tester to see the exact allow/block matrix and matched line numbers across all 10 major AI crawlers.