AI crawler guide

ClaudeBot, Claude-User and Claude-SearchBot: What Each Does

Anthropic uses three user agents. ClaudeBot collects web content that may be used for model training, Claude-SearchBot improves the quality of search results in Claude, and Claude-User opens a page when a person asks Claude about it. Each can be allowed or blocked separately in robots.txt.

Run the free GEO auditLast updated

What Each Anthropic Bot Does

The three bots do different jobs, so blocking one does not block the others. If your goal is to be reachable when people use Claude, Claude-SearchBot and Claude-User matter most. Whether to allow ClaudeBot is a separate decision about training.

Anthropic crawlers and what each is for
User agentUsed forCommon choice
ClaudeBotCollecting web content that may be used for model trainingA policy choice: allow or block
Claude-SearchBotImproving the quality of search results for Claude usersAllow, if you want to be findable in Claude search
Claude-UserOpening a page when a person asks Claude about itAllow, if you want people to open your pages through Claude

These descriptions follow Anthropic's published crawler documentation, which can change. Check Anthropic's current page before you rely on the details, including how its bots treat robots.txt.

How to Allow All Three Bots

To allow all three, add one group per bot to the robots.txt file at the root of your domain. If nothing in your file blocks them they are already allowed, and explicit rules just make your intent clear.

User-agent: ClaudeBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

How to Block Training but Stay Reachable

To opt out of training while staying reachable, disallow ClaudeBot and allow the other two. Because each bot reads only its own group, one rule does not change the others.

User-agent: ClaudeBot
Disallow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

Do not use a User-agent: * rule with Disallow: / to stop training. It blocks every crawler that has no group of its own, including the search bots you may want.

Why Claude Can Still Fail to Read Your Page

A page can be allowed in robots.txt and still be unreadable to Claude's bots, because a firewall or CDN rule can return a 403 or 429 error, and text that appears only after JavaScript runs looks empty to a crawler that reads raw HTML. Each cause needs a different fix.

  • robots.txt disallows the bot, or a wildcard rule blocks everything.
  • A firewall, CDN or bot-protection rule challenges or blocks the bot.
  • The text you want quoted exists only after JavaScript runs.

The free GeoLint audit separates these three causes by testing robots.txt, the real server response and the raw HTML. See also robots.txt for AI bots.

Which Anthropic Bot Should You Allow?

Anthropic describes the effect of each choice, so you can decide per bot instead of treating Claude as one switch. Restricting ClaudeBot signals that your site's future content should be left out of training datasets. Disabling Claude-User stops Claude retrieving your page when a person asks about it, which can reduce your visibility for user-directed search. Disabling Claude-SearchBot stops your content being indexed for search, which can reduce visibility and accuracy in Claude's search results.

What you want, and which Anthropic bot to configure
Your goalBot to configureTypical rule
Be findable when people search with ClaudeClaude-SearchBotAllow it
Let Claude open your page when a person asks about itClaude-UserAllow it
Keep future content out of training dataClaudeBotDisallow it
Slow a crawler that is using too much bandwidthClaudeBotAdd a Crawl-delay line instead of blocking

Slowing ClaudeBot Down With Crawl-delay

If the problem is load rather than content rights, you do not have to block the bot. Anthropic says it supports the non-standard Crawl-delay extension to robots.txt, which asks the bot to wait between requests.

User-agent: ClaudeBot
Crawl-delay: 1

Crawl-delay is not part of the original robots.txt standard, and not every crawler reads it. Anthropic also warns that blocking its IP addresses may not give a reliable opt-out, because doing so can stop the bot from reading your robots.txt at all. Use robots.txt rules, not IP blocks, to express your preference.

How to Detect ClaudeBot, Claude-User and Claude-SearchBot

Like other well-behaved crawlers, Anthropic's bots name themselves in the User-Agent header, so they show up in your server access log. Searching for the three names tells you whether Claude's bots are reaching your pages and what status they get back.

# Every Anthropic bot request in an access log
grep -iE "ClaudeBot|Claude-User|Claude-SearchBot" access.log

# Status codes returned to Claude-SearchBot
grep -i "Claude-SearchBot" access.log | awk '{print $9}' | sort | uniq -c

A 200 means the page was served. A 403 or 429 means something in front of your site turned the bot away, and the firewall checks in the section above apply. Anthropic has said it uses service-provider IP addresses and has not always published fixed ranges, so confirm the current position on its crawler page before you write an IP-based allow rule.

ClaudeBot and Anthropic Crawlers: Common Questions

Can I slow ClaudeBot down instead of blocking it?

Yes. Anthropic says it supports the non-standard Crawl-delay extension, so a Crawl-delay line in the ClaudeBot group asks it to wait between requests. It is a request, not a guarantee, and it is not part of the original robots.txt standard.

Why does Anthropic advise against blocking its IP addresses?

Anthropic notes that blocking IP addresses may not give a reliable opt-out and can stop its bots from reading your robots.txt. The robots.txt file is the supported way to express your choice.

Should I block ClaudeBot?

That is a content-rights decision. As Anthropic describes it, ClaudeBot is for training data while Claude-SearchBot and Claude-User serve search and user requests, so you can block ClaudeBot and still allow the other two.

Does Anthropic say its bots follow robots.txt?

Anthropic's documentation says its crawlers follow robots.txt. Because policies change, read its current page, and use firewall rules too if you need a hard block.

How do I know if ClaudeBot is blocked on my website?

Check whether robots.txt disallows it and whether your server returns an error to it. GeoLint tests both layers for the main AI search bots and reports which one is the problem.

Check your own website for free

GeoLint asks each AI search bot for your page, loads it with and without JavaScript and shows what is blocking you. It is free, needs no signup and takes about 20 seconds.