AI Search
AI Crawlers and robots.txt: GPTBot, ClaudeBot, and the Rest
AI bots are not one category, and treating them as one is the most common and most expensive mistake in this area. They split into three jobs: crawling to train a model, crawling to build an answer index, and fetching a single page because a user asked about it right now. Blocking the first is a licensing decision. Blocking the second removes you from AI search results entirely.
Key takeaways
- Three distinct roles: training, answer indexing, and user-triggered fetches. Decide on each separately.
- Blocking
GPTBotdoes not blockOAI-SearchBot— different agents, different consequences. Google-ExtendedandApplebot-Extendedare training-only opt-outs; blocking them costs you nothing in Google Search or Siri.robots.txtcompliance is voluntary. It is a policy statement, not a firewall.- The measured exchange is lopsided: Cloudflare's data shows some AI crawlers fetching thousands of pages per referral sent back.
What are the three kinds of AI crawler?
| Role | What it does | Agents |
|---|---|---|
| Training | Collects text to train or fine-tune foundation models | GPTBot, ClaudeBot, anthropic-ai, CCBot, Google-Extended, Applebot-Extended, meta-externalagent, Bytespider |
| Answer index | Continuously indexes pages so the product can answer live and cite sources | OAI-SearchBot, Claude-SearchBot, PerplexityBot |
| User-triggered | Fetches one page on demand because a user pasted or asked about it | ChatGPT-User, Claude-User, Perplexity-User |
The distinction that matters most: GPTBot and OAI-SearchBot are both OpenAI, and blocking one does nothing to the other. A robots.txt rule that disallows GPTBot limits training use while leaving ChatGPT search indexing untouched. A rule that disallows OAI-SearchBot removes you from ChatGPT's search citations while training crawls continue under whatever GPTBot permits. Plenty of sites have accidentally chosen exactly the opposite of what they intended.
The -Extended tokens deserve their own note because they are so often misunderstood. Google-Extended does not crawl anything. It is a permission token: it governs whether content already fetched by Googlebot may be used for training and grounding in Gemini apps. It has no effect on Google Search indexing, ranking, or AI Overviews. Applebot-Extended works the same way relative to Applebot and Siri. Both are close to free opt-outs if training use is your concern — which is precisely why they are the first thing to reach for.
What does the crawl actually cost you?
This is the part that changes people's minds, and it is worth having the numbers before you decide.
Cloudflare publishes crawl-to-refer ratios — pages crawled per referral visit sent back to the site. The figures move around a lot between reporting periods, so treat them as orders of magnitude rather than precise values, but the shape is consistent:
| Crawler | Approximate crawl-to-refer ratio |
|---|---|
| Googlebot | ~5:1 |
| DuckDuckGo's DuckAssistBot | ~1.5:1 |
| OpenAI's GPTBot | roughly 900:1 to 1,300:1 |
| Anthropic's ClaudeBot | roughly 10,000:1 to 24,000:1 |
Traditional search is a trade: the crawler takes your content and sends readers back. A training crawler with no consumer search product on the other end sends essentially nothing, because there is no product surface that links out. That is not an accusation of bad faith — it is a structural fact about what the crawler is for, and it is the honest basis on which to decide whether you want to participate.
By Cloudflare's May 2026 measurements, AI crawlers accounted for roughly 20% of verified bot traffic, with AI-search bots adding several points more. This is now a real share of your server load.
What should your robots.txt say?
There is no universally correct policy. There is a correct way to decide: separate the two questions.
Question one — do you want to be found and cited in AI products? If yes, allow the answer-index and user-triggered agents. Blocking OAI-SearchBot or PerplexityBot guarantees you will not be cited there, and no amount of content optimisation overrides that.
Question two — do you want your text used for training? Independent of the first. If your content is the product you sell, or you have licensing arrangements to protect, blocking training crawlers is defensible and increasingly common.
The default we run on this site is allow everything, block the app surface. The reasoning is written into the config: assistant citations are a real referral channel for a publication, and the content is free to read anyway. The rules are listed as an explicit group rather than left to the wildcard, so the policy is a visible decision rather than an accident:
User-agent: GPTBot
User-agent: OAI-SearchBot
User-agent: ClaudeBot
User-agent: PerplexityBot
Allow: /
Disallow: /dashboard
Disallow: /login
Disallow: /api/
A publisher who sells access would reasonably invert the training half:
# Allow the answer index, refuse training
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
Two practical notes when you write these:
- Group tokens explicitly. Most implementations apply only the most specific matching group, so an agent named in its own group ignores the
*group entirely — including anyDisallowlines you assumed were global. If you name an agent, restate its full policy. - Do not forget the useful exceptions. A blanket
Disallow: /api/will silently break link previews if your Open Graph image is generated by an API route. A longer, more specificAllowbeats a shorterDisallowin every major implementation, so carve the exception back out explicitly.
Does any of this actually stop anyone?
Only partly, and you should be clear-eyed about it. robots.txt is a convention, not an access control. It has no enforcement mechanism; a crawler obeys it because its operator chose to.
The major operators document compliance, and Anthropic publicly commits to honouring robots.txt across its crawlers and not bypassing access controls. Others have a worse record: Bytespider and some Perplexity fetchers have both been documented disregarding it.
If you need enforcement rather than a request, you need the network layer:
- WAF or CDN rules matching user agent and verified source IP ranges. Most major crawlers publish their IP ranges precisely so you can verify them; user-agent strings alone are trivially spoofed.
- Cloudflare's bot controls, which now include managed AI-crawler blocking and pay-per-crawl options.
- Authentication. Content behind a login is not crawled by anything that respects the boundary, which is most things.
Use robots.txt to state policy clearly and to steer the well-behaved majority. Use the network layer when the answer has to be enforced.
A checklist
- Read your current
robots.txtand check whether you are blockingGPTBotwhile allowingOAI-SearchBot, or the reverse. Confirm that is what you meant. - Decide the training question separately from the visibility question. They are not the same decision.
- Add
Google-ExtendedandApplebot-Extendedto your disallow list if training use concerns you at all — they cost nothing in Search or Siri. - Check your logs for AI crawler volume. If it is meaningful load, rate-limit at the edge rather than hoping a text file solves it.
- Do not expect a hint file to help.
llms.txtis not a crawler directive and, on the evidence, is barely read — see does llms.txt do anything. - Remember what blocking costs. If you are not in the answer index, you cannot be cited, no matter how good the page is. How AI Overviews work covers the retrieval side of that trade.
Sources: Google Search Central — AI features and your website · Cloudflare Blog — The crawl before the fall of referrals · Cloudflare Blog — A deeper look at AI crawlers · OpenAI — GPTBot documentation · Anthropic — Supporting responsible web crawling
FAQ
Frequently asked questions
What is the difference between GPTBot and OAI-SearchBot?
GPTBot crawls to gather data for training OpenAI's models. OAI-SearchBot builds the index that ChatGPT's search feature uses to answer live questions and cite sources. Blocking GPTBot limits training use; blocking OAI-SearchBot removes you from ChatGPT search results and the citations that come with them.
Does blocking Google-Extended hurt my Google rankings?
No. Google-Extended is a training and grounding opt-out for Gemini apps. It is not used for crawling, indexing, or ranking in Google Search, and it does not remove you from AI Overviews. Blocking it costs you nothing in Search.
Do AI crawlers obey robots.txt?
The major ones from OpenAI, Anthropic, Google and Apple document that they do, and Anthropic publicly commits to honouring robots.txt across its crawlers. Compliance is voluntary, and some crawlers have been documented ignoring it, so robots.txt is a policy statement rather than an enforcement mechanism. Blocking at the network or WAF layer is the enforceable version.
Should I block AI crawlers?
It depends on what your site is for. If discovery and citations matter to you, allow the search and user-triggered agents and decide separately about training. If your content is the product and you sell access to it, blocking training crawlers is a reasonable business decision. There is no universally correct answer, but the two decisions should be made separately.
Written by
BlogsPublication Admin
EditorBlogsPublication reporting is guided by our editorial standards.
The newsletter
Good writing, once a week.
Our best essays and reporting, delivered to your inbox. No noise, unsubscribe anytime.
Comments
Sign in to join the discussion.
Loading comments…
Keep reading
Related articles
Does llms.txt Do Anything? What Google and the Data Say
llms.txt is pitched as the robots.txt of the AI era. Google says it ignores the file, and a 137,000-site study found 97% of them are never requested. Here's what the evidence shows and when it is still worth shipping.
How to Get Cited in AI Search: What the Evidence Shows
GEO is sold as a new discipline with new deliverables. The controlled research points somewhere less exciting: specific, verifiable, well-referenced writing. Here's what holds up and what doesn't.
What Are AI Overviews? How Google's AI Answers Work
AI Overviews are the AI-written summaries at the top of Google results. Here's the retrieval process behind them, what the click-through data actually shows, and the controls you really have.
INP: The Core Web Vital That Replaced FID
In March 2024, Interaction to Next Paint replaced First Input Delay as a Core Web Vital. Here's what INP measures, the thresholds that matter, and how to fix a slow score.