Should You Block AI Crawlers? GPTBot, ClaudeBot and robots.txt
Which AI crawlers to block in robots.txt and which to allow: GPTBot, ClaudeBot, PerplexityBot and Google-Extended explained, with rules you can copy.

Most businesses should not block AI search crawlers, because blocking them removes you from the answers ChatGPT, Claude, Perplexity and Copilot give buyers. Blocking AI training crawlers is a separate choice: it makes sense if your content is the product you sell, and is usually unnecessary for a service business that wants to be known. The key is that most AI companies now run separate crawlers for training and for search, and robots.txt lets you treat them differently.
Two years ago “should we block AI bots?” was a single question. It is now several, and a blanket block, sometimes switched on by a CDN or security plugin without anyone deciding, is one of the most common reasons we find a business missing from AI answers.
Training crawlers vs retrieval crawlers
AI crawlers do one of three jobs.
- Training. Collecting public pages that may be used to train future models. Blocking these keeps your future content out of training data. It does not remove what was collected before.
- Search indexing. Building the index an assistant searches when it answers a question. Blocking these removes your pages from that assistant’s live answers. How Perplexity chooses its sources shows how one of these indexes works.
- User-initiated fetching. Visiting a specific page because a person asked the assistant to read it. Several companies say robots.txt may not apply here, because a human requested the visit.
The AI crawlers that matter
| Company | User agent | Job | Blocking it means |
|---|---|---|---|
| OpenAI | GPTBot | Training | Future content not used to train OpenAI models |
| OpenAI | OAI-SearchBot | Search | Pages excluded from ChatGPT search answers |
| OpenAI | ChatGPT-User | User-initiated | OpenAI says robots.txt rules may not apply |
| Anthropic | ClaudeBot | Training | Future content excluded from Anthropic training |
| Anthropic | Claude-SearchBot | Search | Pages not indexed for Claude’s search |
| Anthropic | Claude-User | User-initiated | Claude cannot fetch your pages for users’ questions |
| Perplexity | PerplexityBot | Search | Pages removed from Perplexity’s index |
| Perplexity | Perplexity-User | User-initiated | Perplexity says it generally ignores robots.txt |
| Google-Extended | Training and Gemini grounding (a token, not a crawler) | Content not used for Gemini training or grounding in Gemini Apps; no effect on Google Search | |
| Apple | Applebot-Extended | Training (a token, not a crawler) | Content not used for Apple’s model training; still eligible for Siri and Spotlight |
Sources for the table are each company’s own documentation: OpenAI’s overview of its crawlers, Anthropic’s article on how site owners can block its crawler, Perplexity’s crawler guide, Google’s list of common crawlers and Apple’s Applebot page. Crawler names change, so check those pages before you edit your file.
Two notes on Google. Googlebot is the crawler behind Search, including AI Overviews and AI Mode, so blocking it would remove you from Google entirely. And to keep a site out of AI Overviews and AI Mode while staying in normal results, Google now offers a separate setting in Search Console, which we cover in Google AI Mode explained.
The trade-offs
Reasons to allow AI crawlers
- Visibility in AI answers. If search crawlers cannot read your pages, assistants cannot cite them, and they will recommend whoever they can read.
- Accurate descriptions. When a model has read your site, it is less likely to describe you from an out-of-date directory listing.
- Future memory. Allowing training crawlers means future models may know more about your organisation. For a business that wants to be recommended, that is usually a benefit.
Reasons to block some of them
- Your content is your product. Publishers, training providers, research bodies and paid-for guidance can reasonably object to it being used to train models that answer the same questions for free.
- Server load. Some crawlers are aggressive. Rate limits or a crawl-delay rule (supported by some, not all) can be better than a full block.
- Policy. Some organisations decide, as a matter of principle, that their content should not train AI models.
A decision rule
- Service businesses (law, accountancy, agencies, trades): allow everything. You want to be found and described accurately.
- Membership bodies and institutes: allow search crawlers on public pages. Consider blocking training crawlers if you publish valuable guidance for members. Put member-only content behind a login rather than relying on a robots rule. Our page on websites for membership organisations covers how public and member areas fit together.
- Publishers and paid content: block training crawlers, think carefully about search crawlers, and accept that blocking them reduces referral traffic from AI tools.
A worked example
Take a hypothetical professional institute with three kinds of content: public pages about membership, qualifications and events; a free library of technical guidance that took years to build; and a members’ area with CPD records. Its public pages should be open to every search crawler, because prospective members ask AI assistants “which qualification do I need to become a chartered X?” and the institute wants to be the answer. The free guidance library is where the training question bites: the institute may reasonably block training crawlers there while keeping search crawlers allowed, so assistants can still cite and link to it. The members’ area needs a login, whatever robots.txt says.
Example robots.txt rules
Allow all crawlers (the default)
If your file has no rules naming AI crawlers, they are allowed. Nothing to add.
Block training, allow AI search
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: Applebot-Extended
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
Keep a members’ area out of every crawler
User-agent: *
Disallow: /members/
This keeps compliant crawlers out of that path, but it also advertises that the path exists. The real protection is the login.
What robots.txt cannot do
robots.txt is a request. Reputable crawlers follow it; others may not, and user-initiated fetchers often ignore it. It does not remove content already collected. It is also easily overridden by settings elsewhere: CDNs and security services offer AI-bot blocking that applies before your robots.txt is even read, and defaults vary between providers and over time.
So after you change anything:
- Check the live file at yourdomain.com/robots.txt.
- Check your CDN, firewall and security plugin for AI-bot settings.
- Look in your server logs for the user agents above to see who is actually visiting.
- Re-run a few prompts in each assistant after a couple of weeks.
An llms.txt file is a different thing again: it describes your site to AI tools rather than controlling access, and it does not block anything.
Where we fit
Crawler access is the first thing our GEO service checks, because nothing else works if the assistants cannot read the site. Our care plans include Cloudflare set-up, which is a good moment to decide deliberately which AI crawlers you let in.
Questions about Should You Block AI Crawlers? GPTBot, ClaudeBot and robots.txt
Does blocking GPTBot remove my site from ChatGPT?
No. GPTBot is OpenAI's training crawler. ChatGPT search uses a separate crawler, OAI-SearchBot, and OpenAI says the two settings are independent. You can block GPTBot to opt out of training and still allow OAI-SearchBot so your pages can appear in ChatGPT search answers.
Does blocking Google-Extended stop AI Overviews using my content?
No. Google says Google-Extended does not affect inclusion in Google Search, and AI Overviews and AI Mode are part of Search. To exclude a site from those features, use the Search generative AI control in Search Console, or snippet controls such as nosnippet on individual pages.
Is robots.txt enough to protect member-only content from AI?
No. robots.txt is a public request that well-behaved crawlers follow, and some user-initiated fetchers do not apply it. Content that only members should see must sit behind a login, so no crawler or AI tool can read it without an account.
Related reading
Need help with any of this?
Send the brief and we reply the same day with a price and a date.


