PerplexityBot
AI search indexerPerplexity's crawler for building the search index behind its AI answer engine. Perplexity states it is used for search indexing and not for training foundation models.
| Operator | Perplexity |
| Type | AI search indexer |
| Respects robots.txt | Yes (documented) |
| Documentation | Official operator documentation |
What Perplexity documents about PerplexityBot
- Perplexity says PerplexityBot is not used to crawl content for AI foundation models.
- To appear in Perplexity search results, Perplexity recommends allowing PerplexityBot in robots.txt and allowing requests from its published IP ranges.
- Perplexity's WAF guidance matches each bot's user agent together with that bot's own IP ranges, and the rule needs updating when the published ranges change.
Checked against the Perplexity documentation on 12 November 2026.
PerplexityBot and other Perplexity bots
Perplexity runs 2 bots and controls in this directory, each with its own robots.txt rule: PerplexityBot (AI search indexer), Perplexity-User (AI assistant fetcher). Allowing or blocking one does not change the others.
| Bot | Type | robots.txt token | Respects robots.txt |
|---|---|---|---|
| PerplexityBot | AI search indexer | PerplexityBot | Yes (documented) |
| Perplexity-User | AI assistant fetcher | Perplexity-User | Partially |
PerplexityBot user-agent string
This is how PerplexityBot identifies itself in your server logs:
Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)How to block PerplexityBot in robots.txt
Add this to the robots.txt file at the root of your site:
Block PerplexityBot
User-agent: PerplexityBot
Disallow: /Explicitly allow PerplexityBot
User-agent: PerplexityBot
Allow: /What blocking changes: Your site is excluded from Perplexity's index and its cited answers, cutting off Perplexity referral traffic.
Want to decide for all AI bots at once? Use the AI robots.txt generator.
How to whitelist PerplexityBot
To whitelist PerplexityBot, add "User-agent: PerplexityBot" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then allow the IP ranges the operator publishes at https://www.perplexity.ai/perplexitybot.json in your firewall, WAF or CDN, so firewall rules do not turn it away. Matching on IP is safer than matching on the user agent, which anyone can fake.
- In robots.txt, add a
User-agent: PerplexityBotgroup withAllow: /, and check that no broaderUser-agent: *rule or other group disallows the paths you want crawled. - In your firewall, WAF or CDN bot settings, allow the IP ranges Perplexity publishes at www.perplexity.ai/perplexitybot.json. The list changes, so load it from that URL rather than copying the ranges once.
- On Cloudflare, add those ranges to an IP list (for example one named
perplexitybot). Under Security rules, create a custom rule with the expressionip.src in $perplexitybot, choose the Skip action and select what it skips, such as all Super Bot Fight Mode rules and all rate limiting rules. Cloudflare notes that a skip rule cannot skip Bot Fight Mode, the bot setting on the Free plan. The list does not follow the URL by itself, so update it whenever the ranges published there change. - Check your server logs for PerplexityBot requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.
Other ai search indexers
- OAI-SearchBot (OpenAI)
- Claude-SearchBot (Anthropic)
- Googlebot (Google)
- Bingbot (Microsoft)
- Applebot (Apple)
- YouBot (You.com)
Is Perplexity sending you visitors?
Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.
See your AI traffic