Agent view · Guides · 2026-08-28
How to block AI crawlers like GPTBot and ClaudeBot
This is the response this server returns to a client that asks for Accept: text/markdown at https://crawlcheck.io/guides/how-to-block-ai-crawlers: fetched when you opened this page, shown byte for byte. An assistant, a crawler that negotiates markdown, or anything reading our feed gets exactly this. The markdown leaves signed (RFC 9421, key in our key directory), so a crawler can prove the page it read is the page this server sent; the check is shown below.
| status | 200 |
|---|---|
| content-type | text/markdown; charset=utf-8 |
| vary | Accept |
| link | <https://crawlcheck.io/llms.txt>; rel="describedby"; type="text/plain", <https://crawlcheck.io/.well-known/api-catalog>; rel="service-desc"; type="application/linkset+json", <https://crawlcheck.io/guides/how-to-block-ai-crawlers>; rel="cite-as", <https://crawlcheck.io/.well-known/http-message-signatures-directory>; rel="http-message-signatures-directory" |
| cache-control | public, max-age=900, stale-while-revalidate=2400 |
| bytes | 20,684 |
| words | 3,030 |
| sha-256 | e140ddeab5aba8b2b59903247326ae2c85806bc96f827236b0193eebaf360a4f |
| repr-digest | sha-256=:4UDd6rWrqLK1mQMkcyauLIWAa8lvgnI2sBk+6682Ck8=: ← matches the body shown |
| signature-input | sig1=("@authority";req "@path";req "repr-digest" "content-type");created=1795773912;expires=1795777512;keyid="1hHmE3fo1rg5Ig70wuFtJ5wBc7G-sUTgUJkxyPWFRps";alg="ed25519";nonce="Q_xUH0BnDtsAtnm_Bbb8HQ";tag="crawlcheck-page" |
| signature | sig1=:f32EtlRJORUmmPlaXR1MugJ658TRhoPRMDo4ePlL+XrQ8D/JVFiKkeT/K0OxSz93Aeb85YII5WdPScGjf6E4Bw==: |
| verified | yes — signature by key 1hHmE3fo1rg5Ig70… from https://crawlcheck.io/.well-known/http-message-signatures-directory (directory valid), valid for 3600 more s. Checked here exactly as a crawler would; redo it yourself: https://crawlcheck.io/api/tool/wba |
Guides · 2026-08-28 · By [VSNARY | Emmanuel Orta](/author) · 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.
Check your own site free
Check my site
About a minute. Free, no sign-up, nothing installed.
On this page
- Which crawlers are you actually blocking?
- Layer 1: robots.txt
- Layer 2: the network
- If you are on Cloudflare: the September 2026 defaults
- Layer 3: stating intent rather than access
- How do I check the block works?
- What a block does not do, and why the two blocks run on different clocks
- The one thing worth keeping open
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](/glossary/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](/glossary/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](/guides/ai-crawler-list-what-each-one-does) has every [user agent](/glossary/user-agent) and its purpose.
Blocking is three separate tools. Pick the one that matches what you want, then verify the outcome from outside.
## 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](/glossary/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](/guides/robots-txt-user-agent-groups-why-naming-a-crawler-drops-your-disallow-rules) shows how to write them safely. And check the file still serves `text/plain` after editing: [a robots.txt returning HTML](/blog/a-file-that-answered-200-and-could-not-be-read) 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 298769 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](/blog/the-ai-crawler-that-wanted-your-env-file) 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](/blog/the-crawlers-nobody-can-check)). Agents increasingly sign their requests under [Web Bot Auth](/guides/web-bot-auth-how-signed-crawler-requests-work), 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](/glossary/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?](/guides/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](/glossary/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](/guides/content-signals-in-robots-txt-search-ai-input-ai-train) 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](/glossary/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](/glossary/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](/blog/how-much-ai-crawler-traffic-is-forged).
Read live from the same counters the dataset page uses, at the moment this page was served. Bars are scaled to the largest value shown, not to 100%.
Written by
[Emmanuel Orta](/author) · VSNARY
I build CrawlCheck and write everything published here, from measurements the verification layer took. Where a post got something wrong, the correction stays in the post.
[Every post, and where I got it wrong →](/author) · [Follow on LinkedIn →](https://www.linkedin.com/in/emmanuelorta)
Share this finding: [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcrawlcheck.io%2Fguides%2Fhow-to-block-ai-crawlers%3Futm_source%3Dlinkedin%26utm_medium%3Dsocial%26utm_campaign%3Dshare)[X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fcrawlcheck.io%2Fguides%2Fhow-to-block-ai-crawlers%3Futm_source%3Dx%26utm_medium%3Dsocial%26utm_campaign%3Dshare&text=How%20to%20block%20AI%20crawlers%20like%20GPTBot%20and%20ClaudeBot)[Email](mailto:?subject=How%20to%20block%20AI%20crawlers%20like%20GPTBot%20and%20ClaudeBot&body=https%3A%2F%2Fcrawlcheck.io%2Fguides%2Fhow-to-block-ai-crawlers)[Follow Emmanuel on LinkedIn](https://www.linkedin.com/in/emmanuelorta)
## 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
[2026-10-26 Which AI crawlers the top 10,000 sites block most, October 2026 Top 10,000 sites, October 2026: robots.txt block rates for 12 AI crawlers, how many refuse them at the door, and why training is b](/blog/which-ai-crawlers-top-sites-block-most-october-2026)[2026-10-06 Only 6% of websites block an AI crawler: the full breakdown 6.3% of 139,788 homepages block an AI crawler in robots.txt. GPTBot leads at 3.7%; search agents are blocked far less. The full pe](/blog/only-six-percent-of-websites-block-an-ai-crawler)[2026-10-26 Google-Extended and Applebot-Extended: block AI training Google-Extended and Applebot-Extended are tokens, not crawlers: they opt a site out of AI training and keep it in search. The line](/guides/google-extended-and-applebot-extended-opt-out-of-ai-training-keep-search)
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.
[Fix it all — $100](https://buy.stripe.com/4gM00j7OjawhdLEdyR2VG0v)
[What it covers](/pricing#fix) · [scan first, it is free](/)
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.
[Add to Chrome — free](https://chromewebstore.google.com/detail/plgjengobhbdmbgckiiaaflgiepdbcpi?utm_source=crawlcheck.io&utm_medium=post)
[What it does](/extension)
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.
[Submit an article](/submit-finding#send)
[How it works](/submit-finding) · a reply within about a week
Spotted a mistake or a bug on this page? [Report an error](/report-error?k=article). Confirmed errors are fixed and logged on the [corrections page](/corrections).
## 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](/api/comment/signed)). Those appear at once, marked *verified*.
Send for review
Writing about this? [Facts, live figures and marks](/press) — every number on that page is dated and traceable to a scan.
[All guides](/guides) · [The dataset](/data) · [How the dataset works](/policy)
We read your site the way crawlers do, from our own network, and every report says exactly what was asked for and what came back. [Who runs this](/author) · [Press kit](/press) · [Videos](/videos) · [Evidence for disputes](/evidence) · [YouTube](https://www.youtube.com/@crawlcheck) · [hello@crawlcheck.io](mailto:hello@crawlcheck.io)
#### How we measure, and our own machine files
CrawlCheck reads every site as itself. Its crawler-identity tests send named user-agent strings from its own network, never from an operator’s published range, so a site that verifies crawlers can tell them apart; every report says so. Results reflect what an anonymous non-browser client receives. [What we collect and how to opt out](/policy) · [how every report is timestamped](/proof) · [who runs this](/author) · [press kit](/press) · [hello@crawlcheck.io](mailto:hello@crawlcheck.io).
**Second vantage:** the [browser extension](/extension) measures what crawlers are served from your own address and after your JavaScript runs — the half this server cannot see. From 1.0.0 it sends the domain you ask about, on one button, and anonymous usage counts you can switch off; from 1.0.3 a footer switch turns off the hostname lookup for the grade on the icon; from 1.0.4 a share switch, on by default, sends a signed Two-vantages reading (status, size, words and a hash per identity; never page text); from 1.0.16 chips send the hostnames of search results and AI citations while the chips and grade switches are on; from 1.0.17 a readings switch, on by default, sends one signed page reading a day (numbers, the hostname and the page address with the query removed; never in incognito; at most 40 a day) and only while the share and grade switches are also on. Earlier versions send nothing.
**Our own machine layer for the agentic web:** [llms.txt](/llms.txt) · [llms-full.txt](/llms-full.txt) · [agents.md](/agents.md) · [SKILL.md](/SKILL.md) · [entitymap.json](/entitymap.json) · [media kit](/.well-known/media-kit.json) · [MCP server card](/.well-known/mcp/server-card.json) · [API catalog](/.well-known/api-catalog) · [OpenAPI](/openapi.json) · [robots.txt](/robots.txt) · [sitemap.xml](/sitemap.xml) · [security.txt](/.well-known/security.txt) — every one named in robots.txt, which is exactly what we check for on yours.
**Pages:** [SDK](/sdk) · [Certificates](/certificates) | **Registry:** [MCP: Operator](/registry/mcp/operator) · [MCP](/registry/mcp) · [hornwright.com](/registry/hornwright.com) · [jimbrownegmc.com](/registry/jimbrownegmc.com) · [learn.showit.com](/registry/learn.showit.com) · [meds.se](/registry/meds.se) · [novoma.com](/registry/novoma.com) · [pixieset.com](/registry/pixieset.com) · [riverside-tree-service.com](/registry/riverside-tree-service.com) · [smartsites.com](/registry/smartsites.com)
[Contact](/contact) · [Partnerships](/partnerships) · [Terms of service](/terms) · [Refund policy](/refunds) · [Trust center](/trust) · [Subprocessors](/subprocessors) · [Changelog](/changelog) · [Report an error](/report-error)
Same body as a file: /guides/how-to-block-ai-crawlers.md · as data: /feed.json · what we tell agents site-wide: /llms.txt, /agents.md. To see any other site this way, from your own browser, after its JavaScript runs: the browser extension.