robots.txt for AI crawlers: allow or block ChatGPT, Claude and Perplexity
Copy-paste robots.txt blocks to allow or block ChatGPT, Claude and Perplexity come first, then one page per crawler, with the operator, the robots.txt token, the operator's own sentence, what blocking changes and how to verify a request, each read from the operator's own page on the date shown.
Copy-paste robots.txt blocks
Three blocks to copy into your robots.txt. Crawlers whose operators say they may be used to train models: GPTBot, ClaudeBot, Applebot-Extended, meta-externalagent, Amazonbot. Search and answer crawlers: OAI-SearchBot, Claude-SearchBot, PerplexityBot, Amzn-SearchBot, Meta-WebIndexer. This is a choice for your business, and a Disallow only covers well-behaved bots.
Allow all AI crawlers
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Amzn-SearchBot
User-agent: Meta-WebIndexer
Allow: /Allow AI search, block training
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: Amazonbot
Disallow: /
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Amzn-SearchBot
User-agent: Meta-WebIndexer
Allow: /Block all AI crawlers
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Amzn-SearchBot
User-agent: Meta-WebIndexer
Disallow: /Also stop Gemini using your pages
Google-Extended turns off both training and grounding in Gemini Apps, so Gemini's live answers stop using your pages. Add it only if you want that.
User-agent: Google-Extended
Disallow: /One shared line for AI training
On 30 October 2026 Google, OpenAI and Microsoft said they plan to read one shared robots.txt line for AI training (Google and Microsoft in 2027, OpenAI in the coming months). Google plans to read an opt-out there as a Google-Extended block, grounding in Gemini included, unless you name Google-Extended. The second group keeps your pages eligible for Gemini's grounded answers and also allows Gemini training; leave it out if you want neither. With no such line, no preference is expressed, and a User-agent: * group does not count for it.
User-agent: __usage_ai-training
Disallow: /
User-agent: Google-Extended
Allow: /An AI crawler is a bot that fetches pages for an assistant such as ChatGPT, Claude, Perplexity or Gemini, for a search index or for model training. Each page names the operator, the robots.txt token, what blocking changes and how to verify a request, so you can decide per bot whether to allow it.
| Crawler | Operator | Job | Follows robots.txt |
|---|---|---|---|
| Search (18) | |||
| Amzn-SearchBot | Amazon | Search | Yes |
| Baiduspider | Baidu | Search | Yes |
| Bingbot | Microsoft | Search crawler | Yes |
| Claude-SearchBot | Anthropic | Search | Yes |
| Diffbot | Diffbot | Search (general web crawl) | Yes |
| DuckDuckBot | DuckDuckGo | Search | Yes |
| ExaSearchBot | Exa | Search and retrieval index | Yes |
| Googlebot | Search (also Images, Video, News, Discover) | Yes | |
| ImagesiftBot | Hive (ImageSift) | Image index for similar-image search | Yes |
| Kagibot | Kagi | Search | Yes |
| LinkupBot | Linkup | Search index for AI web search | Yes |
| Meta-WebIndexer | Meta | Search | Yes |
| MojeekBot | Mojeek | Search | Yes |
| OAI-SearchBot | OpenAI | Search | Yes |
| PerplexityBot | Perplexity | Search | Yes |
| Storebot-Google | Search (Google Shopping surfaces) | Yes | |
| YandexBot | Yandex | Search (main indexing robot) | Yes |
| YouBot | You.com | Search | Yes |
| Training (3) | |||
| ClaudeBot | Anthropic | Training | Yes |
| GPTBot | OpenAI | Training | Yes |
| ICC-Crawler | NICT (Universal Communication Research Institute) | Research data collection (includes AI research and development) | Yes |
| User-triggered fetch (11) | |||
| Amzn-User | Amazon | User-triggered fetch | Not always |
| ChatGPT-User | OpenAI | User-triggered fetch | Not always |
| Claude-User | Anthropic | User-triggered fetch | Yes |
| DuckAssistBot | DuckDuckGo | Real-time fetch for AI-assisted answers | Yes |
| ExaUser | Exa | User-triggered fetch | Not always |
| Google-Agent | User-triggered fetch (agents acting for a user) | Generally not | |
| Google-GeminiNotebook | User-triggered fetch | Generally not | |
| Google-Pinpoint | User-triggered fetch | Generally not | |
| Meta-ExternalFetcher | Meta | User-triggered fetch | Not always |
| MistralAI-User | Mistral | User-triggered fetch | Yes |
| Perplexity-User | Perplexity | User-triggered fetch | Generally not |
| Several jobs (6) | |||
| Amazonbot | Amazon | Product improvement, may train Amazon AI models | Yes |
| Applebot | Apple | Search (crawled data may also help train Apple models) | Yes |
| CCBot | Common Crawl | Open web crawl archive | Yes |
| Google-CloudVertexBot | Crawl requested by site owners for Vertex AI Agents | Yes | |
| GoogleOther | Generic crawl for various Google product teams | Yes | |
| Meta-ExternalAgent | Meta | AI model training and content indexing | Yes |
| Control token (2) | |||
| Applebot-Extended | Apple | Control token (no requests of its own) | Read from robots.txt only |
| Google-Extended | Control token (no requests of its own) | Read from robots.txt only | |
- Amazonbot, Amzn-SearchBot and Amzn-User: three Amazon agents, three rulesAmazon's page now describes three agents with independent robots.txt settings. What each does, which may train Amazon AI models and which may ignore robots.txt.
- Amzn-SearchBot: what it does and what blocking it changesAmzn-SearchBot (Amazon): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Amzn-User: what it does and what blocking it changesAmzn-User (Amazon): user-triggered fetch. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Applebot-Extended: opting out of Apple's model training without leaving searchApplebot-Extended is Apple's opt-out token for generative model training. What it does, why Applebot can still crawl you and what stays in Spotlight and Siri.
- Applebot: what it does and what blocking it changesApplebot (Apple): several jobs. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Baiduspider: what it does and what blocking it changesBaiduspider (Baidu): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Bingbot: Microsoft's crawler, five user agents, how to verifyBingbot is Bing's standard crawler. The five Microsoft crawler names, how to verify a request and where crawl rate is set, read from Bing's own help page.
- CCBot: what it does and what blocking it changesCCBot (Common Crawl): several jobs. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- ChatGPT-User: the fetcher that opens your page when someone asksChatGPT-User visits a page when a person asks ChatGPT or a custom GPT about it. Why robots.txt may not apply, its user-agent string and 367 published IP ranges.
- Claude-SearchBot: Anthropic's search crawler and what blocking changesClaude-SearchBot indexes content to improve Claude's search results. Its robots.txt token, what a block does and how it differs from the other Claude robots.
- Claude-User: the agent that fetches pages when someone asks ClaudeClaude-User retrieves a page when a person asks Claude something. What Anthropic says disabling it does, and how it differs from ClaudeBot and Claude-SearchBot.
- ClaudeBot: Anthropic's training crawler, Crawl-delay and blockingClaudeBot collects web content that could contribute to Anthropic's model training. The robots.txt group, Crawl-delay support and why IP blocking does not work.
- Diffbot: what it does and what blocking it changesDiffbot (Diffbot): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- DuckAssistBot: DuckDuckGo's real-time answer crawler and its 486 addressesDuckAssistBot fetches pages for DuckDuckGo's AI-assisted answers, which cite sources. Opt-out takes 72 hours; rankings are unaffected; 486 IP addresses listed.
- DuckDuckBot: what it does and what blocking it changesDuckDuckBot (DuckDuckGo): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- ExaSearchBot: what it does and what blocking it changesExaSearchBot (Exa): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- ExaUser: what it does and what blocking it changesExaUser (Exa): user-triggered fetch. What robots.txt does not control, how to refuse it and how to verify a request.
- Google-Agent: what it does and what blocking it changesGoogle-Agent (Google): user-triggered fetch. What robots.txt does not control, how to refuse it and how to verify a request.
- Google-CloudVertexBot: what it does and what blocking it changesGoogle-CloudVertexBot (Google): several jobs. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Google-Extended: the robots.txt token for Gemini, not a crawlerGoogle-Extended is a control token, not a crawler: no user agent, never in server logs. What it controls, what it leaves alone and why IP lists cannot verify it
- Google-GeminiNotebook: what it does and what blocking it changesGoogle-GeminiNotebook (Google): user-triggered fetch. What robots.txt does not control, how to refuse it and how to verify a request.
- Google-Pinpoint: what it does and what blocking it changesGoogle-Pinpoint (Google): user-triggered fetch. What robots.txt does not control, how to refuse it and how to verify a request.
- Googlebot: what it covers, its IP ranges and what a block removesGooglebot's robots.txt token controls Google Search and the products built on it. Its user-agent, the 317 IP ranges Google publishes and how to verify one.
- GoogleOther: what it does and what blocking it changesGoogleOther (Google): several jobs. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- GPTBot: what it does and what blocking it changesGPTBot crawls content that may be used to train OpenAI models. What a Disallow does, what it leaves alone, its user-agent and the 18 IP ranges OpenAI publishes.
- ICC-Crawler: what it does and what blocking it changesICC-Crawler (NICT (Universal Communication Research Institute)): training. Robots.txt token, what a Disallow changes and how to verify a request.
- ImagesiftBot: what it does and what blocking it changesImagesiftBot (Hive (ImageSift)): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Kagibot: what it does and what blocking it changesKagibot (Kagi): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- LinkupBot: what it does and what blocking it changesLinkupBot (Linkup): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Meta-ExternalAgent: Meta's AI crawler and its four siblingsMeta-ExternalAgent crawls for training foundation AI models or indexing. Meta's page, updated 21 May 2026, lists five agents and says two may bypass robots.txt.
- Meta-ExternalFetcher: what it does and what blocking it changesMeta-ExternalFetcher (Meta): user-triggered fetch. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- Meta-WebIndexer: what it does and what blocking it changesMeta-WebIndexer (Meta): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- MistralAI-User, MistralAI-Index and MistralAI-Training explainedMistral documents three robots: a user-action fetcher, a search index agent and a training crawler. What each does, its robots.txt token and published IP files.
- MojeekBot: what it does and what blocking it changesMojeekBot (Mojeek): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- OAI-SearchBot: what it is and how to allow or block itOAI-SearchBot decides whether your pages can appear in ChatGPT search answers. Its robots.txt token, user-agent, 39 published IP ranges and what a block costs.
- Perplexity-User: what it does and what blocking it changesPerplexity-User (Perplexity): user-triggered fetch. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- PerplexityBot: how it differs from Perplexity-User and how to allow itPerplexityBot surfaces and links sites in Perplexity search; it is not used for foundation model crawling. User-agent, the published IP ranges, WAF advice.
- Storebot-Google: what it does and what blocking it changesStorebot-Google (Google): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- YandexBot: what it does and what blocking it changesYandexBot (Yandex): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.
- YouBot: what it does and what blocking it changesYouBot (You.com): search. Robots.txt token, what a Disallow changes and how to verify a request, read from the operator's own page.