AI crawlers and robots.txt: how to allow search, block training, and verify it
AI crawlers are not one bot. How Google, OpenAI, Perplexity and Anthropic split search, training and user-triggered fetches, and how to set a policy that does not block citations by accident.
Short answer: “AI crawler” is not one bot. Google, OpenAI, Perplexity and Anthropic separate search crawlers from training crawlers and from user-triggered fetches. Decide those three policies independently. Allow the search crawlers you want citations from, make a deliberate training choice, and verify that your CDN or WAF is not overriding robots.txt at the edge.
Why the bot list matters
A single “block AI bots” switch can remove you from AI search answers while doing nothing you intended about training. The reverse is also common: a site allows everything because it wants citations, then discovers it also approved training access it never meant to grant.
The correct unit is the purpose, not the vendor.
Which AI crawlers exist?
The documented examples below are enough to show the pattern. Always check the vendor’s current page before changing production rules; names and IP ranges change.
| Vendor | Search / citations | Training | User-triggered fetch |
|---|---|---|---|
| Googlebot | Google-Extended | Google-Agent | |
| OpenAI | OAI-SearchBot | GPTBot | ChatGPT-User |
| Perplexity | PerplexityBot | — | Perplexity-User |
| Anthropic | Claude-SearchBot | ClaudeBot | Claude-User |
| Microsoft | Bingbot (Copilot draws on Bing) | — | — |
Two important nuances:
- Google-Extended controls training/Gemini use, not AI Overviews eligibility. The Search generative AI control in Search Console is separate. Google crawler docs
- ChatGPT-User is not the search-inclusion control. OpenAI says it is not used to decide whether content may appear in Search; use OAI-SearchBot for that. OpenAI crawler docs
What should a sensible policy look like?
There is no universal answer, but the decision tree is simple:
- Do you want citations in AI search? Allow the search crawler: OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot. Keep the page indexed and snippet-eligible.
- Do you want your content used for model training? This is a business and legal decision. Block the training crawler if not: GPTBot, ClaudeBot, Google-Extended.
- Do you want user-triggered fetches to succeed? ChatGPT-User, Claude-User and Google-Agent fetch a page when a person asks. Blocking them can reduce visibility in user-directed requests; check the vendor’s documented behavior. Google published dedicated guidance for allowing Google-Agent traffic through CDNs, firewalls and bot-detection services. Allow Google-Agent traffic
- Does your CDN/WAF enforce a different policy? Edge rules can override
robots.txt. Verify both.
A common public-content policy is: allow search, decide training separately, allow user fetches. A paywalled or licensed-content policy may differ.
A robots.txt example
# Search / citations — allowed
User-agent: Googlebot
Allow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Claude-SearchBot
Allow: /
# Training — blocked by choice
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
This is an example, not a recommendation for every site. The training block does not remove you from search answers; the search block does.
Does robots.txt actually control access?
robots.txt is a request, not an enforcement mechanism. A crawler that ignores it, a WAF rule, a login, or a CDN block can produce a different outcome. Verify at three levels:
- The file. Fetch
https://example.com/robots.txtand confirm the groups are correct. - The edge. Check CDN/WAF bot controls. Cloudflare, for example, now separates AI bot policies into Search, Agent and Training categories; edge blocking overrides robots.txt. Cloudflare AI crawler controls
- The logs. Verify crawler requests against the vendor’s published IP ranges. A user-agent string alone is not proof.
Google, OpenAI, Perplexity and Anthropic publish IP range files or lists. Use them for verification. Do not rely on the user-agent string alone.
What about IndexNow?
IndexNow is a URL submission protocol supported by Bing, Yandex and other participating engines. You host a key file at the site root and POST changed URLs, so a search engine can discover updates without waiting for a full crawl. It is useful for fresh pages and removals; it does not guarantee crawling, indexing or an AI citation.
Use it alongside sitemaps, not instead of them. Confirm the key file is reachable and the API response is accepted.
Rule: Use IndexNow for URL submission to Bing/Copilot
How long do changes take?
OpenAI says a robots.txt update can take about 24 hours for its systems to adjust. Other vendors publish their own timing or do not specify. Re-check logs after a day, not after a minute.
Common mistakes
- Blocking “all AI” and then wondering why citations disappeared. Search and training are separate.
- Allowing everything to get citations. That also allows training unless you make a separate choice.
- Assuming robots.txt overrides a WAF. It does not.
- Trusting the user-agent string. Verify IP ranges.
- Forgetting subdomains.
robots.txtis per host; each subdomain needs its own file. - Using
llms.txtas a crawler control. It is not one. See llms.txt docs.
Verification checklist
-
robots.txtreturns 200 at the site root for each host. - Search crawlers are allowed.
- Training crawlers are blocked or allowed by explicit decision.
- User-triggered fetchers are configured deliberately.
- CDN/WAF policy matches the robots policy.
- Vendor IP ranges are used to verify logs.
- Changes are re-checked after 24–48 hours.
- The policy is documented with an owner and review date.
Rules: Configure robots.txt per AI crawler purpose · Track AI crawler traffic with IP verification
What we are still verifying
- Every vendor’s current bot list. Names and purposes change; the vendor docs are the source of truth.
- How much user-triggered fetching affects citations. The agents are documented; the citation impact is not quantified.
- Whether CDN bot categories map exactly to vendor user agents. Categories are vendor-defined; verify against logs.
Sources
Reviewed 2026-11-22. Sources belong to their authors; citing them does not imply endorsement.
- Google common crawlers — Google Search Central
- Allow Google-Agent traffic — Google Search Central
- OpenAI crawlers — OpenAI
- Perplexity crawlers — Perplexity
- Does Anthropic crawl data from the web? — Anthropic
- Cloudflare AI crawler controls — Cloudflare
- IndexNow — IndexNow protocol
Related rulebook entries
- robots.txt rules per AI crawler
- Verifying AI crawler traffic
- Referral data and crawler logs
- Technical readiness at publish time
Full rules, sources and evidence grades are available to your agent through the MCP server.