The world of AI is moving fast and so are the bots that crawl the web to feed large language models (LLMs), AI search engines, and generative tools. If you want your site’s content to be available for AI models like ChatGPT, Claude, Perplexity, or Gemini, you can explicitly grant permission by updating your robots.txt file.
In this guide, you’ll learn:
- Why AI bots matter in 2025
- Which user-agents to include
- A ready-to-use
robots.txttemplate
Why AI Bots Need robots.txt Rules
Traditionally, robots.txt controlled search engines like Googlebot and Bingbot. Now, AI companies also respect these directives to decide whether your content can be indexed for AI search or used for model training.
- Search bots (AI answers/assistants): Allowing them means your content may appear in AI-powered search results (e.g., Perplexity, You.com).
- Training crawlers: Allowing them means your content may be used to train or fine-tune large AI models (e.g., GPTBot, ClaudeBot).
By updating your robots.txt, you can allow, block, or mix your policies across these bots.
Major AI User-Agents in 2025
OpenAI (ChatGPT / SearchGPT)
GPTBot=> training crawlerChatGPT-User=> on-demand browsing in ChatGPTOAI-SearchBot=> indexing for SearchGPT
Anthropic (Claude)
ClaudeBot=> model trainingClaude-Web/anthropic-ai=> crawling/AI access
Perplexity
PerplexityBot=> AI search engine
Google (Gemini)
Google-Extended=> controls if Gemini can use your content for AI
Apple
Applebot-Extended=> controls Apple AI training usage
Amazon
Amazonbot=> AI + product/search crawling
Common Crawl
CCBot=> feeds public datasets used in AI training
AI Search Engines
YouBot=> You.comPhindBot=> Phind AI searchExaBot=> Exa.aiAndiBot=> Andi searchFirecrawlAgent=> Firecrawl AI
Example: Allowing AI Bots
Here’s a robots.txt example that explicitly allows AI bots alongside traditional crawlers:
# Default: allow all crawlers
User-agent: *
Disallow:
# --- Explicitly ALLOW major AI/LLM bots ---
# OpenAI
User-agent: GPTBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: OAI-SearchBot
Allow: /
# Anthropic (Claude)
User-agent: ClaudeBot
Allow: /
User-agent: Claude-Web
Allow: /
User-agent: anthropic-ai
Allow: /
# Perplexity
User-agent: PerplexityBot
Allow: /
# Google AI usage token
User-agent: Google-Extended
Allow: /
# Apple AI usage token
User-agent: Applebot-Extended
Allow: /
# Amazon
User-agent: Amazonbot
Allow: /
# Common Crawl
User-agent: CCBot
Allow: /
# AI search engines
User-agent: YouBot
Allow: /
User-agent: PhindBot
Allow: /
User-agent: ExaBot
Allow: /
User-agent: AndiBot
Allow: /
User-agent: FirecrawlAgent
Allow: /
Optional: Balanced Policy (Allow AI Search, Block Training)
If you want to appear in AI search results but not have your content used for model training, use a mixed policy. For example:
# Allow AI search crawlers
User-agent: PerplexityBot
Allow: /
User-agent: YouBot
Allow: /
User-agent: PhindBot
Allow: /
User-agent: ExaBot
Allow: /
User-agent: AndiBot
Allow: /
User-agent: OAI-SearchBot
Allow: /
# Disallow training/aggregator crawlers
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: Applebot-Extended
Disallow: /
User-agent: CCBot
Disallow: /
Pro Tips
- Keep it updated: New AI bots appear frequently so review your list quarterly.
- Combine with enforcement: Some bots may ignore rules. If strict compliance matters, pair robots rules with IP/reverse-DNS checks or WAF bot controls.
- Test quickly: Host your
robots.txtathttps://<your-domain>/robots.txtand fetch it from a browser or withcurlto verify.
Going Further with SEO
If you’re running an Optimizely CMS site and want deeper control over SEO, check out my open-source tool: SEOBOOST for Optimizely CMS.
AI is becoming a parallel discovery channel next to Google. Your robots.txt file is the simplest way to take control of how your content participates.