Skip to main content

Our tools are free, no sign-up needed.Try them

GEOQuébec
FR
Back to the blog
TechnicalAnne Costisella

Blocking AI bots: which ones to stop and which ones to let in

Find out whether to block AI bots, which ones to let in, what Cloudflare changed in 2026 and how to set up your robots.txt.

Small toy robot, illustrating the decision to block AI bots

Key takeaways

  • AI bots fall into three families: those that train models, those that power search and those that act at a user's request.
  • At OpenAI, blocking GPTBot has no effect on search, while blocking OAI-SearchBot removes the site from ChatGPT's search answers.
  • At Google, the Google-Extended token doesn't affect search, but blocking Googlebot wipes the site from Google, AI Overviews included.
  • Cloudflare announced that starting September 15, 2026, it would block training and agents by default on ad-supported pages of some sites.
  • The robots.txt file states a preference; it doesn't lock anything.

Blocking AI bots means protecting your site. The idea sounds like common sense, but it rests on a misunderstanding: there isn't just one AI bot, there are several, with very different roles. Shutting the door on the wrong one means disappearing from ChatGPT's or Claude's answers, without protecting anything more.

For a small business that wants to be recommended by assistants, the right question isn't “should I block AI bots?” but “which ones, and why?”

Blocking AI bots: what are we actually talking about

The big AI companies now separate their bots by purpose. The first type collects pages to train future models. The second crawls the web to power search and answers with sources. The third only shows up when a user asks the assistant to look at a specific page.

Picture three visitors in a shop. The first is taking notes for a future textbook, the second is putting together a guide to the best spots in the neighbourhood, and the third is running an errand for a specific customer. Shutting the door on the first costs very little, while shutting it on the second takes you out of the guide.

CompanyTraining botSearch botEffect of blocking
OpenAIGPTBotOAI-SearchBotBlocking GPTBot changes nothing for search; blocking OAI-SearchBot removes the site from ChatGPT's search answers
AnthropicClaudeBotClaude-SearchBotBlocking Claude-SearchBot or Claude-User can reduce the site's visibility in Claude's answers
GoogleGoogle-Extended (token)GooglebotGoogle-Extended has no effect on search; blocking Googlebot removes the site from Google

Bots of the third type have names like ChatGPT-User or Claude-User. According to OpenAI's documentation, robots.txt rules may not apply to ChatGPT-User, since the visit comes directly from a human request. Anthropic states, on the contrary, that its three bots, Claude-User included, respect robots.txt.

What you lose by blocking the wrong bot

At OpenAI, each setting is independent. A site can refuse GPTBot, and therefore training, while allowing OAI-SearchBot to appear in ChatGPT search. A site that blocks OAI-SearchBot will no longer appear in its search answers, except as a plain navigation link, and the change takes about 24 hours to take effect.

At Google, the logic is different. Google-Extended isn't a bot but a token that indicates whether content can be used to train Gemini models and ground their answers. It has no effect on a site's inclusion in Google Search or on its ranking.

Search AI Overviews, for their part, depend on Googlebot. Google's documentation presents Googlebot's robots.txt as the main access control, which means you can't opt out of AI Overviews without opting out of Google. Google also says it will support, in early 2027, a common preference signal for AI training that comes out of the AIPREF standardization work.

Aisle in a server room lined with metal equipment racks

What Cloudflare changed in 2026

Cloudflare sits in front of many websites to protect and speed them up, and some hosts turn it on themselves for their customers. On July 1, 2026, the company announced new settings that separate three uses: search, agents and training.

According to that announcement, starting September 15, 2026, new sites and free accounts that haven't changed anything allow search by default but block training and agents on pages that show ads. “Mixed” bots, which don't let you tell those uses apart, are blocked on those same pages. The settings can be changed at any time in the dashboard.

The context explains the shift. According to Cloudflare, automated bots and agents now generate more than half of web requests, and 52% of bot requests were for AI training in June 2026, versus 22% in spring 2025.

A bot setting that puzzles you, or a block you stumbled on by accident? Describe it to the editorial team, since concrete cases like these help document the situation of Quebec sites.

What bots take and what they give back

The exchange is still very lopsided. In June 2025, Cloudflare measured that Anthropic crawled about 70,900 HTML pages for every visit it sent back to a site. The company notes that this ratio is probably overstated, since the Claude app doesn't always pass along where visits come from.

Cloudflare also observes that more than half of AI bot traffic goes to re-downloading pages that haven't changed. Google, meanwhile, still provides about 88% of referral visits, according to the same Cloudflare annual report.

For a media outlet, these figures make the case for negotiating or blocking training. Cloudflare even offers publishers a way to charge AI companies for using their content, rather than for the simple visit to their pages. For a small business that sells services or products, the issue lies elsewhere: being read by search bots, so it gets cited and recommended when a customer asks their question.

Person holding a key in front of a door, an image of controlling bot access to a site

How to check and set up your robots.txt

Open your site's address followed by /robots.txt in a browser. This small text file tells bots what they can crawl. A “Disallow: /” line under a bot's name closes the whole site to it.

Each block starts with a bot's name, after User-agent, then states what it is allowed (Allow) or not allowed (Disallow) to access. A slash on its own means the entire site.

A small business site that wants to stay visible in AI answers while refusing training can draw on this template:

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

Then check your Cloudflare dashboard, if your site uses it, since its settings can block a bot that robots.txt allows. The monthly method for tracking visibility in AI also explains how to spot these bots in your server logs.

Finally, keep one fundamental limit in mind. The standard that governs robots.txt, RFC 9309, states that its rules “are not a form of access authorization.” The big declared bots respect them, but a malicious bot can ignore them.

Should a small business block AI bots on its site?

Rarely all at once. A small business almost always benefits from letting search bots in, since an AI only cites the pages it can read. Refusing training bots remains a defensible choice of principle, with no direct consequence on visibility in answers.

The real risk is an unintentional block, inherited from a default setting or an overzealous firewall. A look at robots.txt and at your host's dashboard is enough to rule it out. To go further and let agents act on your site, WebMCP opens the next door. A technical question about your setup? The contact page takes all questions about GEO.

FAQ

Does blocking AI bots hurt your Google ranking?

Not if you target the right bots. Blocking AI training bots, like GPTBot, ClaudeBot or the Google-Extended token, has no effect on inclusion or ranking in Google Search. Blocking Googlebot, on the other hand, removes the site from Google Search entirely, AI Overviews included. Before making any change, check the exact name of each bot in the official documentation of the company concerned.

Do AI bots always respect the robots.txt file?

The declared bots from OpenAI, Anthropic and Google say they respect robots.txt, with one nuance at OpenAI for ChatGPT-User, which acts at a user's request. The RFC 9309 standard points out, however, that these rules are not a form of access authorization. A malicious bot can ignore them, which is why server-side or Cloudflare settings are useful. Cloudflare's settings actually block the visit.

How can you tell if a site is blocking ChatGPT without meaning to?

First open the site's robots.txt file and look for the names OAI-SearchBot, GPTBot or ChatGPT-User followed by a Disallow line. Then check the settings in Cloudflare or your host's firewall, which can block AI bots by default. Finally, server logs confirm whether OAI-SearchBot actually visits the pages or gets refused. Run the check again after every change of host or theme.