A publisher opens its server logs on a Monday morning and finds GPTBot pulling 4,000 pages, ClaudeBot pulling 3,000, and Googlebot-Extended doing the same. The owner's question is simple: should we block these crawlers or not? The short answer is that blocking AI training crawlers is a policy choice, not a default setting, and the right call depends on one thing only: what you want your pages to do in AI systems.

Put simply, a crawler is a program that fetches pages automatically. An AI training crawler collects text to build or improve a model. An AI search crawler fetches a page so an answer engine can quote it today. These are different jobs, and you can say yes to one and no to the other.

This framework walks you through that decision by goal, not by fashion. Work through the four branches below in order, check the robots.txt tokens, then verify what actually happened.

What do you actually want from AI systems?

Start with one question: do you want AI answer engines to quote your pages, or not? Everything else follows from that. If the answer is yes, you keep the retrieval side open and decide separately about training. If the answer is no, you block both and accept the traffic loss.

There is a middle path, and it's the one most publishers end up choosing. You allow the crawlers that fetch pages to answer a live question, and you block the crawlers that collect text for model training. The two sets use different user-agent tokens, so robots.txt can tell them apart.

A user-agent token is the name a crawler sends when it requests a page, such as GPTBot or Googlebot. The robots.txt file sits at the root of your domain and lists rules per token, following the Robots Exclusion Protocol standard (RFC 9309, published September 2022; current in-force version prevails).

Which crawler is which? The token list

Robots.txt rules only work if you name the right token. A rule for GPTBot does nothing to ClaudeBot, and a rule for Googlebot does not touch Google-Extended. The table below lists the main tokens and what each one is documented to do.

User-agent tokenOperatorMain purposeBlocking it removes you from
GPTBotOpenAICollects content that may be used to train OpenAI modelsOpenAI training pipeline, subject to OpenAI's own documentation
Google-ExtendedGoogleControls use of content in Gemini model training and groundingGemini training and grounding, not Google Search indexing
ClaudeBotAnthropicCollects content for Anthropic model trainingAnthropic training, subject to Anthropic's documentation
CCBotCommon CrawlBuilds the public Common Crawl datasetCommon Crawl corpus; many models train on it downstream
OAI-SearchBotOpenAIFetches pages so ChatGPT search can cite themChatGPT search citations
PerplexityBotPerplexityFetches pages for Perplexity answersPerplexity citations
GooglebotGoogleIndexes pages for Google Search and AI OverviewsGoogle Search indexing and AI Overviews

Check each operator's own documentation before you write rules, because tokens and purposes can change. OpenAI publishes its crawler list in its documentation; Google publishes its list on the Google Search Central site; Anthropic publishes its own. The token names above are the ones those pages used as of 2026.

The important split is in the last column. Blocking GPTBot does not remove you from ChatGPT search citations, because that's a different token (OAI-SearchBot). Blocking Google-Extended does not remove you from Google Search or AI Overviews, because Googlebot handles those. Blocking Googlebot does remove you, and that's a much bigger decision.

Branch one: you want AI citations, so allow the search bots

If your goal is to be quoted by AI answer engines, your robots.txt needs to allow the retrieval crawlers by name. Most sites already allow everything with a wildcard, so the work is usually about not blocking them by accident.

A common mistake is a blanket rule that blocks all bots except a short allowlist. That works for spam control, but it quietly cuts off the AI search crawlers you may want. Write the allow rules first, then the blocks.

User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Googlebot
Allow: /

Keep this block short and explicit. Name each retrieval bot you care about, leave the rest of the file alone, and re-check the operator's docs every few months. There is no public figure for how often tokens change, so treat the list as something to review, not something to set once.

Branch two: you want citations but not training

This is the branch most publishers pick. You allow the retrieval bots, then add disallow rules for the training tokens. The file below is a starting point, not a finished policy. Adjust it to the tokens you actually want to stop.

# Allow AI search and citation crawlers
User-agent: OAI-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
# Block AI training crawlers
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: CCBot
Disallow: /

Two things to know before you paste this. First, Google-Extended is a control token, not a crawler that fetches pages on its own; Google documents it as a way to opt out of Gemini training and grounding. Second, CCBot feeds Common Crawl, and many models train on that dataset downstream. Blocking CCBot is a broad opt-out, not a narrow one.

If you also want to keep your strong pages out of training but leave your help centre open, use path-level rules. A Disallow line for /guides/ under GPTBot blocks only that folder. That's a useful middle position when your commercial pages matter more than your documentation.

Branch three: you want neither citations nor training

Some sites have a good reason to close the door: paywalled archives, licensed data, client work under contract. If that's you, block the training tokens and the AI search tokens together, and decide separately about Googlebot.

Blocking Googlebot is a different decision from blocking AI crawlers. It removes you from Google Search, which is a traffic channel most businesses rely on. The safer close-the-door option is to block the AI tokens and leave Googlebot alone, then use Google-Extended to opt out of Gemini training.

