ClaudeBot

AI training crawler

Anthropic's web crawler for collecting publicly available content that may be used to train Claude models.

OperatorAnthropic
TypeAI training crawler
Respects robots.txtYes (documented)
DocumentationOfficial operator documentation

What Anthropic documents about ClaudeBot

  • When a site restricts ClaudeBot, Anthropic says the site's future materials are excluded from its AI model training datasets.
  • Since 30 October 2026 Anthropic also reads a machine-readable no-AI-training preference based on the IETF aipref draft. A robots.txt rule that names ClaudeBot takes priority over that general setting.
  • Anthropic supports the non-standard Crawl-delay extension in robots.txt, for example Crawl-delay: 1 in a group for its bot.
  • Anthropic says opting out requires robots.txt. Blocking its IP addresses may not work reliably, because it stops the bot from reading your robots.txt file.
  • Add the robots.txt rule on every subdomain you want to opt out.
  • Anthropic says its bots will not try to bypass CAPTCHAs on the sites they crawl.

Checked against the Anthropic documentation on 12 November 2026.

ClaudeBot and other Anthropic bots

Anthropic runs 3 bots and controls in this directory, each with its own robots.txt rule: ClaudeBot (AI training crawler), Claude-User (AI assistant fetcher), Claude-SearchBot (AI search indexer). Allowing or blocking one does not change the others.

BotTyperobots.txt tokenRespects robots.txt
ClaudeBotAI training crawlerClaudeBotYes (documented)
Claude-UserAI assistant fetcherClaude-UserYes (documented)
Claude-SearchBotAI search indexerClaude-SearchBotYes (documented)

ClaudeBot user-agent string

This is how ClaudeBot identifies itself in your server logs:

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ClaudeBot/1.0; [email protected]

How to block ClaudeBot in robots.txt

Add this to the robots.txt file at the root of your site:

Block ClaudeBot

User-agent: ClaudeBot
Disallow: /

Explicitly allow ClaudeBot

User-agent: ClaudeBot
Allow: /

What blocking changes: Your content is excluded from Anthropic's future training crawls. Live fetches inside Claude (Claude-User) and Claude's search index (Claude-SearchBot) are controlled separately.

Want to decide for all AI bots at once? Use the AI robots.txt generator.

How to whitelist ClaudeBot

To whitelist ClaudeBot, add "User-agent: ClaudeBot" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then make sure your firewall, WAF or CDN does not challenge or rate limit requests with its user agent.

  1. In robots.txt, add a User-agent: ClaudeBot group with Allow: /, and check that no broader User-agent: * rule or other group disallows the paths you want crawled.
  2. In your firewall, WAF or CDN bot settings, make sure requests with the ClaudeBot user agent are not challenged or rate limited. Anthropic does not publish a machine-readable IP list for this bot, so match on the user agent and check the operator documentation.
  3. Check your server logs for ClaudeBot requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.

Other ai training crawlers

Is Anthropic sending you visitors?

Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.

See your AI traffic