ClaudeBot: What It Is, How to Block It, and How to Stay Visible in Claude
If you have opened your server logs lately, you have probably seen ClaudeBot in them. It is one of the crawlers Anthropic runs for Claude, and it is the one most site owners ask about first: what is it collecting, should I block it, and will blocking it make my brand disappear from Claude's answers?
The short answer is that ClaudeBot is only one of three Anthropic user agents, and each one does a different job. Blocking the wrong one can cost you visibility in Claude without giving you the protection you wanted. This guide explains what each bot does according to Anthropic's own documentation, shows the robots.txt rules for common setups, and gives you a way to check that your rules work.
What is ClaudeBot?
ClaudeBot is Anthropic's crawler for collecting public web content that may contribute to training its models. Anthropic's support article on its crawlers describes three bots, and it is worth knowing all of them because they are often confused:
| User agent | What it does (per Anthropic) | What blocking it does |
|---|---|---|
| ClaudeBot | Collects public web content that may be used for model training | Signals that your future content should be excluded from AI training datasets |
| Claude-User | Fetches pages when a Claude user's question needs them | Stops Claude from retrieving your pages for user requests, which may reduce your visibility in user-directed web search |
| Claude-SearchBot | Crawls content to improve the relevance and accuracy of search responses | Stops your pages from being indexed for search, which may reduce your visibility and accuracy in Claude's search results |
So "ClaudeBot" is the training crawler. The two bots that affect whether Claude can find and cite your pages when someone asks a question are Claude-User and Claude-SearchBot.
This is the same split OpenAI uses, where GPTBot handles training and separate agents handle search and user requests. If you have already sorted out OpenAI's crawlers, our guide to GPTBot follows the same logic.
How ClaudeBot behaves
Anthropic lists a few principles for its crawlers:
- The bots identify themselves, so you can spot them by user agent.
- They try not to be intrusive, for example by spacing out requests to the same domain.
- They honor robots.txt directives.
- They respect anti-circumvention measures and do not try to get past CAPTCHAs.
- They support the non-standard Crawl-delay directive where appropriate.
Anthropic also publishes the IP addresses its crawlers use, which lets you confirm that a request claiming to be ClaudeBot really comes from Anthropic. That matters because any scraper can put "ClaudeBot" in its user agent string.
Should you block ClaudeBot?
There is no single right answer. It depends on what you publish and what you want from AI systems. Here are the three positions most sites end up in.
Allow everything. Common for SaaS companies, agencies and most marketing sites. Your content exists to be found, and being part of what models learn from can be part of how your brand gets described. If this is you, you may not need any Anthropic rules at all.
Block training, allow search and user fetches. Common for publishers, course creators and anyone whose content is the product. You opt out of future training but keep the door open for Claude to find and cite your pages when users ask. This is the setup most people mean when they say "block ClaudeBot".
Block everything. Some sites with paid or sensitive content choose this. Be aware of the trade-off: by Anthropic's own description, blocking Claude-User and Claude-SearchBot may reduce your visibility in Claude's search results.
Before you decide, ask one practical question: do people ask AI assistants about the problems your business solves? If they do, blocking the search and user agents means your pages cannot be fetched for those answers, and competitors who allow them can be.
How to block ClaudeBot in robots.txt
Your robots.txt file lives at the root of your domain, for example https://example.com/robots.txt. Anthropic notes that you need to add rules for each subdomain you want to opt out, because every subdomain has its own robots.txt.
Block training only
This is the most common setup. It blocks ClaudeBot and leaves the search and user agents alone:
User-agent: ClaudeBot
Disallow: /
Because Claude-User and Claude-SearchBot are not named, they follow your general rules (usually the User-agent: * group).
Block training and keep search explicit
If your robots.txt has a restrictive User-agent: * group, name the search and user agents so they are clearly allowed:
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: Claude-User
Allow: /
Block part of the site
You can keep training crawlers out of specific folders, such as paid lessons or member areas, while leaving the rest open:
User-agent: ClaudeBot
Disallow: /members/
Disallow: /courses/
Slow it down instead of blocking it
If your concern is server load rather than training, Anthropic supports Crawl-delay for its bots:
User-agent: ClaudeBot
Crawl-delay: 1
Block all Anthropic bots
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Disallow: /
User-agent: Claude-User
Disallow: /
Only use this if you are sure you do not want your pages fetched for Claude's answers at all.
Why IP blocking is the wrong tool
It is tempting to block crawlers at the firewall or CDN. Anthropic warns that blocking its IP addresses may not work correctly or reliably opt you out, because it stops the bots from reading your robots.txt in the first place. Use robots.txt to express your preference, and use the published IP list to verify traffic, not to block it.
If you use a CDN or security plugin with a "block AI bots" switch, check what it actually does. Some of these settings block all AI agents together, including the ones that fetch pages for search answers.
The new "no AI training" signal
Anthropic's crawler documentation now says that, as of October 30, 2026, it will honor a machine-readable "no AI training" preference signal based on an IETF draft from the AI preferences (aipref) working group, with rollout still in progress across services and regions. Two details matter:
- Rules in robots.txt that name ClaudeBot take priority over the general signal.
- If your robots.txt does not mention ClaudeBot, the general signal applies.
In practice, if you want a clear, predictable result for Claude specifically, a named ClaudeBot rule in robots.txt is still the most direct option. The general signal is useful if you want one setting that covers many AI companies at once.
How to check that your rules work
Writing the rules is half the job. Here is a quick checklist to confirm they do what you intended.
- Open your live robots.txt in a browser and read it. Make sure the file you edited is the one being served, especially if a plugin or CDN generates it.
- Check every subdomain. A blog on
blog.example.comneeds its own rules. - Look for conflicting groups. A crawler follows the most specific group that names it. If you name ClaudeBot in one place and allow it in another group, clean that up.
- Watch your logs for a few days. Filter by user agent for ClaudeBot, Claude-SearchBot and Claude-User, and compare the requesting IPs with Anthropic's published list.
- Make sure important pages are still crawlable for search. Robots.txt mistakes often block Googlebot too. After any change, check your key pages in Google Search Console.
How to stay visible in Claude after blocking ClaudeBot
Blocking training does not stop Claude from citing you, as long as Claude-SearchBot and Claude-User can still reach your pages. What helps those answers is the same work that helps search in general:
- Answer the question early. Put a direct, two or three sentence answer at the top of the page, then the detail.
- Use clear headings that match how people ask. "How to block ClaudeBot" is easier to match than "Our crawler policy".
- Keep pages crawlable. Server-rendered HTML, a working sitemap and no accidental noindex tags.
- Keep facts current. Dates, prices and product details that are out of date make your page less useful as a source.
- Measure it. Ask the questions your customers ask and check whether your brand shows up and which sources get cited.
For the full method, see our guide to generative engine optimization and the free GEO learning hub.
Track whether AI answers mention you
Robots.txt controls access. It does not tell you whether you are actually showing up. VibeSEO checks daily whether ChatGPT, Gemini, Google AI Overviews and Google AI Mode mention your brand and which sources they cite, alongside topic discovery, drafting with an approval step and publishing for your blog. You can see plans on the pricing page, and every account gets one free GEO preview.
Create a free VibeSEO account and see where your brand stands in AI search.
Frequently asked questions
What is ClaudeBot?
ClaudeBot is Anthropic's web crawler for collecting public content that may contribute to training its models. Anthropic also runs Claude-User, which fetches pages for user requests, and Claude-SearchBot, which crawls content for search responses.
Does blocking ClaudeBot remove my site from Claude's answers?
Not by itself. Blocking ClaudeBot signals that your future content should be excluded from training. Claude-User and Claude-SearchBot are the agents that fetch and index pages for answers, so leave them allowed if you want to stay visible.
How do I block ClaudeBot in robots.txt?
Add a group with User-agent: ClaudeBot and Disallow: / to the robots.txt file at the root of your domain, and repeat it for each subdomain you want to opt out.
Should I block Anthropic's IP addresses instead?
Anthropic warns that IP blocking may not reliably opt you out because it stops its bots from reading your robots.txt. Use robots.txt for your preference and the published IP list to verify that traffic really comes from Anthropic.
Does ClaudeBot respect Crawl-delay?
Yes. Anthropic says its bots support the non-standard Crawl-delay directive, so you can slow ClaudeBot down instead of blocking it if server load is your concern.