Guide · checked 2026-11-20
Block AI training, keep AI search: the robots.txt rules
Several operators split training from search into separate tokens. Blocking only the training tokens keeps a site eligible for AI search answers, per each operator's documentation.
Training-side tokens
- GPTBot (OpenAI): Crawls content that may be used to train OpenAI's generative AI foundation models. Disallowing it signals content should not be used for training.
- ClaudeBot (Anthropic): Collects web content that could contribute to training Anthropic's models. Restricting it signals the site's future materials should be excluded from training datasets.
- Google-Extended (Google): Standalone control token, no separate crawler. Manages whether content Google crawls may be used to train future Gemini models and for grounding in Gemini Apps and Vertex AI. Does not affect Google Search inclusion or ranking.
- Applebot-Extended (Apple): Does not crawl. Disallowing it opts content out of training Apple's foundation models; pages can still appear in Apple search results.
- meta-externalagent (Meta): Crawls for use cases such as training foundation AI models or improving products by indexing content directly.
Search-side tokens to leave allowed
- OAI-SearchBot (OpenAI)
- Claude-SearchBot (Anthropic)
- PerplexityBot (Perplexity)
- Googlebot (Google)
- Applebot (Apple)
- meta-webindexer (Meta)
The rules
User-agent: GPTBot User-agent: ClaudeBot User-agent: Google-Extended User-agent: Applebot-Extended User-agent: meta-externalagent Disallow: /
Caveats from the operators
- OpenAI: ChatGPT-User fetches are user-initiated and "robots.txt rules may not apply".
- Perplexity: Perplexity-User "generally ignores robots.txt rules".
- Meta: meta-externalfetcher "may bypass robots.txt"; facebookexternalhit may bypass it for security checks.
- Apple: Applebot-crawled data may be used to help train Apple models; Applebot-Extended is the opt-out token.
- Google: Google-Extended does not affect Google Search inclusion or ranking.
- Common Crawl's CCBot builds an open dataset available to anyone; blocking it is listed above as a dataset crawler, not a training token.