ClaudeBot and PerplexityBot: A Minimal Allowlist for a Content Site

A claudebot robots.txt search usually starts from one practical choice: stay citable in AI answers without offering the site for model training. Anthropic documents three separate robots—ClaudeBot, Claude-User, and Claude-SearchBot—so each can be allowed or limited on its own (Claude Help Center). A block claudebot rule is Anthropic’s signal that future materials should be excluded from training datasets; it does not, by itself, remove the site from Claude search.
Perplexity needs the same split. PerplexityBot surfaces and links sites in search results and is not used to crawl content for AI foundation models; Perplexity recommends allowing it in robots.txt and from its published IP ranges (Perplexity Docs). Perplexity-User is a different control: that fetcher answers a user’s question and generally ignores robots.txt. An ai crawler allowlist that treats every name as one switch will either hide citations or leave the training crawl open.
The file that follows disallows ClaudeBot, explicitly allows PerplexityBot and Claude-SearchBot, and repeats private paths inside each named group, because a named group replaces User-agent: * for that bot. It also names what robots.txt cannot stop: an Anthropic opt-out attempted only by IP blocking, and a perplexity-user fetch that does not read the file. The next section starts with those separate groups.
- Disallow ClaudeBot to tell Anthropic that future site materials should be excluded from training datasets.
- Allow Claude-SearchBot and PerplexityBot if citations matter; disabling them can reduce search visibility or stop full-text indexing.
- Write a separate robots.txt group for each bot and repeat private-path rules inside every named group.
- Perplexity-User generally ignores robots.txt, so a WAF rule has to match its own published IP list.
- Do not use IP blocking as the Anthropic opt-out; put the robots.txt rule on every subdomain.
The official robots.txt token for ClaudeBot
The official robots.txt group name is ClaudeBot, not Claude-Web and not anthropic-ai. Extra legacy lines do not replace the three groups Anthropic documents now.
Anthropic documents three separate robots so each can be allowed or limited independently: ClaudeBot, Claude-User, and Claude-SearchBot. Name that split here so a single Disallow is not treated as the citation switch; search and user-fetch effects belong to the next part. The site’s broader bot matrix covers the rest of the crawler list.
ClaudeBot collects web content that could contribute to training. Restricting it is Anthropic’s signal to exclude that site’s future materials from AI model training datasets.
Token — The group name to write is ClaudeBot. Legacy tokens do not stand in for the three robots Anthropic documents, and a Disallow on that one name is a training opt-out, not the whole citation control.
Does blocking ClaudeBot stop Claude from citing my pages?
No. A ClaudeBot disallow does not, by itself, remove the site from Claude search or stop citations. Claude-SearchBot and Claude-User are the separate controls that decide whether pages are indexed or fetched for an answer.
Disabling Claude-SearchBot prevents Anthropic from indexing the site for search optimization and may reduce visibility and accuracy in user search results. Disabling Claude-User stops retrieval in response to a user query and may reduce visibility for user-directed web search.
As of October 30, 2026, Anthropic recognizes a machine-readable no-AI-training preference. A robots.txt group that names ClaudeBot wins over that general signal, so write the named rule and do not rely on a sitewide preference alone.
Should a content site allow or block PerplexityBot?
Allow PerplexityBot if the goal is to be surfaced and linked in Perplexity search. Perplexity recommends allowing it in robots.txt and from its published IP ranges. It is not used to crawl content for AI foundation models, so allowing it does not put pages into foundation-model pre-training.
Perplexity says it does not build foundation models and that PerplexityBot now crawls only in compliance with robots.txt. Do not treat it as a second ClaudeBot.
That November 26, 2026 scan—172 of 779 blocking ClaudeBot and 136 of 779 blocking PerplexityBot—is context, not a template. Another 12.2% blocked at least one training crawler while leaving OAI-SearchBot, Claude-SearchBot, and PerplexityBot open, which is the split this file should copy.
Allow it — Allow PerplexityBot for search citations; it is not a foundation-model crawler, and the useful pattern is blocking training bots while leaving search indexers open.
Top domains blocking each bot
What happens if I disallow PerplexityBot—can Perplexity still show my headline?
Yes. A headline can still appear. If robots.txt disallows PerplexityBot, Perplexity will not index the full or partial text of the site, but it may still index the domain, headline, and a brief factual summary. A Disallow is a text-indexing block, not a guarantee the domain disappears from Perplexity.
Perplexity-User is a separate agent. It fetches pages for a user’s question, is not used for crawling or foundation-model training, and generally ignores robots.txt. The file is not the control for that agent. Any allow or block has to match Perplexity-User’s own published IP list, which is separate from the PerplexityBot list.
Headline can remain — Disallowing PerplexityBot stops full or partial text indexing, but the domain, headline, and a brief factual summary can remain, and Perplexity-User generally ignores robots.txt.
How to write a minimal allowlist that blocks training and keeps AI search
Write the allowlist as separate robots.txt groups. Disallow: / under User-agent: ClaudeBot is the training block. Explicitly Allow: / for Claude-SearchBot and PerplexityBot so search indexing can still fetch the site. If you want user-directed Claude visibility, add a Claude-User group with Allow: / — omitting that group is not a silent allow.
Yes: a lone User-agent: * with Disallow: / also blocks Claude-SearchBot and PerplexityBot, because those bots honor robots.txt. The moment a named group exists, that group—not the star rule—is what that bot follows. Anthropic’s bots will not try to bypass CAPTCHAs and support Crawl-delay; the documented slowdown is Crawl-delay: 1 for ClaudeBot, and the full-site block remains Disallow: /. Leave GPTBot versus Google-Extended to the sibling article.
Allowlist — Separate groups, not a star disallow: block ClaudeBot, explicitly allow the search bots, and repeat private-path rules inside each named group.
Do I need the same robots.txt on every subdomain?
Yes. An Anthropic opt-out has to be in robots.txt on every subdomain that publishes content. A file on the apex host does not cover www, blog, or other hosts that serve their own robots.txt. Put the same named groups on each of those hosts, and check the live URL, not only the file in the repo.
No. Do not use IP blocking as the opt-out from ClaudeBot. Anthropic says blocking the crawler’s IP addresses may not work correctly or persistently guarantee an opt-out, because that can stop Anthropic from reading the file.
Every host — The opt-out is the same robots.txt on every content host, not an apex-only file and not an Anthropic IP block.
How do I confirm a hit is really PerplexityBot, and why Cloudflare can still challenge it?
Do not trust the user-agent string alone. Perplexity’s example, “Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)”, can change its version number, so a matching label is not proof. Match the request IP to the current list at perplexitybot.json. Perplexity-User IPs are a separate file. A forged user agent will not originate from those published ranges. Refresh the JSON lists when you verify live traffic, and recheck token names on a quarterly cadence.
An allow in robots.txt is not an edge allow. On Cloudflare, a WAF Skip rule cannot bypass Bot Fight Mode, so that mode can still challenge Perplexity bots even when a custom allow rule matches. Point edge enforcement to the site’s crawler-controls guide; this is not a full WAF setup.
Verify by IP — A PerplexityBot user agent is untrusted until the request IP matches the current perplexitybot.json list, and Cloudflare Bot Fight Mode can still challenge the bot after a robots.txt allow.
Does llms.txt Replace a ClaudeBot or PerplexityBot robots.txt Rule?
No. llms.txt does not replace a ClaudeBot or PerplexityBot robots.txt rule, because it does not grant or deny fetch. This robots.txt file is the access decision; the citation map stays on the existing llms.txt URLs. A citation map cannot substitute for these bot groups.
Keep that map on the site’s practical llms.txt spec, build it with the generator, and publish it with the WordPress and Shopify install guides. Citations still depend on the named bot groups in robots.txt, not on the map alone.
Key Takeaways
Publish the named robots.txt groups on every live content host, then confirm PerplexityBot against its current IP list and recheck token names quarterly.