Blocking AI crawlers on Cloudflare without blocking Google means setting Cloudflare’s Search, Agent and Training choices so AI training is refused while Googlebot can still crawl your pages for Google Search. The safe choice for Training is usually Disallow, not Block. Block also catches mixed-purpose crawlers, and Cloudflare’s own blog says Googlebot is used for search, AI training and grounding.
What are Cloudflare’s AI choices? #
Cloudflare calls the page AI Crawler and Agent access policies. It used to be called “Configure AI bot policies”. It sorts AI visitors into three groups:
| Group | What Cloudflare says it covers | Choices |
|---|---|---|
| Search | Crawlers that collect or index content to answer later questions | Allow, Block, Block on pages with ads |
| Agent | Live automated activity for a person, such as chat fetch bots and browser-use agents | Allow, Block, Block on pages with ads |
| Training | Crawlers that take content to train or fine-tune a model, including mixed-purpose crawlers | Allow, Disallow, Block, Block on pages with ads |
For new domains, all three start on Allow. Cloudflare says each policy applies to verified bots with that behaviour and to matching unverified bots. See verified bots.
What each Training choice does #
| Choice for Training | What Cloudflare says it does | Risk to Googlebot |
|---|---|---|
| Allow | Does not block matching requests | None |
| Disallow | Asks crawlers through robots.txt not to access your content; with Bot Preference Sync on, also blocks AI training crawlers at the edge, leaving out mixed-purpose crawlers | Low: mixed-purpose crawlers are left out of the edge block |
| Block | Blocks matching requests across the zone, including mixed-purpose crawlers | High, if Googlebot is treated as mixed-purpose |
Which visitor goes where? #
| Visitor | Example names from the companies’ own pages | Cloudflare group |
|---|---|---|
| People | Someone in Chrome or Safari | Not an AI group |
| Search crawlers | Googlebot | Search engine; Cloudflare’s blog says Googlebot is used for several purposes |
| AI crawlers for training | GPTBot, ClaudeBot, CCBot | Training |
| AI crawlers for search | OAI-SearchBot, Claude-SearchBot | Search |
| AI agents | ChatGPT-User, Claude-User | Agent |
| API and MCP calls | An assistant using your MCP server | Not covered by these choices |
The group column is our reading of Cloudflare’s definitions. Cloudflare’s directory decides the final group for each bot, so check yours in the dashboard.
Why not block every AI bot? #
Because the jobs are different. A training crawler takes your pages into a model, with no link back. A search crawler and an agent are how an assistant finds your page and quotes it to a person, often with a link. Blocking all three stops the training, but it also takes you out of the answers people now read. See get cited by ChatGPT and AI visibility.
Why does it matter for search? #
Google says rules for the Googlebot user agent affect Google Search. If Googlebot is refused, your pages can fall out of Google. Google’s token for Gemini training, Google-Extended, does not affect inclusion or ranking in Google Search. Google also says robots.txt is not a way to keep a page out of Google: a blocked address can still appear, without a description. See indexed, though blocked by robots.txt.
Why does it matter for AI answers? #
AI companies run separate bots for separate jobs. OpenAI says GPTBot crawls content that may be used for training, OAI-SearchBot shows websites in ChatGPT’s search, and ChatGPT-User acts for users, where robots.txt rules may not apply. Each setting is independent. Anthropic runs ClaudeBot for training, Claude-SearchBot for search and Claude-User for people’s questions. Refuse a training crawler, keep search and agents, and you can still be found and quoted in AI search.
What about Google’s AI answers? #
Google says a page must be indexed and eligible for a snippet to appear as a link in its AI features, and that robots.txt rules for Googlebot control crawling for Search. To limit what is shown, it points to nosnippet, data-nosnippet, max-snippet and noindex. To limit AI training and grounding in some of Google’s other systems, it points to Google-Extended. So Google-Extended alone does not take you out of AI Overviews or AI Mode.
Why is Googlebot the hard part? #
Cloudflare’s January 2026 blog argues that Googlebot does several jobs at once: search indexing, AI training and grounding for AI answers. It says the UK’s Competition and Markets Authority gave Google Strategic Market Status in general search in October 2025, and proposed rules for publishers in January 2026. Cloudflare wants Google to split Googlebot by purpose. Until then, blocking Googlebot to stop AI use costs you Google Search. Our news on a shared AI training signal follows the story.
How does managed robots.txt work? #
Cloudflare says managed robots.txt is on all plans. If you already serve a robots.txt, Cloudflare puts its own lines in front of yours. Its example disallows Amazonbot, Applebot-Extended, Bytespider, CCBot, ClaudeBot, Google-Extended, GPTBot and meta-externalagent. It also adds a Content Signals policy with three categories: search, ai-input and ai-train. Cloudflare says plainly that robots.txt compliance is voluntary.
A worked example #
A law firm wants Google Search to keep its pages but does not want them used to train Gemini or OpenAI’s models. It sets Training to Disallow in Cloudflare, leaves Search and Agent on Allow, and checks its robots.txt contains groups like these:
User-agent: Google-Extended
Disallow: /
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
There is no group for Googlebot, OAI-SearchBot or Claude-SearchBot, so they may crawl everything. One trap: Google says Google-Extended has no separate user agent string and crawling is done with existing Google user agents, so you will never see “Google-Extended” in your logs. The rule works on how Google uses the pages, not on a separate visitor. Anthropic says to repeat the rules on each subdomain you want to opt out.
Common mistakes #
- Block instead of Disallow for Training. Block also catches mixed-purpose crawlers.
- Blocking the Agent group by accident. Live fetchers bring people’s questions to you. See live fetcher.
- Blocking by IP address. Anthropic says it may not work and can stop its bots reading your robots.txt.
- Looking for Google-Extended in logs. It never appears there.
- Trusting robots.txt alone. It is voluntary. Bots using borrowed names ignore it. See which AI crawlers to allow, and which to block.
- Switching on Super Bot Fight Mode to stop AI. It is a different tool. See Super Bot Fight Mode.
How to check it #
- In Cloudflare, open Security, then Settings, filter by Bot traffic, then AI Crawler and Agent access policies. Set Training to Disallow; leave Search and Agent on Allow unless you mean to refuse them.
- Read the live file with our Robots.txt Checker and see which AI bots it lets in with the AI Bot Checker. Our guide how to use the robots.txt checker walks through it.
- Run the AI Training Opt-Out Checker for robots lines, noai tags and TDM headers.
- Run Can Google index this page? on your main pages to make sure Googlebot is still welcome, and check the X-Robots-Tag with the HTTP Header Checker.
- Drop a server log into the AI Crawler Log Analyser to see which AI bots still read what. Check any name with Verify an AI Bot. See log file analysis.
- See whether your pages are in Common Crawl with the Common Crawl Checker. Blocking CCBot can only affect future crawls.
- Check the doors you keep open for AI: the llms.txt Checker, the Markdown Version Checker and the AI Readiness Checker. See llms.txt.
- Watch Search Console’s Crawl stats report for Googlebot after any change. See Google Search Console.
Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. In URSY Pro, opening in stages: the AI training opt-out manager, the bot rules manager and AI bot analytics. Our guide should I block AI crawlers? helps you decide.
What URSY.com counts #
We count five kinds of visitor: people, search engines, AI crawlers, AI agents and other machines. AI crawlers are sorted into training, search and fetch-for-a-person. Googlebot is counted as a search engine even though it also feeds Google’s AI answers. Every bot name is checked against official IP lists: real, fake or unknown. See our methodology and each bot’s page in our bots directory.
Questions #
Will blocking GPTBot take me out of ChatGPT? #
OpenAI says GPTBot is for training and OAI-SearchBot is for ChatGPT’s search, and each setting is independent.
Does Google-Extended stop AI Overviews? #
No. Google points to snippet controls and noindex for Search, and to Google-Extended for some of its other systems.
Is Disallow enough? #
For honest crawlers, yes. With Bot Preference Sync on, Cloudflare also blocks AI training crawlers at the edge. Bots that lie about their name need checking.
Should I block ChatGPT-User or Claude-User? #
Only if you do not want to appear when people ask those assistants about you. They fetch a page because a person just asked, and OpenAI says robots.txt rules may not apply to user actions.
Can I charge AI crawlers instead? #
Cloudflare’s AI Crawl Control lists pay per crawl as a private beta. See pay per crawl.
Related words #
- Google-Extended
- Which AI crawlers to allow, and which to block
- Cloudflare blocking Googlebot
- robots.txt
- Training crawler
- GPTBot
- ClaudeBot
- Super Bot Fight Mode
- Pay per crawl
Sources #
- Cloudflare Docs: AI Crawler and Agent access policies, checked 24 November 2026
- Cloudflare Docs: Managed robots.txt, checked 24 November 2026
- Cloudflare Docs: AI Crawl Control, checked 24 November 2026
- Cloudflare blog: Google’s AI advantage and crawler separation, checked 24 November 2026
- Google Search Central: Google’s common crawlers, checked 24 November 2026
- Google Search Central: AI features and your website, checked 24 November 2026
- Google Search Central: Introduction to robots.txt, checked 24 November 2026
- OpenAI: Overview of OpenAI crawlers, checked 24 November 2026
- Anthropic: Does Anthropic crawl data from the web?, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Block AI crawlers on Cloudflare without blocking Google. URSY. Updated 26 November 2026. https://ursy.com/wiki/block-ai-crawlers-on-cloudflare/ · Section links
Tools for this
- LiveGoogle Snippet Previewtitle and description length in pixels (in browser)Run the check →
- LiveCan Google index this page? (noindex, robots, canonical, status)Run the check →
- LiveProduct Feed CheckerGoogle, Microsoft and ChatGPT shopping feeds checkedRun the check →
- ProAI training opt-out managerAllow or block each AI, one switch eachIn URSY Pro →
- ProFake bot detectorBots pretending to be Google or GPTBotIn URSY Pro →
- ProBot rules managerAllow / block each bot: robots.txt + firewall rules written for youIn URSY Pro →