ClaudeBot
Anthropic · Training · robots.txt: Yes
Collects public web content that could contribute to training Anthropic's generative AI models.
Block ClaudeBot
User-agent: ClaudeBot
Disallow: /
Blocking ClaudeBot tells Anthropic to exclude your site's future content from its training datasets. Search and user fetches are controlled separately by Claude-SearchBot and Claude-User.
Allow ClaudeBot
User-agent: ClaudeBot
Allow: /
An allow group only changes anything if a broader rule would block ClaudeBot. Under the robots.txt standard (RFC 9309, section 2.2.1) a crawler follows the group that names it and uses the User-agent: * group only when no group does — so this group lets it in even if your * group says Disallow: /. Token matching is case-insensitive.
Put these lines in /robots.txt at the root of each host (each subdomain has its own file). robots.txt is a request to well-behaved crawlers, not access control.
Already have a robots.txt? Paste it into the robots.txt checker to see whether it blocks ClaudeBot on a given path, and which line decides.
Block or allow it at the server
No server rule for ClaudeBot. Anthropic's documentation we checked does not give the User-Agent string it sends, so there is no documented pattern to match. A rule written from a guessed string could miss it, or refuse something else.
Who blocks it
Of the 1,000 most-visited domains on Tranco list PY35J (generated 2026-10-08), we read 508 robots.txt files on 2026-10-09 and ran each through the same RFC 9309 matcher as the checker, for the path /. 77 block ClaudeBot from the whole site by name, 24 block it through their User-agent: * group, and 25 name it with partial rules (some paths closed, the home page open). 15 more name it only to let it in.
77
block it by name 15.2%
24
block it through * 4.7%
25
name it, partial rules 4.9%
Percentages are of the 508 files we could read, not of all 1,000 sites.
Highest-ranked sites that block ClaudeBot by name
- fbcdn.net rank 12
- amazon.com rank 27
- whatsapp.net rank 32
- whatsapp.com rank 57
- tiktok.com rank 58
- yahoo.com rank 61
- msn.com rank 72
- snapchat.com rank 134
- tumblr.com rank 156
- nytimes.com rank 157
Each links to the site's live robots.txt, which may have changed since 2026-10-09.
robots.txt is only what a site asks for. A site can also turn a crawler away at its firewall or CDN, or let an operator in under a licensing deal, and neither shows in its robots.txt. A block through * stops every crawler the file does not name, so it says nothing about this one in particular. The files we could not read are not counted: 222 of the 1,000 domains are infrastructure names with no website at the bare domain (CDN and DNS zones, for example), 59 answered our request with 401 or 403, 93 failed (timeout, TLS or server error), 59 have no robots.txt (404 and similar) and 59 answered with an HTML page instead of a robots.txt file. Every agent's count, side by side.
Facts
- Operator
- Anthropic
- Purpose
- Model training
- Obeys robots.txt
- Yes. Anthropic says its bots honour robots.txt directives and support the non-standard Crawl-delay extension. It says blocking by IP address may not work reliably, because that stops it from reading your robots.txt.
- In your server logs
- Unconfirmed by the operator Anthropic's documentation we checked does not give its user-agent string.
- How to verify it
- Anthropic says a crawler whose source IP address is on its published list is coming from Anthropic.
Published list: claude.com/crawling/bots.json — 26 IPv4 ranges when we fetched it, list dated 18 Aug 2026. Always match against the live list; operators update them. To count real and fake ClaudeBot requests in your own server log against this list, drop the log into the log reader.
What Anthropic says
Quoted word for word from the operator's documentation.
“ClaudeBot helps enhance the utility and safety of our generative AI models by collecting web content that could potentially contribute to their training.”
“When a site restricts ClaudeBot access, it signals that the site's future materials should be excluded from our AI model training datasets.”
“Anthropic’s Bots respect “do not crawl” signals by honoring industry standard directives in robots.txt.”
“To limit crawling activity, we support the non-standard Crawl-delay extension to robots.txt.”
“Alternate methods like blocking IP address(es) from which Anthropic Bots operates may not work correctly or persistently guarantee an opt-out, as doing so impedes our ability to read your robots.txt file.”
“If a crawler has a source IP address on this list, it indicates that the crawler is coming from Anthropic.”
Sources
- Claude Help Center: Does Anthropic crawl data from the web, and how can site owners block the crawler? — fetched and checked 2026-09-22
- Anthropic: crawler IP ranges (bots.json) — fetched and checked 2026-09-22