Back to blog

GPTBot, OAI-SearchBot, ClaudeBot & PerplexityBot: Practical robots.txt Guide

Nov 29, 2026IndexMirror Engineering

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

  1. Specific User-agent groups override User-agent: * completely. Adding User-agent: GPTBot with Disallow: /admin does not inherit rules from User-agent: * — it replaces them for GPTBot.
  2. Longest matching path wins. When both Disallow: /docs/ and Allow: /docs/public match /docs/public/intro, Allow wins because its path prefix is longer.
  3. Meta tags and X-Robots-Tag headers still apply. Even an open robots.txt can be overridden by noai or noindex directives 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.