robots.txt for AI crawlers: a plain-English guide
Your robots.txt file tells crawlers which parts of your site they may read. AI companies now run several crawlers each, for different jobs. Allowing the right ones helps AI assistants find and recommend you; blocking the wrong ones can quietly hide you.
1. Know the four kinds of AI crawler
- Search and answer crawlers read pages so assistants can find, cite and recommend them:
OAI-SearchBot,Claude-SearchBot,Googlebot,bingbot,PerplexityBot,Applebot,meta-webindexer,Amzn-SearchBot,MistralAI-Index,DuckAssistBot. These are the ones that matter for being recommended. - User-requested fetchers visit only when a person asks an assistant about a page:
ChatGPT-User,Claude-User,Perplexity-User,meta-externalfetcher,Amzn-User,MistralAI-User. Some companies say these may not follow robots.txt. - Training crawlers collect content to train AI models:
GPTBot,ClaudeBot,meta-externalagent,Amazonbot,MistralAI-Training,CCBot,Coherebot,Bytespider. - Preference tokens aren’t crawlers at all; the company reads them as your choice about training or AI use:
Google-Extended,Applebot-Extended.
2. Decide what you want
For most local businesses the goal is simple: be findable by AI assistants. That means allowing the search and answer crawlers. Whether to allow AI training is a separate choice, and blocking training crawlers doesn’t stop assistants recommending you.
Never block Googlebot or bingbot to keep AI out. Google’s AI Overviews and AI Mode use Googlebot, and Copilot relies on Bing, but blocking them also removes you from Google or Bing search.
3. Copy a starting point
Be found by AI, allow training
User-agent: *
Allow: /
# AI search, answers and user requests: allowed
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Applebot
User-agent: meta-webindexer
User-agent: meta-externalfetcher
User-agent: Amzn-SearchBot
User-agent: Amzn-User
User-agent: MistralAI-Index
User-agent: MistralAI-User
User-agent: DuckAssistBot
Allow: /
Sitemap: https://yoursite.com/sitemap.xml
Be found by AI, opt out of training
User-agent: *
Allow: /
# AI model training: opted out
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: meta-externalagent
User-agent: Amazonbot
User-agent: MistralAI-Training
User-agent: CCBot
User-agent: Coherebot
User-agent: Bytespider
Disallow: /
# Shared AI-training signal (draft standard, https://datatracker.ietf.org/doc/draft-kelley-aipref-training-preference-signal/)
User-agent: __usage_ai-training
Disallow: /
Sitemap: https://yoursite.com/sitemap.xml
These are generated by the same code as our AI Crawler Checker, which can also merge them into your existing robots.txt without touching your other rules.
4. The new shared training signal
In October 2026 several AI companies announced support for one robots.txt name, __usage_ai-training, that opts a site out of AI training in a single rule. It’s a draft standard, not final, and support is still rolling out:
- Anthropic: Started honoring it (Oct 2026)
- Microsoft: From Feb 1, 2027
- Google: Planned for early 2027
- OpenAI: Planned "in the coming months"
A User-agent: * rule does not count for it; it must be named. The “opt out of training” example above includes it.
5. Common mistakes
- Blocking everything with
User-agent: */Disallow: /while testing, then forgetting to remove it. - Assuming one rule covers a whole company. OpenAI, Anthropic, Apple, Meta, Amazon and Mistral each use separate names for search, training and user requests.
- Keeping retired names such as
anthropic-aiandClaude-Web. They do nothing; use the current names. - Expecting robots.txt to stop user-requested fetches. Some companies say those may ignore it.
- Expecting robots.txt alone to get you recommended. It only lets assistants read your site. What they say also depends on your website’s content, listings, reviews and mentions elsewhere.
Is each AI crawler allowed on your site?
The free AI Crawler Checker reads your robots.txt and shows, crawler by crawler, what’s allowed and blocked, with a corrected robots.txt you can copy.