Block AI crawlers with robots.txt

AI companies use separate tokens for training, for their search index and for pages a user asks about. Choose each one on its merits. Every name below comes from the vendor's own documentation.

Model training

Usage control token

  • About
  • About

AI search index

  • About
  • About
  • About
  • About

User-requested fetch

  • About
  • About
  • About
  • About
  • About
  • About
# AI crawlers opted out (tokens from each vendor’s documentation)
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: CCBot
User-agent: Meta-ExternalAgent
User-agent: Amazonbot
Disallow: /

# Everyone else
User-agent: *
Disallow:

Training vs search. Blocking training crawlers keeps future content out of model training. Leaving the search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot, Amzn-SearchBot) allowed keeps you citable in AI answers that link back.

User-triggered fetchers are visits a person asked for. OpenAI, Perplexity, Meta and Amazon each say theirs may not follow robots.txt.

Every documented AI crawler token

TokenOperatorTypeWhat it doesSource
GPTBotOpenAIModel trainingCrawls content that may be used to train OpenAI’s generative AI foundation models.OpenAI docs
OAI-SearchBotOpenAIAI search indexSurfaces websites in search results in ChatGPT’s search features.OpenAI docs
ChatGPT-UserOpenAIUser-requested fetchVisits pages when a ChatGPT user or a Custom GPT asks for them. It doesn’t crawl automatically.OpenAI docs
ClaudeBotAnthropicModel trainingCollects web content that could contribute to training Anthropic’s generative AI models.Anthropic docs
Claude-SearchBotAnthropicAI search indexNavigates the web to improve the quality of search results for Claude users.Anthropic docs
Claude-UserAnthropicUser-requested fetchFetches pages when a Claude user asks a question that needs them.Anthropic docs
Google-ExtendedGoogleUsage control tokenA product token, not a separate crawler. It controls whether content Google crawls may be used to train future Gemini models and for grounding in Gemini Apps and Vertex AI.Google docs
Google-CloudVertexBotGoogleUser-requested fetchCrawls sites whose owners asked for it while building Vertex AI Agents.Google docs
PerplexityBotPerplexityAI search indexSurfaces and links websites in Perplexity search results.Perplexity docs
Perplexity-UserPerplexityUser-requested fetchVisits pages when a Perplexity user asks a question that needs them.Perplexity docs
Applebot-ExtendedAppleUsage control tokenA secondary token that lets publishers opt out of their content being used to train Apple’s foundation models (Apple Intelligence and related services).Apple docs
CCBotCommon CrawlModel trainingBuilds Common Crawl’s open web archive, which many AI training datasets are built from.Common Crawl docs
Meta-ExternalAgentMetaModel trainingCrawls the web for uses such as training foundation AI models or indexing content for Meta products.Meta docs
Meta-ExternalFetcherMetaUser-requested fetchFetches individual links at a user’s request, including for agentic AI features.Meta docs
AmazonbotAmazonModel trainingImproves Amazon products and services; Amazon says the data may be used to train Amazon AI models.Amazon docs
Amzn-SearchBotAmazonAI search indexImproves search experiences in Amazon products such as Alexa. Amazon says it does not crawl for AI training.Amazon docs
Amzn-UserAmazonUser-requested fetchFetches pages for actions a user starts. Amazon says it does not crawl for AI training.Amazon docs

Checked against each vendor's documentation on 27 September 2026. Tokens appear here only if the operator documents them.

AI crawler questions

How do I block AI crawlers with robots.txt?

Add a group naming each token you want to exclude, e.g. "User-agent: GPTBot" then "Disallow: /". Several User-agent lines can share one Disallow. Use the exact tokens vendors document; made-up names do nothing.

Will blocking GPTBot remove my site from ChatGPT?

Not from ChatGPT search. OpenAI uses OAI-SearchBot for search and GPTBot for training, and treats them independently. Block GPTBot and allow OAI-SearchBot to opt out of training while staying findable.

Does blocking Google-Extended affect my Google rankings?

No. Google says Google-Extended does not impact a site’s inclusion or ranking in Google Search. It only controls use of your content for Gemini training and grounding.

Do AI crawlers actually obey robots.txt?

The major vendors listed here say their automatic crawlers do. Several say their user-triggered fetchers (ChatGPT-User, Perplexity-User, Meta-ExternalFetcher, Amzn-User) may not, because a person asked for the page. For a hard block, use your server or CDN.

Does blocking now remove content already collected?

No. robots.txt controls future crawling. Common Crawl notes existing snapshots are unchanged; ask vendors directly about data they already hold.