ClaudeBot is the Anthropic crawler that collects public web content which may contribute to training Claude models. Allowing it in robots.txt is a training decision, and only a training decision. It does not put your business into Claude search answers. It does not make Claude recommend your products. Those outcomes depend on two other Anthropic crawlers, Claude-SearchBot and Claude-User, and this guide keeps the three jobs apart so you can allow the one you mean.
If your goal is to be found by people asking Claude questions, the search crawler is the one to watch. This guide covers ClaudeBot itself: what it collects, how to write its rule, how to slow it down instead of blocking it, and how to check that your choice is live.
The three Anthropic crawlers, in plain terms
Anthropic documents three robots, each with its own name and its own job.
ClaudeBot collects web content that could potentially contribute to training. Restricting it signals that your future materials should be excluded from Anthropic training datasets. Note the word future. The opt out works going forward, on materials you publish after the restriction.
Claude-SearchBot navigates the web to improve search result quality. Disabling it prevents Anthropic from indexing your content for search, which may reduce your visibility and accuracy in Claude search results.
Claude-User supports Claude users directly. When a person asks Claude a question, it may access a website using a Claude-User agent. Disabling it prevents Anthropic from retrieving your content in response to a user query, which may reduce your visibility for user directed web search.
Three names, three jobs, three separate switches. A rule that names ClaudeBot touches only ClaudeBot. That separation is the whole point of the design, and it is also the trap: a file that allows ClaudeBot and says nothing about the other two has made one decision out of three.
Decide what you want from Anthropic
Start with the training question, because that is the only question ClaudeBot answers. Are you comfortable with your public pages being used to train future Claude models? If yes, allow ClaudeBot. If no, disallow it, and keep the other two decisions separate.
The split most businesses want is training off and answers on. That file disallows ClaudeBot and allows Claude-SearchBot and Claude-User. Your pages stay out of future training, while Claude can still index them for search and fetch them when a person asks a question.
The opposite split, allowing ClaudeBot while blocking the other two, is possible but rarely what anyone intends. It would feed training while keeping your business out of answers. If your file looks like that, it is almost certainly a copy error, not a strategy.
One caution before you write anything. Robots.txt is a request that a well behaved crawler honours, not a lock. Anthropic says its bots honour industry standard directives in robots.txt. That promise covers bots that identify themselves as Anthropic bots. It cannot stop a scraper that borrows the name, and it cannot protect a page that must stay private. Private pages need a login, not a Disallow line.
Write the rule
Your robots.txt file sits at the root of your site. Open it at an address like the one below, with your own domain in place of the example.
https://yourdomain.com/robots.txt
If nothing loads there, you have no file yet. Build one at the root first, because a ClaudeBot rule has nowhere to sit without it.
To allow ClaudeBot across the whole site, add this group:
User-agent: ClaudeBot
Allow: /
To keep training out while staying visible in answers, write the split:
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: Claude-User
Allow: /
Each group stands alone. A crawler follows the group that names it and ignores the broad User-agent: * group once a group of its own exists. So if your broad group blocks your checkout and account pages, repeat those limits inside the ClaudeBot group, or ClaudeBot will be allowed into paths you meant to close. A complete group for a shop that keeps checkout closed looks like this:
User-agent: ClaudeBot
Allow: /
Disallow: /checkout/
Disallow: /account/
Anthropic also asks site owners to put the file in the top level directory of every subdomain they want covered. A file on your main domain says nothing about a subdomain, so repeat the rule on each subdomain you want the policy to cover.
Slow it down instead of blocking it
Blocking is not the only lever Anthropic offers. If your worry is server load rather than training, slowing the crawler down is the better answer, and Anthropic supports the non standard Crawl-delay extension for exactly that purpose.
A delay of one second between requests looks like this:
User-agent: ClaudeBot
Crawl-delay: 1
Two things to know about this line. First, Crawl-delay is not part of the robots.txt standard, so support varies by crawler. Anthropic documents support for it. Google, for contrast, lists it as unsupported, so a delay line written for ClaudeBot does nothing to Googlebot. Second, a delay slows the crawl, it does not stop it. If your aim is to keep training out, a delay is the wrong tool. Use Disallow for that, and use Crawl-delay only for pace.
Do not try to enforce the opt out by blocking Anthropic IP addresses instead. Anthropic warns that blocking IPs may not work correctly or persistently guarantee an opt out, because it impedes the crawler's ability to read your robots.txt file. The file is the mechanism. Let the crawler read it.
A stationery shop that named the wrong token
Picture a stationery shop in Austin. The owner sells paper goods and pens online, and she wants Claude to recommend her shop when someone asks for a good notebook gift. She finds a robots.txt template, copies it, and the template names Claude-Web, a token she has seen in older lists.
Weeks pass. Claude never cites her shop. She checks the file and finds the problem: Claude-Web is a retired name that no longer matches anything Anthropic runs. Her file welcomed a crawler that does not exist, while saying nothing about ClaudeBot, Claude-SearchBot, or Claude-User. She replaces the retired token with the three current ones, allows the search and user crawlers, and disallows the training crawler, because she would rather not feed training. Now the file names real crawlers and states a real policy.
Retired tokens are a quiet failure. They produce no error, no warning, and no visit. The file looks finished while doing nothing. If a token in your file does not appear on the vendor's current page, treat it as dead and remove it.
Check that the rule is live
Saving the file is the start, not the finish. Confirm it in three steps.
First, fetch your robots.txt address in a browser and look for the ClaudeBot group. If it is not there, the file you edited is not the file the site serves. On shops where the platform generates robots.txt from a template, this is a common surprise, and no crawler will see a rule that the served file does not contain.
Second, watch your server logs for ClaudeBot visits. Anthropic names its three robots by token, and it does not publish full user agent strings, so match on the token ClaudeBot inside the user agent field, ignoring case. Do not search for Claude-Web or anthropic-ai. Both names are retired, and a hit on either one is either an old log line or a stranger borrowing a dead name.
Third, check the IP behind any hit that matters. Anthropic publishes the source IP addresses its crawlers use in a JSON list, and a hit from an address on that list indicates the crawler is coming from Anthropic. User agent strings are easy to fake, so a token without a matching IP is a claim, not proof. Note one limit of that list: it carries no labels for which of the three bots made the visit, so a match proves Anthropic visited, without revealing which bot came.
If a week passes with the file saying allow and no visits appear, something upstream is probably still blocking. A firewall or bot filter in front of your site can challenge or block a crawler even when robots.txt says yes, and that block leaves no trace in your server logs, because the request never reaches your server.
What allowing ClaudeBot does not do
Allowing ClaudeBot will not make Claude recommend your business. It will not lift your visibility in search, because search runs on Claude-SearchBot. It will not make a crawl happen sooner, and it will not describe your products to the model.
It also will not help Claude answer a question about your business in the moment, because that fetch is done by Claude-User. Each job has its own crawler, and permission for one is not permission for the others.
If you want Claude to understand what you sell, the work is in the pages themselves and in the short briefing file that summarises your business for models. Permission gets crawlers through the door. It does not tell them what they are looking at, and it does not make them cite you.
Frequently Asked Questions
Does allowing ClaudeBot put my business in Claude answers?
No. ClaudeBot collects content that may contribute to training. Claude search answers depend on Claude-SearchBot, and live fetches for a person asking a question depend on Claude-User. Allow those two for visibility, and decide ClaudeBot on training alone.
I blocked ClaudeBot. Will Claude still cite my business?
It can, if Claude-SearchBot and Claude-User are allowed. Blocking ClaudeBot signals that your future materials should be excluded from training datasets. It does not remove your pages from search indexing.
What is Crawl-delay, and should I use it?
It asks the crawler to wait a stated number of seconds between requests. Anthropic supports it. Use it when your worry is server load, not training. Use Disallow when your aim is to keep content out of training.
Why do old templates name Claude-Web?
It was an earlier token that Anthropic no longer lists. Rules written for it match nothing current, so remove it and use the three tokens Anthropic documents now.
Verified Sources & Technical Documentation
- Anthropic crawler documentation Specific https://support.claude.com/en/articles/8896518
- RFC 9309, Robots Exclusion Protocol General Docs https://www.rfc-editor.org/rfc/rfc9309.html
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.