Home Blog

SEO guides

How to detect ClaudeBot on your site

Cover image for How to detect ClaudeBot on your site
On this page
  1. Quick version
  2. Detect ClaudeBot step by step
  3. ClaudeBot detection: verifying the IP
  4. ClaudeBot is not the only Claude traffic
  5. Why blocking ClaudeBot does not stop Claude-Agent
  6. ClaudeBot robots.txt directives
  7. Anthropic's official robots.txt guidance for all three bots
  8. What blocking does and does not do
  9. ClaudeBot: the short profile
  10. Checklist for your own logs
  11. Frequently asked questions

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

Detect ClaudeBot step by step

  1. 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.
  2. Search for the token. Anthropic's crawler uses the current version ClaudeBot/1.0. A command like the one below lists matching lines.
  3. Read the full user-agent string. Kitbase lists this form, which includes a contact address:
  4. Verify the IP. Do not trust the string alone, because anyone can copy it. See the next section.
  5. 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.

NameWhat it doesHow to spot it
ClaudeBotCollects web content that could contribute to model trainingClaudeBot token in the User-Agent
Claude-UserMay access websites when individuals ask Claude questionsIts own robots.txt token
Claude-SearchBotNavigates the web to improve search result qualityIts own robots.txt token
Claude-AgentA browser hosted by Anthropic, driven at a user's directionClaude-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-delay line under the ClaudeBot group, 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 ClaudeBot and, separately, for Claude-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.

How this article was checked

Fact check

How to detect ClaudeBot on your site

paperboyseo.com/blog/detect-claudebot
Verified
44 of 44

cited claims checked against the saved source text.

  • Every claim has a source: passed
  • Numbers match their sources: passedEvery number in a cited sentence was looked up in the saved source text.
  • Sources say what the article says: passedEach cited sentence was compared with the passages of its source.
  • Sounds like the customer: passedVoice match 78 of 100.
  • No banned claims: passed
  • House style: passed
7 sources read
  • support.claude.com
  • support.claude.com
  • cside.comSells something
  • kitbase.devSells something
  • almcorp.comSells something
  • dev.toSells something
  • paperboyseo.com
Sources read
7
Score
84/100
Checked
Nov 15, 2026
Text corrected
Nov 17, 2026
The text was corrected after this check ran, and the check did not run again on the corrected text.7 small notes

Sources

The pages the engine read for this article.

  1. support.claude.comsupport.claude.com
  2. support.claude.comsupport.claude.com
  3. How to Block ClaudeBot: IP Ranges, User-Agent and…cside.com
  4. ClaudeBot Explained: Anthropic's Crawler, robots.txt, and How to Track It | Kitbase Blogkitbase.dev
  5. White Label Digital Marketing Agency | $7B Sales | ALM Corpalmcorp.com
  6. dev.todev.to
  7. Paperboy: Articles built to rank and be cited, fact-checked | Paperboypaperboyseo.com

Drafted with AI tools and checked against its sources before publishing. Sources are linked in the article.

About Paperboy: Paperboy writes SEO articles for your own website every week and checks every number against its source before publishing. It is operated by Hive Asset Group, LLC.

Want a guide like this for your own site?

Paste your address. In under ten minutes you read a finished, fact-checked article written for your site. Free, no card.

You pick a plan only after you have read it.

Prefer to run it yourself? Self-host it. Using an agent? Add the MCP server.