Training
ClaudeBot
Collects public web content that may contribute to training Anthropic Claude models.
Training: Collects content to train AI models. Block it if you don't want your content to become training data.
- Company
- Anthropic · website
- User-agent contains
ClaudeBot- robots.txt token
ClaudeBot· Respects robots.txt- Official IP ranges
- 14 ranges · source · updated 2026-12-02
- Documentation
- Official docs
- Sources
- support.claude.com
- Added · verified
- 2026-12-02 · 2026-12-02
Block ClaudeBot
robots.txt
User-agent: ClaudeBot
Disallow: /
nginx (in the http block, then: if ($ai_bot) { return 403; })
map $http_user_agent $ai_bot {
default 0;
"~*ClaudeBot" 1;
}
Apache / .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (ClaudeBot) [NC]
RewriteRule .* - [F,L]
</IfModule>
Cloudflare WAF expression
(lower(http.user_agent) contains "claudebot")
Want to block more bots at once? Use the generator.
Example user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)Other Anthropic bots
Something wrong or out of date? Edit this bot on GitHub or report a change.