To detect ClaudeBot, search your server access logs for the ClaudeBot/1.0 token in the User-Agent, then check that the request's IP address falls inside Anthropic's published ranges. Kitbase, a company that sells bot detection, says a request that claims to be ClaudeBot from outside those ranges is spoofed. ClaudeBot fetches HTML and never runs page scripts, so it does not fire your analytics snippet and you will not see it in script-based analytics.
Quick version
- Look in raw server logs, not in JavaScript analytics.
- Match the
ClaudeBottoken in the User-Agent, then verify the IP against Anthropic's published ranges. - Anthropic runs three robots: ClaudeBot, Claude-User and Claude-SearchBot. Each has its own robots.txt rules.
- Claude's hosted browser traffic is a separate case. It carries a Claude-Agent token and is not covered by ClaudeBot rules.
- To block training crawls, add
User-agent: ClaudeBotandDisallow: /to robots.txt.
Detect ClaudeBot step by step
- Open your raw access logs. ClaudeBot fetches HTML and does not execute JavaScript, and cside, a company that sells browser-layer AI agent detection, says the same. A tag-based analytics tool will not record it.
- Search for the token. Anthropic's crawler uses the current version ClaudeBot/1.0. A command like the one below lists matching lines.
- Read the full user-agent string. Kitbase lists this form, which includes a contact address:
- Verify the IP. Do not trust the string alone, because anyone can copy it. See the next section.
- Compare against robots.txt. Anthropic says its bots honor industry standard robots.txt directives. If a verified ClaudeBot ignores a rule that names it, you have something worth reporting.
grep -i "claudebot" /var/log/nginx/access.log
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
ClaudeBot detection: verifying the IP
A user-agent match tells you what a request says it is. An IP check tells you whether to believe it.
Anthropic publishes its crawler IP ranges at claude.com/crawling/bots.json. Its help center article links that list and says that if a crawler has a source IP address on it, that indicates the crawler is coming from Anthropic. Kitbase points to the same file and shows how to fetch it with curl -s https://claude.com/crawling/bots.json.
The logic is simple. If the IP sits inside a published block, treat the request as ClaudeBot. If it does not, Kitbase says it is spoofed. This is our judgment, not a sourced fact: for anything that blocks or allows traffic automatically, use the IP check and treat the user agent as a hint.
ClaudeBot is not the only Claude traffic
Anthropic's help center says it uses three robots. A fourth kind of traffic, agentic browsing, is documented separately. Anthropic says agentic browser use is different from its robots.
| Name | What it does | How to spot it |
|---|---|---|
| ClaudeBot | Collects web content that could contribute to model training | ClaudeBot token in the User-Agent |
| Claude-User | May access websites when individuals ask Claude questions | Its own robots.txt token |
| Claude-SearchBot | Navigates the web to improve search result quality | Its own robots.txt token |
| Claude-Agent | A browser hosted by Anthropic, driven at a user's direction | Claude-Agent token added to the browser's own User-Agent |
For Claude-Agent traffic, Anthropic says the User-Agent keeps the browser's own header and adds the token. The IPs are published at https://claude.com/.well-known/sail, listed under Claude-Agent. Anthropic also tells site owners to match on the Claude-Agent token rather than the full string, because other parts of the string can change.
A Python log-checker write-up on DEV Community adds two details. Its author, who sells website AI agent services, says the match should treat Claude-Agent as a product token, not a loose substring, so that something like NotClaude-Agent is not counted. The same author notes the SAIL file follows a draft standard. Their copy fetched on 8 November 2026 listed 9 IPv4 entries and no IPv6. That is one person's snapshot, so fetch the file yourself. The author also says crawler addresses are not verified against the SAIL file, because it covers the agent only.
Why blocking ClaudeBot does not stop Claude-Agent
This is the part that trips people up. Rules for ClaudeBot govern ClaudeBot. Kitbase says blocking it opts you out of training crawls, while Claude-SearchBot and Claude-User are governed by separate rules. The DEV Community author likewise says the crawlers and fetchers are managed separately from Claude-Agent.
cside makes a related point and uses it to sell its product. It reports that in its own controlled testing, network-layer tools missed AI agents in 81 out of 100 scenarios. That is a vendor's test of its own category, so read it as a reason to check your own logs, not as a neutral benchmark.
ClaudeBot robots.txt directives
The basic block comes straight from Anthropic's help page:
User-agent: ClaudeBot
Disallow: /
Three more points from Anthropic's documentation:
- Specific rules win. Anthropic says that if your robots.txt names ClaudeBot, it follows that rule even if your general setting says something different.
- Throttling is supported. Anthropic supports the non-standard Crawl-delay extension to limit crawling activity. You add a
Crawl-delayline under theClaudeBotgroup, as its page shows. Kitbase puts it as throttling ClaudeBot rather than blocking it outright. - CAPTCHAs are respected. Anthropic says its bots will not attempt to bypass CAPTCHAs on sites they crawl.
Anthropic's page also says that, as of October 30, 2026, it has begun recognizing a machine-readable signal that lets site owners express a preference about whether their content may be used to train AI models. The facts we reviewed do not describe the signal's format, so read the official page before relying on it.
Anthropic's official robots.txt guidance for all three bots
The official source is Anthropic's help center article. It names the three robots and says they respect "do not crawl" signals. Kitbase reads the same documentation as saying each agent has its own robots.txt token and its own job, and that all three respect robots.txt.
In practice that means you can write separate groups. A site that wants to stay out of training data but remain reachable for user questions and search could block only ClaudeBot, as in the snippet above, and leave the other two tokens alone. This is our reading of the separate-rules statements in Kitbase's summary, so confirm each token's exact spelling on Anthropic's page before you publish rules.
What blocking does and does not do
cside says blocking ClaudeBot prevents future content from entering Anthropic's training data pipeline. It does not stop Claude from referencing your site in responses based on previously indexed content, and it does not remove content already collected. Kitbase says blocking ClaudeBot does not remove your site from Claude entirely.
The decision is a business one. Blocking training crawls and blocking search access are different choices. Our view: a small business that wants to be cited in AI answers should think twice before blocking Claude-SearchBot or Claude-User. You can run the free AI check to see how AI tools currently describe your site before you change anything.
ClaudeBot: the short profile
Anthropic describes ClaudeBot as collecting web content that could contribute to the training of its generative AI models. cside calls it the web crawler Anthropic operates to collect training data for Claude. Kitbase lists it as respecting robots.txt, fetching HTML without executing JavaScript, and currently at version 1.0. cside adds that it makes HTTP GET requests to publicly accessible URLs, reads the response and moves on.
For more guides on crawlers and search visibility, see the Paperboy blog.
Checklist for your own logs
- Search raw logs for
ClaudeBotand, separately, forClaude-Agent. - Verify ClaudeBot IPs against Anthropic's published ranges. Verify Claude-Agent IPs against the SAIL file.
- Treat a user-agent match from an unlisted IP as spoofed.
- Write robots.txt groups per token, and test that each one matches what you intend.
- Re-check the published IP sources from time to time, since the SAIL file is a draft-based format.
Frequently asked questions
Does ClaudeBot respect robots.txt?
Yes. Anthropic says its bots honor industry standard robots.txt directives, and Kitbase lists ClaudeBot as respecting robots.txt. If your file names ClaudeBot, Anthropic says it follows that rule over a general setting.
Will ClaudeBot show up in website analytics?
Usually not. Kitbase says ClaudeBot fetches HTML and never executes page scripts, so it never fires your analytics snippet. Use server access logs instead.
Does blocking ClaudeBot remove a site from Claude?
No. Kitbase says blocking ClaudeBot opts you out of training crawls only, and cside says it does not remove previously collected content from existing models.
Can ClaudeBot be slowed down instead of blocked?
Yes. Anthropic says it supports the non-standard Crawl-delay extension to robots.txt to limit crawling activity.
Is Claude-Agent the same as ClaudeBot?
No. Anthropic says agentic browser use is different from its robots, including ClaudeBot, Claude-User and Claude-SearchBot. Claude-Agent traffic carries its own User-Agent token.