GPTBot, ClaudeBot, PerplexityBot: which AI crawlers to allow in robots.txt
Every AI company now sends bots to read websites, and each one has its own name. Block the
wrong one in robots.txt and your site quietly drops out of ChatGPT, Claude or Perplexity
answers. Block none and your pages may end up in training data you'd rather opt out of.
The good news: these are separate bots, so you can choose.
What robots.txt does
robots.txt is a plain-text file at the root of your site (/robots.txt) that tells
crawlers which pages they may fetch. It's defined in the
Robots Exclusion Protocol, RFC 9309.
Rules are grouped by User-agent, the name a bot goes by. A bot follows the group that
names it. Only if no group names it does it fall back to the User-agent: * group. That
detail matters later.
One caveat from the standard itself: robots.txt is a request, not a lock. Well-behaved
bots follow it, but it isn't security. Don't rely on it to hide private pages.
Two kinds of AI bots
The names look alike, but AI bots do two very different jobs.
Search and browsing bots fetch your pages so an AI can answer a question and link to you. Block these and you won't be cited.
Training crawlers collect pages to train future models. Blocking them doesn't remove you from AI search; it only says "don't train on my content."
| Company | Search and browsing (keep allowed) | Training (your choice) |
|---|---|---|
| OpenAI | OAI-SearchBot, ChatGPT-User | GPTBot |
| Anthropic | Claude-SearchBot, Claude-User | ClaudeBot |
| Perplexity | PerplexityBot, Perplexity-User | none listed |
| Googlebot (normal Search) | Google-Extended | |
| Common Crawl | none | CCBot |
The companies say so in their own docs:
- OpenAI says on its crawler overview
that each setting is independent: you can allow
OAI-SearchBotfor ChatGPT search while disallowingGPTBot. It also says changes can take about 24 hours to show up in search. - Anthropic describes
ClaudeBot(training),Claude-SearchBot(search) andClaude-User(fetching a page when a user asks) in its help article on crawling. - Perplexity says on its crawler page
that
PerplexityBotis for search results and isn't used to train foundation models. - Google says on its list of crawlers
that
Google-Extendedis a control token for Gemini, not a separate bot, and that it doesn't affect inclusion in Google Search. Note that Google lists it for Gemini training and grounding (answers backed by live web results), so blocking it may limit how Gemini uses your pages. - Common Crawl runs
CCBot, which builds a public web archive that many AI models have been trained on. Its CCBot page shows how to block it.
One more thing to know: the bots that fetch a page because a person asked
(ChatGPT-User, Perplexity-User) may not follow robots.txt at all. OpenAI says the
rules "may not apply", and Perplexity says its user fetcher generally ignores them.
Copy-paste robots.txt examples
Replace example.com with your domain.
1. Welcome every AI bot (a fine default for most sites)
User-agent: *
Allow: /
Sitemap: https://www.example.com/sitemap.xml
2. Stay in AI answers, opt out of training
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: *
Allow: /
Sitemap: https://www.example.com/sitemap.xml
The search bots aren't named, so they fall back to the * group and stay allowed.
3. Keep a private folder out for everyone
User-agent: *
Disallow: /admin/
If you also have groups for named bots (like example 2), remember they don't read the *
group. Add Disallow: /admin/ to each named group too.
The mistake to check for
This two-line file blocks every bot, including every AI search bot:
User-agent: *
Disallow: /
It often comes from a staging site or a "coming soon" setting that was never switched off.
A rule meant for one bot can do the same thing if it's put in the * group by mistake.
How Jrooky checks it
The free scan reads your robots.txt and tests your homepage against nine AI bots:
the five search and browsing agents (OAI-SearchBot, ChatGPT-User, Claude-SearchBot,
Claude-User, PerplexityBot) and four training crawlers (GPTBot, ClaudeBot,
Google-Extended, CCBot).
- Blocking a search or browsing agent fails the check. You lose credit for each one blocked.
- Blocking all five caps your whole score at 40, because AI search can't reach the site at all.
- Blocking only training crawlers still passes. It's a valid choice and doesn't cost points.
- No
robots.txtat all fails the check.
It's one of the highest-weighted checks in the Jrooky score. It sits in the AI Accessibility section with llms.txt and server-side rendering, which is covered in JavaScript SEO. For the full list of checks, see what "AI-ready" means.
What to do next
Open yoursite.com/robots.txt in a browser and look for any Disallow: / under * or under
a search bot's name. Then run a free scan to see exactly which AI bots your site
lets in.