AI search

PerplexityBot

Indexes websites so they can be surfaced and linked in Perplexity search answers. Not used for training.

AI search: Indexes content for AI search and answers, with links back. Allow it if you want traffic from AI search engines.

Company
Perplexity · website
User-agent contains
PerplexityBot
robots.txt token
PerplexityBot · Respects robots.txt
Official IP ranges
21 ranges · source · updated 2026-12-02
Documentation
Official docs
Sources
docs.perplexity.ai
Added · verified
2026-12-02 · 2026-12-02

Block PerplexityBot

robots.txt
User-agent: PerplexityBot
Disallow: /
nginx (in the http block, then: if ($ai_bot) { return 403; })
map $http_user_agent $ai_bot {
    default 0;
    "~*PerplexityBot" 1;
}
Apache / .htaccess
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (PerplexityBot) [NC]
    RewriteRule .* - [F,L]
</IfModule>
Cloudflare WAF expression
(lower(http.user_agent) contains "perplexitybot")

Want to block more bots at once? Use the generator.

Example user-agent

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)

Other Perplexity bots

Something wrong or out of date? Edit this bot on GitHub or report a change.