Controlling AI access

Blocking AI crawlers: what works and what doesn't

Levels of blocking AI crawlers, from gentlest to firmest: robots.txt, server rules, firewall and CDN, required login, and their cost: less presence in assistants' answers CONTROLLING AI ACCESS Blocking AI crawlers robots.txta polite request, honoured by honest crawlersServerrefuse certain crawler namesFirewall, CDNblock and verify crawler identityLoginkeep content for membersThe costless presence in AI answersBlocking erases nothing already collected

Updated November 30, 2026.

Yes, you can block AI crawlers, at several levels, but none of them is perfect. Robots.txt obliges no one, a crawler’s name can be imitated, a block only applies going forward, and a setting that is too broad can remove you from Google or from assistants’ answers. Blocking, letting through or charging: all three choices are legitimate.

This article is about intentional blocking. If you are instead worried that you blocked ChatGPT without meaning to, for example with an overzealous firewall, see GPTBot and OAI-SearchBot: robots.txt rules for ChatGPT.

Before blocking: decide what you are refusing

The major providers often have one crawler per use: training, search, and agents that read a page at a user’s request. OpenAI, Anthropic, Google and Apple separate these settings, and Microsoft will do so starting February 1, 2027: you can refuse training while still being cited. This balance is the subject of Show up in ChatGPT; the map of choices is in AI and your website, and each crawler is described in The list of AI crawlers and what each one does.

Server load is also a valid reason: Read the Docs paid more than US$5,000 in bandwidth for a single crawler in May 2024, before blocking it. That is a very large site; a small site will not necessarily experience the same thing.

The levels of blocking, from the gentlest to the firmest

LevelWhat it blocksWhat it doesn’t block
1. Robots.txtCrawlers that choose to respect it, such as those of Anthropic, Google and Common Crawl, according to them.Those that ignore it, some on-request agents, and what has already been collected.
2. A WordPress pluginDepending on its type: lines added to robots.txt (a request), or an actual refusal of requests.Depending on its type, the same as level 1 or level 3.
3. A server ruleRequests that announce themselves under a given name: the server responds with a refusal instead of the page.A crawler that changes its name; at some web hosts, pages served from the cache.
4. The web host’s settingWhatever the web host has provided for, sometimes a switch per crawler.It varies: some deliberately spare search engines and agents.
5. The firewall or CDNRequests, before they reach the site, by category or crawler by crawler.Crawlers it does not recognize. A category that is too broad can block Googlebot.
6. A login or paywallAny visitor without an account, crawlers included: to truly control access, the robots.txt standard points to a real security measure, such as authentication.Almost nothing. The downside: no one without an account can read the page anymore, search engines included, unless special arrangements are made.

Robots.txt is a request, not a lock: the RFC 9309 standard states that its rules are not a form of access authorization. The signals that complement it are in Refusing AI training: opt-out signals beyond robots.txt. Moving up a level adds nothing against a crawler that already respects the file; Anthropic even warns that blocking its IP addresses may not guarantee a lasting refusal, because it prevents Anthropic from reading your robots.txt. The firm levels are mainly useful against crawlers that don’t follow it.

Apache, nginx and LiteSpeed servers can refuse a request based on the user agent, the name the visitor gives itself. Apache’s own documentation warns that this is “an unreliable technique”: that name can be anything.

Cloudflare: check your own settings

Since 2024, Cloudflare has allowed all its customers, free plan included, to block AI crawlers. Its documentation now describes three categories, Search, Agent and Training, which can be blocked, blocked on pages that display ads, or allowed; for training, “Disallow” also adds a request to robots.txt. AI Crawl Control, available on all plans, also blocks crawler by crawler; on the free plan, it recognizes them by their user agent.

The default settings? Cloudflare has announced several changes, in 2025 and then in 2026, and its own pages do not agree on the current state. Open your dashboard and look at what is actually set for your domain.

Warning: according to a Cloudflare blog post (July 2026) and the web host Kinsta, blocking the “Training” category also blocks Googlebot, Bingbot and Applebot, which Cloudflare classifies as both search and training crawlers. Kinsta warns that this can remove your site from search results. Cloudflare’s current documentation confirms that the “Training” category’s actions also apply to these dual-use crawlers, without naming them; only the “Disallow” action, with Bot Preference Sync, excludes them from the block.

