AI crawlers and robots.txt

What is ClaudeBot and why is it visiting my website?

The short answer

ClaudeBot is Anthropic's web crawler, which collects publicly available content that may be used to train its Claude models. Anthropic documents separate agents for search and for visits a user requests, and says its bots follow robots.txt, so you can control each one there.

Why ClaudeBot is visiting

ClaudeBot crawls the public web to gather content that may help train Anthropic's AI models. Its visits are routine and happen across a huge number of sites. A visit does not mean anyone asked about your business, and it does not mean Claude will recommend you. It is closest in purpose to OpenAI's GPTBot.

Like other crawlers, it reads what an anonymous visitor would see in the page source. It does not log in or get past paywalls.

Anthropic's other agents

At the time of writing, Anthropic's documentation lists three agents with different jobs:

  • ClaudeBot, which collects content that may be used for training
  • Claude-User, which fetches pages when a Claude user asks a question that needs them
  • Claude-SearchBot, which crawls to improve the quality of results when Claude searches the web

This split works much like OpenAI's. Blocking the training crawler is a different decision from blocking the agents that help Claude find and cite your pages when people ask questions. Agent names and their exact roles can change, so check Anthropic's current documentation before writing rules. How Claude finds current information is covered in whether Claude can search the web.

How to control it

Anthropic says its bots respect robots.txt. To keep ClaudeBot out of your whole site, add a group with `User-agent: ClaudeBot` and `Disallow: /`. If you want to opt out of training but still let Claude read your pages when users ask about you, block ClaudeBot and leave the search and user agents allowed.

User agent strings can be faked, so before you treat a heavy crawler as ClaudeBot, check that its requests come from Anthropic's published sources. If crawl volume is the real worry, whether AI crawlers are slowing your site explains options short of blocking.

Should a business allow it?

As with GPTBot, it depends on whether your content is your product. A business whose site exists to bring in customers usually has little reason to block a training crawler, and a plausible reason to allow it: models that have seen more of your content may describe you more accurately. A publisher or a business selling its content may decide differently. Either way, what matters most for being recommended is that the search agents can reach your pages. Which AI crawlers a business should allow brings the main bots together in one place.

Related questions

More questions about aI crawlers and robots.txt

Next questionWhich AI crawlers should a business website allow?

Find out whether ChatGPT and other AI tools recommend your business

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your business when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit