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):
| Crawler | Owner | Purpose | Blocking it affects |
|---|---|---|---|
| GPTBot | OpenAI | Model training | Not ChatGPT Search inclusion |
| OAI-SearchBot | OpenAI | ChatGPT Search indexing | Blocks you out of ChatGPT Search |
| ChatGPT-User | OpenAI | Real-time fetch on user request | Users can't show your page to ChatGPT |
| ClaudeBot | Anthropic | Model training | Training corpus only |
| Claude-User | Anthropic | User-triggered live fetches | Live fetch inside Claude chats |
| PerplexityBot | Perplexity | Answer-engine indexing | The source pool for Perplexity answers |
| Google-Extended | Gemini training | Does not affect Google Search (separate from Googlebot) | |
| Googlebot | Google Search (incl. AI Overviews) | Blocking it exits Google entirely | |
| Applebot-Extended | Apple | Apple Intelligence training | Not Apple search (Applebot) |
| CCBot | Common Crawl | Open corpus | Indirect training data for many models |
| Bytespider | ByteDance | Doubao / feed training | High crawl volume — a load consideration |
| Amazonbot | Amazon | Alexa / Rufus answers & index | Amazon ecosystem citations |
| meta-externalagent | Meta | Meta AI training | No 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:
- Watch the AI channel in analytics: GA4 and peers now itemize AI search as a source — see the data section of the GEO introduction
- Check server logs for crawler visits: grep for PerplexityBot / OAI-SearchBot after allowing — no crawling, no citation eligibility
- Just ask the AI: search your head keywords in ChatGPT / Perplexity and see whether answers cite you
- 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
Disallowon 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 / product | Training vs search | Decision (allow / block / inherit *) | Owner | Review date |
|---|---|---|---|---|
| GPTBot | Training-heavy | |||
| OAI-SearchBot / ChatGPT search agents | Search | |||
| ClaudeBot | Mixed — check current docs | |||
| PerplexityBot | Search-oriented | |||
| Google-Extended | Training opt-out for Gemini grounding | |||
| Bytespider | High 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.
Related reading
Related Tools
Related Articles
UPC Check Digits Explained: How to Validate and Generate UPC-A Barcodes Correctly
The UPC-A check digit algorithm with a worked example, the Excel leading-zero trap that corrupts real listings, UPC-E zero suppression, and why a generator that prints unlicensed company prefixes will get your listing rejected — with an online validator.
China Resident ID Numbers: Structure, the MOD 11-2 Check Digit, and Why One in Eleven Ends in X
The 18-digit China resident ID (GB 11643) decoded for English-language systems: division, birthdate, sequence and gender fields, the ISO 7064 MOD 11-2 check digit with a hand-checkable example, and the corruption modes that survive naive validation — with a local validator.
China Unified Social Credit Code (USCC): Structure, Checksum Algorithm, and How to Validate It
The 18-char USCC (GB 32100-2015) decoded for English-language systems: field layout, the 31-character alphabet, the weighted mod-31 checksum with a worked example, and the failure modes that corrupt codes in real data — with a local validator.