S
Score for AI
How-To·6 min read

How to Configure robots.txt for AI Bots in 2026

Your robots.txt may be silently blocking AI crawlers. Here's the complete list of AI bot user-agents and ready-to-use templates for allowing or managing their access.

Score for AI scanner interface showing robots.txt analysis results for AI bot access

Why This Matters

Robots.txt is the first thing any crawler checks. If your robots.txt blocks AI bots — either explicitly or through a broad Disallow: / rule — no AI agent will read your content, no matter how good it is. In our data from 4,100,000+ website scans, 34% of websites block at least one major AI crawler.

The Complete AI Bot List

User-AgentAI AgentCompany
GPTBotChatGPTOpenAI
ClaudeBotClaudeAnthropic
Google-ExtendedGemini / AI OverviewsGoogle
PerplexityBotPerplexityPerplexity AI
AmazonbotAlexa / Amazon AIAmazon
Applebot-ExtendedApple Intelligence / SiriApple
meta-externalagentMeta AIMeta
CCBotCommon Crawl (training data)Common Crawl

Ready-to-Use Template

Copy this into your robots.txt to allow all major AI crawlers:

# Allow AI Crawlers
User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Amazonbot
Allow: /

User-agent: Applebot-Extended
Allow: /

User-agent: meta-externalagent
Allow: /

User-agent: CCBot
Allow: /

# Sitemap
Sitemap: https://yoursite.com/sitemap.xml

Common Mistakes That Block AI Bots

  1. Cloudflare's “AI Scrapers and Crawlers” setting — This is the most common silent blocker. Even with a permissive robots.txt, Cloudflare can intercept and block AI bots at the CDN level. Check Settings → Security → Bots.
  2. Broad User-agent: * / Disallow: / rules — Blocks everything, including AI bots, unless you add explicit Allow rules for specific user agents.
  3. CMS default settings — WordPress, Wix, and Squarespace have varying default robots.txt configurations. Check what your CMS generates.
  4. Forgetting newer bots — The AI bot landscape changes quickly. Review your robots.txt quarterly to add new user agents.

How to Verify Your Setup

The fastest way to check is to scan your website with Score for AI. Our scanner checks every major AI bot's access status and reports which ones are blocked. You'll see exactly which user-agents can and cannot reach your content.

You can also manually test by visiting https://yoursite.com/robots.txt in a browser. But remember: CDN-level blocking won't show up in the file itself, which is why automated scanning is more reliable.

Are AI bots blocked on your site?

Our scanner checks all 9 major AI crawlers in 30 seconds.

Scan Your Website →