ClaudeBot: User-Agent, robots.txt Rules and How to Verify It

ClaudeBot is Anthropic's crawler that collects training data and retrieves pages for Claude. It honors robots.txt, and Disallow: ClaudeBot keeps it out. Genuine ClaudeBot fetches resolve to Anthropic-hosted addresses, which is how you verify them.

ClaudeBot

Documented
Operator
Anthropic
User-agent token
ClaudeBot
Purpose
training and retrieval for Claude
robots.txt behaviour
honors Disallow: ClaudeBot
How to verify
Reverse DNS resolves to *.anthropic.com

Last verified 2026-10-28. Behaviour documented by the operator.

How to block ClaudeBot

Add this rule to your robots.txt at the root of your domain:

User-agent: ClaudeBot
Disallow: /

Anthropic documents separate tokens for user-initiated fetches (Claude-User) and search (Claude-SearchBot); blocking ClaudeBot only stops the training and retrieval crawler.

How to allow ClaudeBot

If you want ClaudeBot to crawl your site, make sure no rule disallows it. An explicit allow looks like this:

User-agent: ClaudeBot
Allow: /

Then confirm from the live fetch with the AI crawler checker, which reads your published robots.txt the way a crawler would.

How to verify ClaudeBot

The reliable check is reverse DNS on the fetching IP address. Run the lookup below against any visitor claiming the ClaudeBot token; a genuine fetch resolves inside Anthropic's address space, and a spoofed one does not.

dig +short -x 203.0.113.5  # e.g. for fetching-ip
# A genuine ClaudeBot fetch resolves to an Anthropic address

Frequently asked questions

How do I stop Claude from using my content for training?+

Add User-agent: ClaudeBot with Disallow: / to robots.txt. Anthropic documents that ClaudeBot honors the rule.

What is the difference between ClaudeBot and Claude-User?+

ClaudeBot crawls for training and retrieval. Claude-User fetches a page only when a Claude user asks about it directly. They are separate tokens with separate rules.

How do I verify a ClaudeBot visitor?+

Reverse DNS on the fetching IP should resolve to an Anthropic address. If it does not, the visitor is spoofing the token.

Related: all AI crawlers, how to block AI crawlers, how to allow AI crawlers, robots.txt guide.

Last verified: 2026-11-09