Finally, Cloudflare is testing pay per crawl in closed beta: see Getting paid when AI uses your content.

Other CDNs and WordPress web hosts

Vercel offers an “AI Bots” rule on all its plans, turned off by default; Fastly offers similar controls in a paid product, Bot Management, and Akamai in its Bot & Agent Control offering. Among web hosts, Kinsta offers a setting in beta that spares Googlebot, Bingbot, AI search crawlers and on-request agents. Hostinger offers a switch per crawler, and warns that its CDN’s security can block crawlers that robots.txt allows. SiteGround blocked training crawlers by default according to its 2025 page, but its November 2026 version no longer mentions this. In short: ask your web host what it already blocks.

WordPress plugins: two families

When there is no robots.txt file at the root, WordPress produces a “virtual” one, which plugins can modify. Some simply add lines to it: a request. Others, for example some security plugins, actually refuse requests, notably based on the user agent, with the limits of a server rule. Check which family yours belongs to, then open yoursite.com/robots.txt to see what is really being served.

What doesn’t work, or works poorly

  • Blocking by name only. The user agent can be imitated: Apache, Google and Cloudflare say so. A crawler that wants to get through changes its name.
  • Relying on a server rule when a cache serves the page. At some web hosts, a cached page escapes the rules: SiteGround says so for its dynamic cache, which is enabled by default. Robots.txt does not have this limit, since a crawler that respects it reads it before requesting a page.
  • Forgetting Common Crawl. Blocking GPTBot or ClaudeBot does not affect Common Crawl’s open archives, which others reuse: according to a Mozilla Foundation study (2024), more than 80% of GPT-3’s tokens came from them. Its crawler, CCBot, can be refused in robots.txt.
  • Relying on robots.txt against on-request agents. According to their providers, its rules may not apply to ChatGPT-User, OpenAI’s agent; Perplexity’s agent generally ignores them, as do Google’s user-triggered fetchers. Against them, only an actual block works, and it also removes you from their answers.
  • Hoping to erase the past. Anthropic speaks of “future” content; Hostinger writes that a block does not erase what has already been collected. Common Crawl does not modify its published archives: following a removal request, it removes the URLs concerned from its subsequent crawls and its public tools.

Impostors: verify before drawing conclusions

Some crawlers pose as others: Common Crawl says it knows that fake CCBots are circulating. The principle of verification: a crawler bearing a known name is genuine only if its address really belongs to the provider, according to the list the provider publishes or a double DNS lookup. For a small business, the simplest approach is to let its CDN or web host take care of this; the details are in How to know if an AI read your website.

This only applies to crawlers that announce themselves. In August 2025, Cloudflare accused Perplexity of using undeclared crawlers, which Perplexity disputed; as far as we know, no third party has settled the matter. More in Do AI crawlers respect robots.txt?

The price of blocking: disappearing from some answers

  • ChatGPT: according to OpenAI, a site that refuses OAI-SearchBot is no longer shown in ChatGPT search answers, except as a navigational link. Refusing GPTBot does not have this effect.
  • Google: according to Google, refusing Google-Extended affects neither inclusion nor ranking in Search. For AI Overviews and AI Mode, the control remains Googlebot: blocking it by mistake would remove you from Google and from its AI Overviews.
  • Microsoft: answers from Bing, Copilot and Microsoft 365 rely on the content its crawlers collect. Microsoft doesn’t put it this way, but blocking Bingbot would therefore likely deprive Copilot of your pages. Its new preferences, planned for February 1, 2027, will let you refuse training while staying in Bing.

A training crawler takes your content to train a model; according to Cloudflare, it is from search, not training, that a site can expect visits or compensation. Refusing training therefore probably costs little in visits, but Kinsta warns that it can reduce how often some AI tools use or cite your content. According to Cloudflare’s measurements, AI platforms crawl many pages for few visitors sent back. For Google’s AI summaries, the figures come from a single study, by the Pew Research Center: in March 2025, among 900 American adults, people clicked on a traditional link in 8% of visits with a summary, compared with 15% without a summary. Google says these clicks are of higher quality.

How many sites block AI crawlers?

