AI crawlers and robots.txt: who to allow
Which AI crawlers fetch pages for search answers and which collect training data, and a robots.txt that allows one while blocking the other.
AI companies run more than one bot. Some fetch pages so an assistant can cite them in an answer; others collect text that may train future models. They use different user agents, and robots.txt treats each one on its own. A site can be cited in AI answers and stay out of training data, or the other way round, as long as its robots.txt says so.
Search bots and training bots
The bots the AI companies document, and what each is for:
| Bot | Company | Used for | robots.txt |
|---|---|---|---|
| OAI-SearchBot | OpenAI | ChatGPT search results | Followed |
| ChatGPT-User | OpenAI | Pages a person asks ChatGPT to visit | May not apply |
| GPTBot | OpenAI | Training data | Followed |
| Claude-SearchBot | Anthropic | Indexing for Claude’s search | Followed |
| Claude-User | Anthropic | Pages fetched when a person asks Claude | Followed |
| ClaudeBot | Anthropic | Training data | Followed |
| PerplexityBot | Perplexity | Perplexity search results; not training | Followed |
| Perplexity-User | Perplexity | Pages fetched to answer a person; not training | Generally ignored |
| Google-Extended | A token, not a crawler: training and grounding outside Search | Token only |
OpenAI says each of its settings is independent: a site can allow OAI-SearchBot and disallow GPTBot. A site that blocks OAI-SearchBot is not shown in ChatGPT search answers, though it can still appear as a navigational link. Anthropic says blocking Claude-SearchBot or Claude-User may reduce a site’s visibility in Claude’s search results, while blocking ClaudeBot signals that future content should be left out of training.
User-triggered fetchers are a special case. Because a person asked for the page, OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them. Anthropic says its bots honor robots.txt.
Talewright counts the six search and user bots above as AI search bots, and GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent and Bytespider as training bots. For the last four, read each operator’s own documentation before relying on what they do.
Google-Extended is a token, not a crawler
Google runs no separate Google-Extended crawler. Googlebot and Google’s other crawlers record whether a page allows Google-Extended, and Google applies it to training of the models behind its generative AI products and to grounding in those products, apart from Search. Google says it does not affect inclusion in Google Search and is not a ranking signal.
It also does not control AI Overviews or AI Mode, which are part of Search. Google points to a Search generative AI control in Search Console for that. Blocking Googlebot instead blocks crawling for all of Google Search.
How robots.txt picks a group
RFC 9309, the robots.txt standard, decides which lines apply to a bot:
- A bot looks for the group whose
User-agentmatches its name, ignoring case. Groups that match are merged. - With no matching group, it uses the
*group. With neither, everything is allowed. - A bot with its own group ignores the
*group entirely, so a path that*disallows must be disallowed again in each named group. - Within the group, the rule matching the most characters of the path wins.
When an
Allowand aDisallowmatch equally,Allowwins. - A bot should follow at least five redirects for robots.txt, even to another host.
- A robots.txt that answers
4xxallows everything. One that answers5xxor cannot be reached means the bot must assume everything is disallowed.
That last point makes a broken robots.txt worse than a missing one: a server error can stop every crawler at once. robots.txt not valid flags a file that answers a server error, is served as a web page, or has lines that are not rules.
The common mistake is a * group that disallows everything, with an
exception only for Googlebot. Every other bot falls through to *, so this
blocks Bingbot and the AI search bots too:
User-agent: Googlebot
Allow: /
User-agent: *
Disallow: /
Search engine bots blocked catches this for Bingbot, DuckDuckBot and Applebot, and AI search bots blocked for the AI search bots.
A robots.txt for each policy
Being cited in AI answers needs the search bots allowed. Whether to allow
training is a business decision with no right answer here; what matters is
that the file states it. A group can list several User-agent lines before its
rules.
Allow AI search, block AI training:
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: PerplexityBot
User-agent: Perplexity-User
Allow: /
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: Applebot-Extended
User-agent: CCBot
User-agent: Meta-ExternalAgent
User-agent: Bytespider
Disallow: /
User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xml
Allow both: leave the AI bots out of the file, or list them with Allow: /.
A * group that allows everything already lets them in.
Block both: add the search bots to the Disallow: / group. OpenAI says a
site that blocks OAI-SearchBot is not shown in ChatGPT search answers, and
Anthropic says blocking its search bots may reduce visibility in Claude.
robots.txt changes take time to reach each crawler. RFC 9309 lets crawlers cache the file for up to 24 hours, and OpenAI says changes can take about 24 hours to reach its search results.
Keep the training policy consistent
Robots.txt files grow one line at a time: a bot gets added when someone hears of it, and the file ends up blocking some training bots and not others. AI training bots blocked lists which training bots the file blocks, for information only. Mixed AI training policy points out a file that lets some training bots in and keeps others out, which is usually an accident rather than a choice.
New signals are arriving. Anthropic says that on October 30, 2026 it began recognizing a general “no AI training” preference based on an IETF draft, rolling out over time, and that rules naming ClaudeBot take priority over it. Google says it intends to support a shared training preference signal in early 2027. Until these settle, the named groups above are the method every operator documents.
robots.txt is a request, not a lock
robots.txt asks crawlers to stay out; RFC 9309 says it is not access control, and Google notes that a disallowed address can still be indexed if other pages link to it. A firewall or bot protection service can also block a bot that robots.txt allows. Perplexity, for example, suggests allowing its published IP ranges in a web application firewall. If AI answers still do not reach the site after robots.txt allows them, check the firewall’s bot rules next.
Access is the first step. What AI answers need once the bots are in is in
AI search optimization, and /llms.txt, which
robots.txt does not touch, is covered in the llms.txt guide.
Keeping it right after launch
Talewright’s site health, in beta, reads the start host’s robots.txt with
every weekly crawl and checks whether each AI search bot may fetch /. The
AI search bots are 40 of the 100 points in its AI discoverability score;
training bots are shown in a separate table and cost no points, since
blocking them is a choice. Talewright reads robots.txt only, so it does not
see a firewall rule. A finding closes when a complete crawl no longer sees
the problem, so the fix shows after the next crawl.
The rules in this guide
- AI search bots blocked
ai/search-bot-blocked - AI training bots blocked
ai/training-bot-blocked - Mixed AI training policy
ai/training-policy-mixed - Search engine bots blocked
index/search-bot-blocked - robots.txt not valid
index/robots-invalid
Sources
- Overview of OpenAI crawlers (OpenAI) checked 2026-11-26
- Does Anthropic crawl data from the web, and how can site owners block the crawler? (Anthropic) checked 2026-11-26
- Perplexity crawlers (Perplexity) checked 2026-11-26
- How the Google-Extended product token works (Google) checked 2026-11-26
- List of Google's common crawlers (Google) checked 2026-11-26
- RFC 9309: Robots Exclusion Protocol checked 2026-11-26
- Robots.txt Introduction and Guide (Google Search Central) checked 2026-11-26
Updated 2026-11-26.