Skip to content
Utilities2026-10-05Shuai Li5 min read

Allow or Block AI Crawlers: GPTBot, ClaudeBot, PerplexityBot — a robots.txt Decision Guide

First, know exactly what you're allowing or blocking

AI companies run crawlers with different jobs — decide them separately. The table below matches the UA tokens written by this site's robots.txt generator Apply AI preset action (plus Googlebot, which you usually manage outside that preset):

CrawlerOwnerPurposeBlocking it affects
GPTBotOpenAIModel trainingNot ChatGPT Search inclusion
OAI-SearchBotOpenAIChatGPT Search indexingBlocks you out of ChatGPT Search
ChatGPT-UserOpenAIReal-time fetch on user requestUsers can't show your page to ChatGPT
ClaudeBotAnthropicModel trainingTraining corpus only
Claude-UserAnthropicUser-triggered live fetchesLive fetch inside Claude chats
PerplexityBotPerplexityAnswer-engine indexingThe source pool for Perplexity answers
Google-ExtendedGoogleGemini trainingDoes not affect Google Search (separate from Googlebot)
GooglebotGoogleGoogle Search (incl. AI Overviews)Blocking it exits Google entirely
Applebot-ExtendedAppleApple Intelligence trainingNot Apple search (Applebot)
CCBotCommon CrawlOpen corpusIndirect training data for many models
BytespiderByteDanceDoubao / feed trainingHigh crawl volume — a load consideration
AmazonbotAmazonAlexa / Rufus answers & indexAmazon ecosystem citations
meta-externalagentMetaMeta AI trainingNo meaningful citation referral expected

The most common mistake: executing "don't train on my content" as a blanket block — and thereby also giving up AI-search entry. Training and search are different UAs; you can block only the former.

Vendor docs change; re-verify UA strings quarterly. A typo in User-agent: is equivalent to no rule.

The decision framework: three site types, three answers

Content sites / tool sites / blogs (our case)
Allow search crawlers + allow training crawlers by default. Rationale: citation is distribution, AI search is a new traffic entry, and being in the training corpus means future models know you. The one exception: when load becomes a problem, rate-limit the heavy training crawlers (CDN rules — not only Crawl-delay).

Paid / membership content
Block training crawlers (the content is the product), allow search crawlers but control snippet display with meta tags. Note robots.txt is a courtesy convention — the real defense for paid content is the auth wall itself.

Internal systems / backends
Block everything (standard Disallow: /) — they shouldn't be crawlable at all.

Copy-paste robots.txt rules

Allow everything (content-site default):

User-agent: *
Allow: /

Block training only, keep search (cautious / paid):

# Block training crawlers
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: meta-externalagent
Disallow: /

# Everything else (including search crawlers) allowed
User-agent: *
Allow: /

Rate-limit a heavy crawler (hint only — see below):

User-agent: Bytespider
Crawl-delay: 10
Allow: /

Most specific UA section wins over * — so you can grant a single crawler an exception without touching the global policy. Prefer the robots.txt generator Apply AI preset over hand-typing tokens: it seeds the common AI crawler groups, then you edit allow / disallow as needed.

In the preset, skip means “no dedicated group” — that crawler inherits * if present. That is why skip is an honest middle option, not a no-op.

After allowing: measure the payoff

Allowing isn't the finish line — you should see GEO returns:

  1. Watch the AI channel in analytics: GA4 and peers now itemize AI search as a source — see the data section of the GEO introduction
  2. Check server logs for crawler visits: grep for PerplexityBot / OAI-SearchBot after allowing — no crawling, no citation eligibility
  3. Just ask the AI: search your head keywords in ChatGPT / Perplexity and see whether answers cite you
  4. Ship an llms.txt if you want a curated map for models that read it — robots policy and llms.txt solve different layers

Crawl-delay and other polite-but-ignored settings

Crawl-delay support is inconsistent across AI crawlers (some honor seconds, some ignore it, and Google has never supported it). Treat it as a hint, not a rate limit. Reliable load controls:

  • CDN / bot-management rate rules (per-UA caps at the edge — enforcement, not etiquette)
  • Static caches so crawlers hit prebuilt pages, not application servers
  • Disallow on heavy paths (search results, infinite pagination) rather than slowing the whole crawler

Where enforcement actually lives

robots.txt is a convention; the layers beneath it are not. A practical stack: CDN edge rules per UA (hard rate limits), origin-level caching (crawl load ≈ free), and log-based monitoring when a crawler's behavior changes. If a crawler ignores robots.txt — some do — only the CDN layer can stop it. Design allow/block decisions knowing which layer each one executes at.

Implementer's note

This site's own robots.txt stays minimal (allow-all) because a tool site is distribution-oriented — but every UA string was checked against vendor docs (case-sensitive). Field observation: Bytespider (and some regional spiders) can dwarf others in hit volume. Even when allowing them, CDN rate limiting matters on small origins — “allow” and “allow without limit” are different decisions. The on-site preset uses skip for Google-Extended / Applebot-Extended / Bytespider by default so they inherit * unless you opt in explicitly.

A minimal decision worksheet

Copy this into the ticket before editing robots.txt:

Crawler / productTraining vs searchDecision (allow / block / inherit *)OwnerReview date
GPTBotTraining-heavy
OAI-SearchBot / ChatGPT search agentsSearch
ClaudeBotMixed — check current docs
PerplexityBotSearch-oriented
Google-ExtendedTraining opt-out for Gemini grounding
BytespiderHigh volume — rate-limit even if allowed

Revisit after major product launches or when analytics show AI referral traffic. Generate a draft with the robots.txt generator AI preset, then diff against production so accidental Disallow: / never ships.