ClaudeBot
Last reviewed against Anthropic's documentation.
ClaudeBot is Anthropic's AI training crawler: it collects web content to train AI models.
- Operator
- Anthropic
- Purpose
- AI training
- robots.txt token
ClaudeBot- User-agent string
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)- Follows robots.txt
- Yes
What happens if you block ClaudeBot
Content is not used to train Anthropic models.
How to block ClaudeBot
Add this group to the robots.txt at the root of your domain:
User-agent: ClaudeBot Disallow: /
How to allow ClaudeBot
ClaudeBot follows the User-agent: * group unless it has its own group. To allow it explicitly while other bots are restricted:
User-agent: ClaudeBot Allow: /
robots.txt isn't the only gate: CDNs and firewalls (for example Cloudflare's AI crawler settings) can block ClaudeBot even when robots.txt allows it.
Check whether ClaudeBot can read your page
Crawlabot shows which robots.txt rule applies to ClaudeBot, requests your page with its user-agent and shows the text it gets back.
Check a pageSource: Anthropic documentation. User-agent strings change over time; check the official docs for the current version.
Other Anthropic crawlers: Claude-SearchBot, Claude-User