Guides · 2026-08-28 · By VSNARY | Emmanuel Orta · 5 views
How to block AI crawlers like GPTBot and ClaudeBot
Blocking is a legitimate choice and this is how to do it properly. It is also three separate decisions that usually get made as one, and the one people regret is rarely the one they intended.
Blocking works in three layers and they are not equivalent. robots.txt states a preference that well-behaved operators honour and nothing else does. A network rule at the edge or origin actually refuses the request, and is the only layer with teeth. A content-use signal states what may be done with a page without blocking anything. Decide training, search and user-triggered fetches separately, then verify by fetching your own site under the identity you blocked: a 403 is a block, and a 200 carrying a challenge page is not.
There are good reasons to block. Crawl-to-refer ratios are lopsided: one platform’s figure sat near 4,580 pages fetched for every visit sent back in mid-2026, and if your business is publishing, giving that away is a real decision. But block AI crawlers is three decisions, not one, and they cost very different things.
Which crawlers are you actually blocking? #
Each AI operator now runs separate clients for training, for its search index, and for the live fetch a person triggers. Blocking one does not block the others, and the cost lands in a different place each time.
| What you block | Examples | What stops | Who notices |
|---|---|---|---|
| Training crawler | GPTBot, ClaudeBot, Google-Extended | Future training use of your pages | Nobody, today |
| Search-index crawler | OAI-SearchBot, Claude-SearchBot, PerplexityBot | Eligibility to be cited in that assistant’s answers | You, over weeks |
| User-triggered fetcher | ChatGPT-User, Claude-User, Perplexity-User | The live read when someone asks an assistant about you | You and the person asking, immediately |
| Browser-driving agent | none by user-agent | Cannot be singled out by name; it looks like a browser unless it signs its requests | Your real visitors, if you try |
The user-triggered fetch is the one blocked by accident most often. It is not a scraper harvesting your archive; it is a person asking about your business and the assistant going to look. Refuse it and the answer gets composed without you. The AI crawler list has every user agent and its purpose.
Layer 1: robots.txt #
A request, not a control. The major named operators honour it; anything else may not, and it has no enforcement power over anything. Write it per agent rather than pasting a block wholesale, which is how most sites ended up with a policy nobody chose. Web-wide disallow counts show the copy-paste:
| Crawler | Sites that disallow it |
|---|---|
| AppleBot | 108,452 |
| GPTBot | 107,182 |
| Common Crawl | 102,665 |
| ClaudeBot | 101,917 |
Eight independent operators are blocked within 12% of each other, which is one snippet inherited downstream, not eight decisions. An AI opt-out of some kind is set on 1.4% of scanned sites here.
The commonest way a block written in good faith does nothing: a crawler obeys only the one group that names it and ignores User-agent: * entirely. Add a named group to restrict one crawler and that crawler stops seeing every wildcard rule:
User-agent: *
Disallow: /wp-admin/
Disallow: /checkout/
User-agent: GPTBot
Disallow: /pricing/GPTBot is now kept out of /pricing/ and allowed into /wp-admin/ and /checkout/. Every named group has to repeat the wildcard rules in full. Files where a named group drops wildcard rules turn up on 16% of scanned sites; the user-agent groups guide shows how to write them safely. And check the file still serves text/plain after editing: a robots.txt returning HTML is read as no directives, which means everything allowed.
Layer 2: the network #
This is where a block is enforced against clients that never ask permission. Block by verified identity, never by user-agent string. A rule that trusts the name is a rule anyone satisfies by typing it, and forged crawler names are common:
Citing this figure. The numbers above are recomputed from the live record when this page loads, so link the anchor rather than freezing a copy: https://crawlcheck.io/blog/how-much-ai-crawler-traffic-is-forged#the-rate. Sentence form, as of 2026-11-27: 11.6% of requests claiming a verifiable AI-crawler identity, measured by CrawlCheck on its own traffic (34522 of 298677 adjudicable claims), came from outside the operator's published IP ranges; the most-forged name was Google-Extended at 100%.
Some of that forged traffic requests .env files and SSH keys while wearing a crawler’s name, as this write-up shows, so allow-listing by user-agent hands those requests a pass. Verify against each operator’s published address ranges; a few operators still publish none, and those cannot be told apart from an impostor at the network layer (which ones). Agents increasingly sign their requests under Web Bot Auth, and a signature is the identity to block or allow on.
This inverts the usual intuition about name-based blocks. The operators most likely to honour a robots.txt line are the ones that publish ranges and document their tokens, whose traffic was never the problem. A robots.txt block sorts traffic into compliant and non-compliant, then removes the compliant half. robots.txt expresses policy; only a network rule enforces it. Two of the three user-triggered fetchers also document that robots.txt may not bind them, so a block that must hold for them is an edge rule, not a Disallow line.
If you are on Cloudflare: the September 2026 defaults #
Cloudflare exposes the categories per zone, and since 15 September 2026 Training and Agent are blocked by default on monetised pages while Search stays allowed. Read the coupling before you set anything: blocking Training also blocks multi-purpose crawlers such as Googlebot, Applebot and Bingbot, which collect for both purposes, so a block aimed at AI training can take search traffic with it. The setting can be changed in Security settings. Is Cloudflare blocking AI crawlers on your site? walks through checking what the change did to yours.
Layer 3: stating intent rather than access #
The newer option declares what may be done with content after it is fetched, rather than whether it may be fetched. Cloudflare’s content-use controls express three levels: Immediate, meaning no storage or reuse; Reference, meaning indexing, excerpts and links back; and Full, meaning summaries or reproduction. A use parameter extends the Content Signals vocabulary in robots.txt, and compliance by verified bots is reported rather than enforced. That is closer to what most owners want: reference us and link back, do not train on us, which allow and block have no words for. The Content-Signal guide covers which values to set.
How do I check the block works? #
Configuration is not evidence. The proof is a fetch that gets refused, made from outside your network, under the identity you blocked, on a request the edge cannot answer from cache:
curl -s -o /dev/null -w "%{http_code} %{size_download}\n" -A "GPTBot" "https://yoursite.com/?cachebust=1"| Result on the final response | What it means |
|---|---|
403 or 401 | A block |
200 with a short body | A challenge page, not a block: the operator is told the fetch succeeded |
200 with your real content | The rule did not apply: wrong layer, or a cache answered first |
Run it for every crawler you meant to allow as well as every one you meant to block, then once more with no user-agent. If the answers are identical, whatever you configured is not keying on identity at all. The common outcome is a policy that blocks more than intended, because a robots.txt line, a plugin default and an edge rule are three systems nobody reads together. Across scans here:
| What is observed | Share of scans | What it usually means |
|---|---|---|
| Answer-engine identities refused | 6.1% | A block working as written, often not in the file the owner edited |
| Homepage refused outright | 1.1% | A rule broader than intended, or a bot filter with no exceptions |
| An AI opt-out declared | 1.4% | Intent stated, nothing enforced |
| A challenge page served with HTTP 200 | 0.2% | The worst case |
The last row deserves the space. A bot filter that answers a blocked client with an interstitial and a 200 tells the operator the fetch succeeded and hands it challenge markup as if it were your content. You believe you blocked it; it believes it read your site; an operator that caches the response now holds a challenge page as your homepage. If you want a block, return the status that means one. A 403 is unambiguous and costs a well-behaved operator one request.
What a block does not do, and why the two blocks run on different clocks #
A block does not remove you from models already trained. It does not stop your pages reaching a model through quotes, syndication and aggregators, whose copies carry no policy of yours. And it does not stop anything that ignores you. It is worth doing for what it does, and not worth mistaking for a wall.
| Blocking retrieval | Blocking training | |
|---|---|---|
| Takes effect | Immediately | At the next model generation |
| Visible in | Logs and answers, today | Nowhere, for months |
| Reversible | Immediately: allow again and you are back in answers | No: a model trained without you stays that way |
Most people who set out to block AI crawlers want the second and accidentally buy the first, because the first is the one that shows up in logs. If you are unsure, block training, keep search and user-triggered fetches open, and revisit in a quarter. That combination is reversible in the direction you are most likely to want to reverse.
The one thing worth keeping open #
Even while blocking training, consider allowing user-triggered fetches. They exist because a real person is asking about you right now, and they are the cheapest attention on the internet: one page, in response to demand you already earned. To confirm what each crawler gets after any change, run a free scan from the CrawlCheck homepage; the full measurement behind the forged-traffic figure is in how much AI crawler traffic is forged.
Share this finding:LinkedInXEmailFollow Emmanuel on LinkedIn
Questions this post answers
How do I block AI crawlers from my website?
Use two layers. Write per-agent rules in robots.txt, which named crawlers honour but which enforces nothing. Then enforce at the network layer, blocking by verified identity rather than user-agent string, since a user-agent is a claim anyone can send.
Should I block all AI crawlers?
Decide the three categories separately. Blocking training crawlers has no immediate cost. Blocking search-index crawlers removes your eligibility to be cited. Blocking user-triggered fetches means that when someone asks an assistant about you, the answer is composed without you.
Does blocking AI crawlers in robots.txt actually work?
It works on operators that choose to honour it, which includes the large named ones, and on nothing else. Anything impersonating those names ignores the file. If you need the request refused rather than discouraged, that has to happen at the network layer.
Can blocking AI training crawlers on Cloudflare hurt search traffic?
It can. Cloudflare's Training category also covers multi-purpose crawlers such as Googlebot, Applebot and Bingbot, which collect for both search and training, so blocking that category can block search crawling too. Read the category coupling before changing it.
How do I check my block is working?
Fetch your own site from outside your network under the blocked user-agent, with a cache-busting parameter, and read the status on the final response. A 403 is a block. A 200 with a short challenge page is not a block. A 200 with your real content means the rule never applied.
Should I block ChatGPT-User, Claude-User or Perplexity-User?
Only if you do not want an assistant to read your page at the moment a person asks about you. They are user-triggered fetchers, not training crawlers: blocking GPTBot or ClaudeBot keeps content out of training, while blocking these removes your own page from live answers about you.
Related findings
The main product
Found this on your own site? We fix it for $100.
Scan free to see where you stand. The fix is one site, every finding implemented and re-measured, with a sealed before and after.
Free browser extension
Check this on any site you open, without leaving the page.
CrawlCheck for Chrome grades every site you visit A–F and shows, from your own browser, what search engines and AI assistants are actually served. Free, no account.
Write for the library
Measured something yourself? Submit an article.
Send your finding, the data and the method. A person reads every submission and replies by email; accepted articles are published under your name with a link to your study. Free to submit. Articles are accepted on merit; no one can pay to have one published.
How it works · a reply within about a week
Spotted a mistake or a bug on this page? Report an error. Confirmed errors are fixed and logged on the corrections page.
Comments
Comments are read before they appear. Nothing is published automatically, and no account is needed. An AI agent with a published signing key can post without the queue: it signs the request and the signature is checked against its own domain (how). Those appear at once, marked verified.
Writing about this? Facts, live figures and marks — every number on that page is dated and traceable to a scan.