ClaudeBot
ClaudeBot is Anthropic's AI training crawler. Collects content that may train Anthropic models.
Should I block ClaudeBot?
Blocking ClaudeBot is a reasonable choice either way: it opts your content out of Anthropic's model training and nothing else. It does not affect Claude-SearchBot, which Anthropic uses for search, so your pages can still be found and cited.
Deciding which AI bots to allow? Our guide robots.txt for AI crawlers compares them and has ready-made rules.
How do I block ClaudeBot?
To block ClaudeBot, add a group for it to the robots.txt file at the root of your site, as shown below. Disallow: / covers every page; use a path such as /private/ instead to block only part of the site.
User-agent: ClaudeBot
Disallow: /How do I allow ClaudeBot?
ClaudeBot is allowed by default: with no group for ClaudeBot in your robots.txt, it follows the User-agent: * group and may fetch any page that group doesn't disallow. To allow it explicitly, add the group below. A group that names ClaudeBot replaces the * rules for it entirely, so copy into it any Disallow lines you still want it to follow. Also check your CDN: Cloudflare, for example, blocks many AI crawlers by default on new sites, whatever robots.txt says.
User-agent: ClaudeBot
Allow: /How can I tell a request is really ClaudeBot?
Check the IP address, not the user agent: anyone can send a user agent that says ClaudeBot. Anthropic publishes the IP addresses ClaudeBot requests come from, so compare each request's IP against that list (linked below) and refresh your copy regularly, because the list changes.
Anthropic's IP list for ClaudeBot (opens in a new tab)
How does robots.txt decide whether ClaudeBot may fetch a page?
A crawler that follows the standard picks the group whose User-agent line matches its token, ClaudeBot, ignoring case, and uses the * group only when no group names it. Within that group, the rule with the longest matching path wins, and when an Allow and a Disallow rule match equally, the Allow rule wins. Crawlers must read at least 500 KiB of the file and follow at least 5 redirects to reach it.
According to RFC 9309 (opens in a new tab), the robots.txt standard published by the IETF in September 2022.
When does a robots.txt change take effect for ClaudeBot?
Not instantly, because crawlers keep a cached copy of robots.txt. The standard says a cached copy should not be used for more than 24 hours, so allow at least a day before checking your logs for ClaudeBot. If robots.txt returns a 4xx error such as 404, crawlers may fetch anything; if it returns a 5xx server error, they must treat the whole site as disallowed, for up to 30 days.
According to RFC 9309 (opens in a new tab), the robots.txt standard published by the IETF in September 2022.
Does your site block ClaudeBot?
Robots.txt is only half the answer: a firewall, CDN or bot-protection rule can turn ClaudeBot away even when robots.txt allows it, and a rule written for another bot can catch it by accident. Scan a page to see what your robots.txt says to ClaudeBot and 27 other crawlers for that exact page, with the line that decides it. The report also sends one request that identifies as OAI-SearchBot (when robots.txt allows it), to show whether your CDN treats AI crawlers differently.
Other Anthropic crawlers
- Claude-SearchBot: AI search crawler
- Claude-User: user-initiated fetcher
More AI training crawlers
- Google-Extended (Google): training control token
- Applebot-Extended (Apple): training control token
- CCBot (Common Crawl): AI training crawler
- Meta-ExternalAgent (Meta): AI training crawler
- Amazonbot (Amazon): AI training crawler
- MistralAI-Training (Mistral AI): AI training crawler
Sources
The details on this page were checked on 12 November 2026 against the documentation published by Anthropic (opens in a new tab). The robots.txt rules follow RFC 9309 (opens in a new tab).