Expect a cost. If you block OAI-SearchBot and PerplexityBot, you should expect fewer AI citations over time. There is no public figure for how large that loss is, and it varies by topic and by how often your pages are a strong answer.

If you're unsure, run a trial. Block the training tokens for 90 days, keep the search bots open, and compare referral traffic and citation mentions before and after. That gives you your own data instead of someone else's average.

Branch four: you need enforcement beyond robots.txt

Robots.txt is a request, not a lock. The Robots Exclusion Protocol is voluntary; a crawler that ignores it can still fetch your pages. That's fine for compliant operators and useless against a scraper that doesn't care.

For real enforcement, put a control in front of the origin server. A web application firewall (WAF) is a filter that sits between the internet and your site and can block requests by IP address, user-agent or rate. Cloudflare documents bot management rules that can block or challenge requests by user-agent, and its documentation notes that user-agent strings can be spoofed.

IP-based blocking is stronger but harder to maintain, because operators publish IP ranges that change. OpenAI, Google and others publish their crawler IP ranges in their documentation; check those pages rather than guessing. Rate limiting is the simplest backstop: if one address pulls 500 pages a minute, throttle it regardless of what it calls itself.

For pages you never want indexed or quoted, add a meta robots tag with noindex, or an X-Robots-Tag HTTP header. These are documented by Google Search Central and work alongside robots.txt. They do not stop a determined scraper either, but they close the compliant path.

How do you check the block actually works?

Write the rules, then verify. A robots.txt rule that looks right can still fail because of a typo in the token, a misplaced wildcard or a cached copy. Here's the order to check in.

  • Fetch your robots.txt in a browser and read it as a crawler would. The file must be at the root, for example https://example.com/robots.txt.
  • Check the token spelling against the operator's documentation. GPTBot is not GPT-Bot, and a wrong name is silently ignored.
  • Look at server logs for the blocked token. If requests from GPTBot stop after the change, the rule took effect. If they continue, the crawler either ignored the rule or cached an older file.
  • Use the operator's own removal or verification tools where they exist. Google documents a way to check Google-Extended settings in Search Console.
  • Re-check after 30 days, because crawl behaviour can lag. A crawler that fetched your site weekly may take a few cycles to notice.

If the logs show the token still hitting pages after two weeks, treat it as a policy question, not a technical one. Some operators state that they honour robots.txt; others may not. The log is the evidence, and the log is what you show a legal or compliance team.

Does blocking AI crawlers hurt traditional SEO?

Blocking GPTBot, ClaudeBot or CCBot does not affect Google Search rankings, because those tokens are not part of Google's indexing pipeline. Blocking Google-Extended does not affect Google Search either; Google documents it as a separate control for Gemini training and grounding.

Blocking Googlebot does affect Google Search, and that's the one to avoid unless you've decided to leave search entirely. The rule of thumb: separate the tokens, block the training ones, and leave Googlebot in place.

The bigger risk is indirect. If AI answer engines become a real discovery channel for your buyers, blocking their retrieval bots removes you from that channel. That's a business cost, not an SEO penalty. Judge it the same way you'd judge leaving a trade show.

Key Facts at a Glance

  • Two decisions, not one: training crawlers and AI search crawlers use different tokens, so you can allow citations and block training.
  • Key tokens: GPTBot, Google-Extended, ClaudeBot and CCBot are the main training controls; OAI-SearchBot and PerplexityBot fetch pages for live answers.
  • Robots.txt is voluntary: RFC 9309 sets the convention, but a crawler can ignore it. Use a WAF or rate limiting for enforcement.
  • Verification is the log: check that blocked tokens stop appearing in server logs within about two weeks.
  • Googlebot stays: blocking it removes you from Google Search; blocking Google-Extended does not.
  • Trial before you commit: run a 90-day block of training tokens and compare your own traffic data.
Does blocking GPTBot hurt my Google rankings?

No. GPTBot is OpenAI's training token, and it plays no part in Google's indexing. Google rankings depend on Googlebot, which is a separate token. Blocking GPTBot affects OpenAI's training pipeline, not Google Search.

What is the difference between GPTBot and Google-Extended?

GPTBot is OpenAI's crawler for content that may be used in training OpenAI models. Google-Extended is Google's control token for opting out of Gemini training and grounding. They belong to different companies and control different systems.

Can I block AI training but still appear in AI search results?

Yes, in principle. Block the training tokens such as GPTBot, ClaudeBot and CCBot, and allow the retrieval tokens such as OAI-SearchBot and PerplexityBot. Check each operator's documentation, because the token list can change.

Does robots.txt actually stop AI crawlers from scraping?

Only if the crawler chooses to obey. RFC 9309 defines the convention, not an enforcement mechanism. For a crawler that ignores it, use a web application firewall, IP range blocking or rate limiting in front of the origin server.

Should I block ClaudeBot and CCBot on my site?

Block ClaudeBot if you don't want your text used for Anthropic training. Block CCBot if you want out of the Common Crawl dataset, which many models train on downstream. Both are broad opt-outs, so weigh them against your citation goals.