Guides

AI crawlers and robots.txt: how to allow search, block training, and verify it

aeogeo Research · updated · evidence reviewed to

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.

VendorSearch / citationsTrainingUser-triggered fetch
GoogleGooglebotGoogle-ExtendedGoogle-Agent
OpenAIOAI-SearchBotGPTBotChatGPT-User
PerplexityPerplexityBot—Perplexity-User
AnthropicClaude-SearchBotClaudeBotClaude-User
MicrosoftBingbot (Copilot draws on Bing)——

Two important nuances:

What should a sensible policy look like?

There is no universal answer, but the decision tree is simple:

  1. Do you want citations in AI search? Allow the search crawler: OAI-SearchBot, PerplexityBot, Claude-SearchBot, Googlebot. Keep the page indexed and snippet-eligible.
  2. 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.
  3. 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
  4. 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:

  1. The file. Fetch https://example.com/robots.txt and confirm the groups are correct.
  2. 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
  3. 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

Verification checklist

Rules: Configure robots.txt per AI crawler purpose · Track AI crawler traffic with IP verification

What we are still verifying

Sources

Reviewed 2026-11-22. Sources belong to their authors; citing them does not imply endorsement.

Related rulebook entries

Full rules, sources and evidence grades are available to your agent through the MCP server.

All guides → · Rulebook digest →

Updated