Skip to content

Anthropic crawler

ClaudeBot

Collects public web content that could contribute to training Anthropic's generative AI models.

robots.txt token
ClaudeBot
Operator
Anthropic
Type
Model training
Obeys robots.txt
Yes. Anthropic says restricting ClaudeBot in robots.txt signals that the site's future materials should be excluded from its AI model training datasets.

Full user agent

Anthropic does not publish a full user-agent string for this crawler. Match on the token.

Anthropic's documentationChecked November 19, 2026

ClaudeBot is Anthropic's training crawler. Anthropic says it "helps enhance the utility and safety of our generative AI models by collecting web content that could potentially contribute to their training." Disallowing ClaudeBot in robots.txt signals that your site's future materials should be excluded from Anthropic's training datasets. It does not control Claude's search indexing or live fetches, which use separate tokens.

Blocking ClaudeBot is a choice about training, not a search visibility setting.

What happens if you block ClaudeBot

Anthropic's support article says (checked November 19, 2026): "When a site restricts ClaudeBot access, it signals that the site's future materials should be excluded from our AI model training datasets." Note the word "future": Anthropic does not say a block affects content collected earlier.

Claude-SearchBot (search indexing) and Claude-User (fetches for individual user questions) are listed as separate bots with their own tokens, so a ClaudeBot rule leaves them alone. If you want to stay visible in Claude while opting out of training, block ClaudeBot and allow the other two.

Anthropic has also added a second way to state a training preference. As of October 30, 2026, it says it has begun recognizing a machine-readable "no AI training" signal based on draft work in the IETF aipref working group, rolling out over time. Anthropic says rules that name ClaudeBot take priority: if your robots.txt names ClaudeBot, it follows that rule even when your general setting differs, and if ClaudeBot is not named it follows the general setting.

Anthropic asks site owners to add rules for every subdomain they want to opt out, and supports Crawl-delay if you only want to slow ClaudeBot down. For the business trade-off, see Should you block AI crawlers?.

robots.txt examples

Allow ClaudeBot:

User-agent: ClaudeBot
Allow: /

Block ClaudeBot from the whole site (Anthropic's own example):

User-agent: ClaudeBot
Disallow: /

Slow ClaudeBot down instead (Anthropic's own example):

User-agent: ClaudeBot
Crawl-delay: 1

How to verify a request really comes from ClaudeBot

Anthropic publishes its bots' IP addresses at claude.com/crawling/bots.json and says a crawler whose source IP is on that list is coming from Anthropic. The list is shared by Anthropic's bots, so it confirms the sender is Anthropic, not which bot it was.

Anthropic's article does not publish a full user-agent string for ClaudeBot and does not document a reverse DNS check. Match the ClaudeBot token in the user agent and confirm the IP against the list.

Do not use IP blocking as your opt-out. Anthropic says it "may not work correctly or persistently guarantee an opt-out," because it impedes Anthropic's ability to read your robots.txt file. If you believe its crawlers are not behaving as described, the article gives a contact address for reports.

Sources

Frequently asked questions

Will blocking ClaudeBot stop Claude from citing my site?+

Anthropic documents search indexing under Claude-SearchBot and user fetches under Claude-User, each with its own token. Blocking only ClaudeBot leaves those two unaffected.

Does a ClaudeBot rule override a general no AI training signal?+

Yes. Anthropic says rules that name ClaudeBot directly are treated as more specific, so if your robots.txt names ClaudeBot it follows that rule even if your general setting says something different.

Does ClaudeBot support Crawl-delay?+

Yes. Anthropic says it supports the non-standard Crawl-delay extension to robots.txt and gives a ClaudeBot example.

All AI crawlers