ClaudeBot robots.txt Rules for Anthropic Training Crawling
ClaudeBot is Anthropic’s crawler for public web content that may contribute to model development and training. A ClaudeBot-specific Disallow rule signals that future material should be excluded from Anthropic training crawls. Claude-SearchBot and Claude-User are separate agents with different purposes.
Anthropic operates three documented robots with different jobs. ClaudeBot collects public web content that could contribute to model training and improvement. Claude-SearchBot supports search-result quality, while Claude-User retrieves pages in response to a person’s request.
Because the tokens are separate, a site owner can write a policy that blocks training crawling without automatically disabling Claude search discovery or user-directed retrieval. The example on this page shows that targeted approach.
Block ClaudeBot without overblocking
To opt an entire host out of ClaudeBot crawling, place a Disallow: / rule under User-agent: ClaudeBot. Apply the policy independently to every subdomain that needs the same restriction because each host can publish its own robots.txt file.
Avoid using only User-agent: * when your intention concerns Anthropic training crawling alone. A wildcard policy can affect ordinary search engines, monitoring tools, and other compliant bots. Keep Claude-SearchBot and Claude-User in separate groups when their access decision differs.
Anthropic also supports crawl pacing
Anthropic states that its bots honor standard robots.txt directives and supports the non-standard Crawl-delay extension. If server load rather than training permission is the problem, a measured crawl delay may be more appropriate than a complete site-wide block. Support for Crawl-delay is crawler-specific, so do not assume every search engine interprets it the same way.
A crawl-delay instruction and a disallow rule solve different problems: one limits request pace, while the other tells a compliant bot not to fetch matching paths.
Do not rely on IP blocking as the opt-out method
Anthropic advises site owners to express the opt-out in robots.txt. Blocking network addresses alone can prevent the bot from reading the policy and may not provide a persistent opt-out as address ranges change. IP information is still useful for authenticating log entries, but robots.txt should carry the crawler preference.
Recommended verification process
Merge the ClaudeBot rule with the site’s existing robots.txt file.
Decide separately whether Claude-SearchBot and Claude-User should be allowed.
Publish the file at the root of each relevant host.
Confirm that the URL returns the intended plain-text content and a successful response.
Test the final rule with the robots.txt checker and review server logs after deployment.
Anthropic’s current definitions, examples, and crawl-delay guidance are available in its official crawler guidance.
FAQ
Does blocking ClaudeBot also block Claude search?
Not automatically. ClaudeBot, Claude-SearchBot, and Claude-User are separate tokens. Set a separate rule for each purpose.
Can I slow ClaudeBot instead of blocking it?
Anthropic says its bots support the non-standard Crawl-delay extension. Use it when request pacing is the concern, and test the live behavior.
Do I need a ClaudeBot rule on every subdomain?
Yes, when each subdomain should have the same preference. Robots.txt is host-specific, so publish the appropriate file at the root of every relevant host.
Is blocking Anthropic IP addresses enough to opt out?
Anthropic recommends using robots.txt. IP-only blocking can stop the crawler from reading your policy and may not remain reliable when network ranges change.
Does a ClaudeBot rule remove material already used in training?
The rule signals that future materials on the blocked host or path should be excluded from training crawls. It is not a retroactive deletion mechanism.
We use essential storage for security and core features. With your permission, we may also use analytics and advertising technologies. Rejecting optional technologies does not block access to the site.
Non-essential categories are off unless you choose to enable them. You can return to these settings at any time from the footer.
Global Privacy Control is active.Your browser has requested an opt-out from sale, sharing, and targeted advertising. Advertising remains disabled.
Strictly necessary
Supports security, server sessions, form protection, administrator sign-in, and remembering your privacy choice.
Analytics
Allows Google Analytics to measure visits and interactions so the site can be improved. It is not loaded before permission.
Advertising and cross-site measurement
Allows advertising technologies when they are configured. This may involve ad delivery, fraud prevention, measurement, personalization, or cross-context advertising.
Your choice is stored for 180 days using a first-party preference cookie. A material policy change can ask you to choose again.