These figures cover different sites, years and measurements: they cannot be compared or added together.

  • Reuters Institute, Richard Fletcher (February 2024): at the end of 2023, 48% of the most-visited news sites in ten countries (15 per country) blocked OpenAI’s crawlers in their robots.txt, based on archived copies of these files.
  • HTTP Archive, Web Almanac 2025 (January 2026): GPTBot is named in the robots.txt of about 4.5% of sites measured on desktop, compared with 2.9% in 2024. “Named” doesn’t mean “blocked”: the measurement also counts permissions.
  • Cloudflare Radar, 2025 Year in Review (December 2025): among its 10,000 most popular domains, AI crawlers, including GPTBot, ClaudeBot and CCBot, are the agents most often disallowed from the entire site. This is the finding of a single company, with no figures.

A four-step method for a small business

  1. Decide what you are refusing: training, search, agents, or nothing.
  2. Choose the gentlest level that does the job. For crawlers that respect robots.txt, the file is enough. On Cloudflare, don’t block “Training” if you care about Google and Bing.
  3. Check. Open your robots.txt in the browser, run your site through the free robots.txt checker and consult the robots.txt report in Search Console. Make sure Googlebot and Bingbot still get through. Then look at the server log (see How to know if an AI read your website).
  4. Review every six months. Cloudflare changed its settings in 2024, 2025 and 2026; Akamai and Vercel revised their categories in September and October 2026. Six months is my advice, not a rule.

Waitlist. I’m building new tools to help website owners and creators stay in control when it comes to AI. Get notified at launch.

Frequently asked questions

Is the robots.txt file enough to block AI crawlers such as GPTBot or ClaudeBot?

No: robots.txt is a request, not a lock; its standard, RFC 9309, states that its rules are not a form of access authorization. The major crawlers, including Anthropic’s and Google’s, state that they respect it, but some agents that act at a user’s request may not follow it, according to OpenAI and Perplexity. For those agents, only a block at the server or the firewall works.

Can blocking Cloudflare’s “Training” category remove a site from Google?

Yes. According to a Cloudflare blog post (July 2026) and Kinsta, blocking the “Training” category also blocks Googlebot, Bingbot and Applebot, which Cloudflare classifies as dual-use crawlers, for search and training. Kinsta warns that this can remove the site from search results. Cloudflare’s current documentation confirms that the “Training” category’s actions also apply to dual-use crawlers; only the “Disallow” action, with Bot Preference Sync, excludes them from the block.

Does a WordPress web host already block AI crawlers without being asked?

It depends on the web host. Kinsta and Hostinger offer a setting to block AI crawlers; SiteGround blocked training crawlers by default according to its 2025 page, but its current page no longer mentions this. Hostinger also warns that its CDN’s security settings can block crawlers even when robots.txt allows them: the safest approach is to ask your web host.

Does a WordPress plugin really block AI crawlers?

Some WordPress plugins only add lines to the virtual robots.txt that WordPress produces when no file exists at the root: that is a request, not a block. Others, for example some security plugins, actually refuse requests, notably based on the user agent. Opening your own robots.txt in the browser shows what is really being served.

Why is blocking an AI crawler by its user agent unreliable?

The user agent is a name the visitor gives itself: Apache’s and Google’s documentation warn that it can be imitated. A crawler that wants to get through can therefore change its name. Providers publish IP address lists or DNS methods for verifying their genuine crawlers, and a CDN can do this verification for you.

Does blocking AI crawlers erase content already collected by ChatGPT, Claude or Common Crawl?

No. A block applies going forward: Anthropic speaks of a site’s future content, and Hostinger writes that a block does not erase what has already been collected. Common Crawl does not modify its already published archives; following a removal request, it removes the URLs concerned from its subsequent crawls and its public tools.

Does blocking AI crawlers make a site disappear from ChatGPT’s answers or Google’s AI Overviews?

It depends on which crawler is blocked. According to OpenAI, refusing OAI-SearchBot removes a site from ChatGPT search answers, whereas refusing GPTBot does not have this effect. According to Google, refusing Google-Extended does not affect Google Search; for AI Overviews and AI Mode, the control is Googlebot, which therefore should not be blocked if you want to appear there.

Sources

Documents checked on November 30, 2026. Pages that were blocked that day were read in their archived copies, indicated below.

Spotted an error or a change? Write to me from the home page: every correction is dated at the bottom of the article.

Share this article