Should you block AI crawlers? GPTBot, ClaudeBot, PerplexityBot and robots.txt
Block training crawlers if you want to, but keep AI search crawlers open. Bots such as GPTBot, ClaudeBot and Google-Extended control whether your content can be used to train or ground AI models. Bots such as OAI-SearchBot, Claude-SearchBot and PerplexityBot decide whether ChatGPT, Claude and Perplexity can find and cite you. Blocking the second group keeps you out of AI answers.
What's the difference between training and search crawlers?
Each major AI company now runs separate crawlers for separate jobs, and lets you allow or block each one in robots.txt independently.
- Training crawlers collect pages that may be used to train future models.
- Search crawlers build the index an AI tool searches when it answers a question and links to sources.
- User agents fetch a specific page because a person asked the AI tool about it.
OpenAI's documentation spells it out: each setting is independent, so a site can allow OAI-SearchBot to appear in search results while disallowing GPTBot to signal that its content shouldn't be used for training.
Which crawler does what?
| Bot | Company | Job | Block it? |
|---|---|---|---|
| GPTBot | OpenAI | Training | Your choice |
| OAI-SearchBot | OpenAI | ChatGPT search results | Keep open |
| ChatGPT-User | OpenAI | Fetches a page a user asked about | Keep open |
| ClaudeBot | Anthropic | Training | Your choice |
| Claude-SearchBot | Anthropic | Search result quality for Claude | Keep open |
| Claude-User | Anthropic | Fetches a page a user asked about | Keep open |
| PerplexityBot | Perplexity | Surfaces and links sites in Perplexity results | Keep open |
| Perplexity-User | Perplexity | Fetches a page a user asked about | Keep open |
| Google-Extended | Gemini training and grounding (not Search) | Your choice |
Sources: OpenAI, Anthropic, Perplexity, Google.
Anthropic says that restricting ClaudeBot signals your future content should be excluded from its training data, and that disabling Claude-SearchBot may reduce your visibility in search results. Perplexity says PerplexityBot is not used to crawl content for AI foundation models. Google says Google-Extended doesn't affect your inclusion in Google Search and isn't a ranking signal; Googlebot itself is what feeds Search, including AI Overviews.
What should my robots.txt say?
A common middle ground: open to AI search, closed to training. Here's a version you can adapt:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: *
Allow: /
Sitemap: https://yourcompany.com/sitemap.xml
Because the most specific matching group wins under the robots.txt rules Google documents, the search and user bots fall through to the open * group. If you'd rather have your content used for training too, just leave out the three Disallow groups.
Why might AI crawlers be blocked even if robots.txt allows them?
Firewalls and bot-protection services can turn crawlers away at the server, whatever robots.txt says. Some CDNs offer settings that block AI bots in one click, and some hosts block unfamiliar user agents by default. The only way to know is to request your pages as those bots. Our free AI crawler checker reads your robots.txt the way Google does and visits your homepage as GPTBot, ClaudeBot and PerplexityBot to catch firewall blocks.
Frequently asked questions
Does blocking GPTBot remove me from ChatGPT?
Not from ChatGPT search results. OpenAI treats GPTBot (training) and OAI-SearchBot (search) separately, so you can block one and allow the other.
Does blocking Google-Extended affect my Google rankings?
No. Google says Google-Extended doesn't affect inclusion in Google Search and isn't used as a ranking signal.
What happens if I block PerplexityBot?
Perplexity says PerplexityBot surfaces and links websites in its search results, so blocking it makes it less likely Perplexity will cite you.
Is robots.txt enough to stop AI training?
robots.txt is a request that the major AI companies say they honour for their named crawlers. It isn't enforcement, and it doesn't remove content already collected.