ClaudeBot: what it is and how to allow or block it

By the Variask team · Updated

In short

ClaudeBot is Anthropic's training crawler. Collects public web content that may be used to train Anthropic's Claude models. Your choice. If crawl volume is the concern, Crawl-delay lets you slow it down instead of blocking it.

  • Operator: Anthropic
  • Type: Training crawler
  • robots.txt token: ClaudeBot
  • Anthropic says its bots follow robots.txt, including Disallow rules and the non standard Crawl-delay rule.

robots.txt rules

Copy the group you need into the robots.txt file at the root of your site. Keep only one option per bot.

At a glance

DetailClaudeBot
OperatorAnthropic
TypeTraining crawler
What it doesCollects public web content that may be used to train Anthropic's Claude models.
robots.txt tokenClaudeBot
Example user agentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Follows robots.txtAnthropic says its bots follow robots.txt, including Disallow rules and the non standard Crawl-delay rule.
How to verifyMatch the user agent and watch behaviour in your logs. Anthropic's documentation centres on robots.txt controls.
If you block itYour future content is excluded from Anthropic's training data. Claude search and user fetches are not affected.
SourceAnthropic help center article on crawlers and robots.txt

User agent version numbers change over time. Match on the token, not the full string.

What ClaudeBot does

ClaudeBot is Anthropic's training crawler. Anthropic says blocking it excludes your site's future content from its training data. It does not control Claude search or the fetches Claude makes for users, which have their own tokens.

Should you allow or block it?

Your choice. If crawl volume is the concern, Crawl-delay lets you slow it down instead of blocking it.

If you block it: Your future content is excluded from Anthropic's training data. Claude search and user fetches are not affected.

  • Training crawlers decide whether your content helps build future models. Blocking them does not remove you from AI search today.
  • Search crawlers decide whether AI engines can find and cite your pages. Blocking them usually costs visibility.
  • User triggered fetchers read a page because a person asked. Blocking them stops the AI reading you at the moment someone is interested.

How to find ClaudeBot in your logs

Search your server or CDN access logs for the token ClaudeBot. This command counts visits by IP, path and status code in a standard access log:

grep -i "ClaudeBot" access.log | awk '{print $1, $7, $9}' | sort | uniq -c | sort -rn | head

A run of 403 or 503 status codes means your firewall or bot protection is blocking it, even if robots.txt allows it. That is one of the most common hidden reasons sites lose AI visibility.

How to tell if a visit is genuine

Anyone can put ClaudeBot in a user agent string, so the name alone proves nothing. Match the user agent and watch behaviour in your logs. Anthropic's documentation centres on robots.txt controls.

Other Anthropic bots

  • Claude-SearchBot: ai search crawler. Crawls the web to improve the quality and relevance of Claude's search results.
  • Claude-User: user triggered fetcher. Fetches a page when a Claude user asks a question that needs it.

Questions

Common questions

ClaudeBot is Anthropic's training crawler. Collects public web content that may be used to train Anthropic's Claude models.

Anthropic says its bots follow robots.txt, including Disallow rules and the non standard Crawl-delay rule.

Add a robots.txt group with User-agent: ClaudeBot and Disallow: /. For a hard block, also deny it in your firewall or CDN.

Your future content is excluded from Anthropic's training data. Claude search and user fetches are not affected.

Not always. User agents can be faked. Match the user agent and watch behaviour in your logs. Anthropic's documentation centres on robots.txt controls.

No. They are older names. Rules for them do not control Anthropic's current bots, so use ClaudeBot, Claude-SearchBot and Claude-User.

Yes. Anthropic supports Crawl-delay in robots.txt, for example a group for ClaudeBot with Crawl-delay: 1.

Go further

Keep going

AI bots

More ai bots