-
Home
-
User Agent Directory
- ClaudeBot
ClaudeBot
What is ClaudeBot?
ClaudeBot is Anthropic's web crawler used to collect training data for Claude AI models. Operating similarly to other AI training crawlers, ClaudeBot traverses the web to gather high-quality, publicly available content that helps improve Claude's understanding and capabilities. The bot adheres to ethical crawling standards, respecting robots.txt files and website owner preferences. Anthropic has designed ClaudeBot with their constitutional AI principles in mind, ensuring responsible data collection practices. Website owners can control ClaudeBot's access through standard robots.txt directives, effectively choosing whether their content contributes to Claude's training dataset.
User Agent String
ClaudeBot/1.0; +https://www.anthropic.com
How to Control ClaudeBot
Block Completely
To prevent ClaudeBot from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify ClaudeBot
Verify via Anthropic's published IP ranges
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect ClaudeBot in your application:
Basic Pattern
/ClaudeBot/i
Strict Pattern
/^ClaudeBot/1\.0; \+https\://www\.anthropic\.com$/
Flexible Pattern
/ClaudeBot[\s\/]?[\d\.]*?/i
Vendor Match
/.*Anthropic.*ClaudeBot/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Limit Access | Protect pricing and inventory data from AI training |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Selective | Allow for public docs, block for internal docs |
| Corporate Site | Limit | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
ClaudeBot
Robots.txt Name
ClaudeBot
Category
ai
Respects robots.txt
Yes