Indexing

ClaudeBot and PerplexityBot: A Minimal Allowlist for a Content Site

Read Time6 Min Read
Length1,489 Words
CategoryIndexing
ClaudeBot and PerplexityBot: A Minimal Allowlist for a Content Site
AI Generated

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.

Summary
  • 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

Diagram of official robots.txt tokens ClaudeBot, Claude-SearchBot, and Claude-User

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.

Key Takeaway

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.

Sources

Does blocking ClaudeBot stop Claude from citing my pages?

ClaudeBot robots.txt disallow leaving Claude search citations intact

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?

Decision card allowing PerplexityBot for search indexing on a content site

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.

22.1%
of 779 domains blocked ClaudeBot
17.5%
blocked PerplexityBot
12.2%
blocked Claude-SearchBot

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.

Key Takeaway

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

Sources

What happens if I disallow PerplexityBot—can Perplexity still show my headline?

PerplexityBot disallow still showing a headline via Perplexity-User

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.

Key Takeaway

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

Minimal robots.txt allowlist blocking ClaudeBot and allowing Claude-SearchBot and PerplexityBot

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.

01
Block the training crawler
Open a User-agent: ClaudeBot group and set Disallow: /. Do not substitute deprecated Claude-Web or anthropic-ai lines.
02
Allow the search bots by name
Give Claude-SearchBot and PerplexityBot their own groups, each with Allow: /. Add Claude-User with Allow: / only if query-time Claude retrieval is wanted.
03
Repeat private-path disallows
Copy Disallow rules for /admin and similar paths into every named group. A named group replaces User-agent: * for that bot, so an Allow group will not inherit a star-rule block.

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.

Key Takeaway

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?

Apex and subdomains each with their own robots.txt, IP block marked wrong opt-out

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.

Key Takeaway

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?

Verifying a PerplexityBot hit against published IPs beside an edge challenge page

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.

Key Takeaway

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?

robots.txt as access decision beside llms.txt as citation map, neither replacing the other

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

[01]
ClaudeBot tokenThe official robots.txt name is ClaudeBot, not Claude-Web or anthropic-ai, and a disallow is the training opt-out, not a full citation switch.
[02]
Search versus trainingBlocking ClaudeBot does not remove pages from Claude search; Claude-SearchBot controls indexing and Claude-User controls query-time retrieval.
[03]
PerplexityBot allowA site that wants Perplexity citations should explicitly allow PerplexityBot, which is not a foundation-model crawler and honors robots.txt.
[04]
Perplexity-User gapDisallowing PerplexityBot can still leave a domain, headline, and brief summary, and Perplexity-User ignores robots.txt so it must be controlled by its own IP list.
[05]
Minimal allowlistUse separate groups that disallow ClaudeBot, allow Claude-SearchBot and PerplexityBot, allow Claude-User only if query-time visibility is wanted, and repeat private-path rules in every named group.
[06]
Hosts, verification, and llms.txtPlace the same groups on every subdomain, confirm PerplexityBot by current IP rather than user-agent, expect Cloudflare Bot Fight Mode to still challenge allowed bots, and treat llms.txt as a citation map, not an access rule.

Publish the named robots.txt groups on every live content host, then confirm PerplexityBot against its current IP list and recheck token names quarterly.

Frequently Asked Questions

Does a claudebot robots.txt disallow remove the site from Claude search?
No. Restricting ClaudeBot is Anthropic’s signal to exclude future materials from training datasets. Disabling Claude-SearchBot is the control that prevents indexing for search and may reduce visibility and accuracy in user search results (Claude Help Center).
How should claude-user robots.txt differ from Claude-SearchBot?
They are separate robots. Disabling Claude-User stops retrieval in response to a user query and may reduce visibility for user-directed web search, while Claude-SearchBot controls indexing for search (Claude Help Center).
Should perplexitybot robots.txt allow or block the crawler?
Allow it if you want full or partial text indexed for Perplexity search. PerplexityBot is not used to crawl content for foundation models, and allowing it does not put pages into model pre-training (Perplexity Docs; Perplexity Help Center).
What happens if you disallow PerplexityBot?
Perplexity will not index the full or partial text of a site that disallows it, but it may still index the domain, headline, and a brief factual summary (Perplexity Help Center).
Does Perplexity-User follow robots.txt?
Generally no. Perplexity-User fetches pages for a user’s question, is not used for crawling or foundation-model training, and generally ignores robots.txt, so the control is its published IP list rather than the file (Perplexity Docs).
Can blocking crawler IPs replace a ClaudeBot robots.txt opt-out?
No. Anthropic says an opt-out has to be in robots.txt on every subdomain, and blocking the crawler’s IP addresses may not persistently guarantee an opt-out because that can stop Anthropic from reading the file (Claude Help Center).
Sources

You Might Also Like