PerplexityBot: What It Is, How to Block It, and Whether You Should
If you have been reading your server logs lately, you have probably seen a user agent that says PerplexityBot. It is the crawler behind Perplexity, the AI answer engine that shows sources next to every answer. Site owners usually want to know three things: what it is, how to block it, and what blocking costs them in visibility.
This guide answers all three using Perplexity's own documentation, plus one public report you should know about before you write a single robots.txt rule.
What PerplexityBot is
Perplexity documents two separate agents, and they behave differently.
PerplexityBot is the crawler that builds Perplexity's search index. Perplexity says it is designed to surface and link websites in Perplexity search results, and that it is not used to crawl content for AI foundation models. Its user agent string is:
Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)
Perplexity-User is a fetcher, not a crawler. It visits a page when a person using Perplexity asks something that needs that page, so Perplexity can answer and link to it. Its user agent string is:
Mozilla/5.0 (compatible; Perplexity-User/1.0; +https://perplexity.ai/perplexity-user)
The key difference: Perplexity says PerplexityBot is controlled through robots.txt, while Perplexity-User "generally ignores robots.txt rules" because a user requested the fetch. Perplexity also notes that the version number in each string may change, so match on the bot name, not the full string.
How it differs from GPTBot and ClaudeBot
OpenAI and Anthropic each split their bots by purpose, with one agent tied to model training and others tied to search or user requests. Perplexity's split is simpler. Neither of its documented agents is described as a training crawler. Its help center states that PerplexityBot does not scrape content for pre-training of LLMs. So blocking PerplexityBot is mostly a search visibility decision, not a training opt-out.
The Cloudflare report you should know about
On August 4, 2025, Cloudflare published a report saying that when Perplexity's declared crawlers were blocked, it observed an undeclared crawler posing as Google Chrome on macOS, rotating IP addresses outside Perplexity's published ranges. Cloudflare said it saw this across tens of thousands of domains, delisted Perplexity as a verified bot, and added signatures to its managed AI crawler blocking rule, which it said is available to all customers, including free plans.
For a site owner, the practical takeaway is simple: robots.txt is a request, not a lock. If you need certainty that content stays out of an AI product, robots.txt alone is not enough, and you will need firewall rules or authentication.
How to block PerplexityBot in robots.txt
To keep PerplexityBot out of your whole site:
User-agent: PerplexityBot
Disallow: /
To block only part of the site, for example a members area and internal search pages:
User-agent: PerplexityBot
Disallow: /members/
Disallow: /search
Perplexity says each robots.txt setting works independently and that changes may take up to 24 hours to be reflected in its systems. Do not expect the logs to go quiet the minute you deploy.
What blocking does and does not do
Perplexity's help center says that even when a page is blocked, some pages may still be indexed with only the domain, headline and a factual summary, without full or partial text. That note is written about news publishers, but it is a useful reminder: a Disallow line reduces what Perplexity can read, it does not guarantee your brand never appears.
And because Perplexity-User generally ignores robots.txt, a rule like this one may have little effect on user-requested fetches:
User-agent: Perplexity-User
Disallow: /
If you need to stop those fetches, do it at the firewall level, covered below.
How to block or allow it at the firewall
User agent strings are easy to fake. Perplexity recommends combining user agent matching with IP verification, and it publishes the current IP ranges as JSON:
- PerplexityBot: https://www.perplexity.ai/perplexitybot.json
- Perplexity-User: https://www.perplexity.ai/perplexity-user.json
Perplexity says these ranges are updated regularly and suggests automating periodic updates of your rules from those endpoints.
To block: create a firewall rule that matches the user agent and denies the request. Matching on IP as well lets you tell the real bot apart from scrapers that borrow its name.
To allow (the more common problem): many sites block Perplexity by accident through aggressive bot protection. Perplexity's own guidance for Cloudflare is to create a custom rule that matches the user agent and the published IP ranges, set the action to Skip, and place it above any rules that block or challenge requests. It notes that Cloudflare's Bot Fight Mode cannot be skipped with WAF custom rules. For AWS WAF, it suggests an IP set per bot and an Allow rule combining the IP set with a User-Agent string match, prioritized ahead of your blocking rules.
Should you block PerplexityBot?
Start with the question of what you want from AI search. Here is a simple way to decide.
Allow it if you rely on discovery: SaaS, ecommerce, local services, B2B, consultants, anyone who benefits when an AI answer recommends them with a link. Perplexity shows its sources prominently, so being crawlable is a precondition for being cited.
Block it if your content is your product (paywalled research, premium courses, licensed data) or you have a licensing position to protect. In that case, robots.txt plus a firewall rule is the honest setup, with Cloudflare's managed AI crawler rule as an extra layer if you are on Cloudflare.
Use a partial block if you want marketing pages cited but not gated or account areas. Disallow the private paths and leave the rest open.
Whatever you choose, be consistent across AI crawlers. A site that allows PerplexityBot but blocks every other AI search agent, or the other way round, usually got there by accident.
A 15 minute PerplexityBot audit
Run this once, then add it to your monthly technical check.
- Read your live robots.txt. Look for PerplexityBot, Perplexity-User, and any
User-agent: *block with broad Disallow rules that would catch it. - Check your CDN and WAF. Look for bot fight modes, AI crawler block toggles, or rate limits that challenge non-browser agents. These are the most common cause of accidental blocking.
- Search your logs. Filter for "PerplexityBot" and "Perplexity-User". Check response codes. A wall of 403 or 503 responses means you are blocking it, whatever robots.txt says.
- Verify the IPs. Compare a sample of requests against the published JSON ranges. Requests claiming to be PerplexityBot from other ranges are not the real bot.
- Test a real query. Ask Perplexity a question your best page answers well and see whether your site appears among the sources. Repeat in a few weeks after any change.
- Fix the basics. Answer engines can only cite pages that load fast, render without heavy client side scripts, and state the answer clearly near the top. A crawlable site matters more than any single bot rule. A technical SEO site audit is a good place to start.
Track the result, not just the rule
Changing robots.txt is easy. Knowing whether it changed anything is harder. Two signals help.
First, watch referral traffic from Perplexity in your analytics. If it drops to zero after a firewall change, you probably blocked more than you meant to.
Second, track whether AI answers actually mention your brand. VibeSEO's generative engine optimization tools check whether ChatGPT, Gemini, Google AI Overviews and Google AI Mode mention your brand, with share of voice, competitor comparison and the sources they cite. Perplexity is not in that list today, so use the manual test above for it, and use the tracked engines to see whether your overall AI visibility is moving. Pair that with Google Search Console tracking for classic rankings and impressions, since most AI answer engines still lean on pages that already perform in search.
Summary
- PerplexityBot builds Perplexity's search index and, per Perplexity, is not used for model training.
- Perplexity-User fetches pages for live user questions and generally ignores robots.txt.
- Block PerplexityBot with
User-agent: PerplexityBotandDisallow: /, and allow up to 24 hours for it to take effect. - For anything stricter, use firewall rules that combine user agent and the published IP ranges.
- If you want AI citations, the bigger risk is blocking Perplexity by accident through bot protection, not letting it in.
If you want one place to find topics, publish crawlable pages and see whether AI answers mention you, you can start with VibeSEO.
Frequently asked questions
What is PerplexityBot?
PerplexityBot is the crawler Perplexity uses to surface and link websites in its search results. Perplexity says it is not used to crawl content for AI foundation models.
How do I block PerplexityBot?
Add User-agent: PerplexityBot followed by Disallow: / to your robots.txt. Perplexity says changes can take up to 24 hours to take effect. For stricter control, add a firewall rule that matches the user agent and the published IP ranges.
Does Perplexity-User follow robots.txt?
Perplexity says Perplexity-User generally ignores robots.txt, because it fetches pages in response to a user request. To stop it, use firewall rules rather than robots.txt.
Does blocking PerplexityBot stop AI training on my content?
Perplexity says PerplexityBot does not scrape content for pre-training of LLMs, so blocking it is mainly a search visibility decision. It reduces what Perplexity can read and cite from your site.
How do I check if the real PerplexityBot is visiting my site?
Search your server logs for the PerplexityBot user agent and compare the request IPs against the ranges Perplexity publishes in its perplexitybot.json file. Requests from other IPs are not the real bot.