-
Home
-
User Agent Directory
- PerplexityBot
PerplexityBot
What is PerplexityBot?
PerplexityBot is the web crawler used by Perplexity AI, an AI-powered search and answer engine that provides direct answers to user queries with cited sources. The bot crawls web content to maintain an up-to-date index that powers Perplexity's conversational search experience. Unlike traditional search engines that return lists of links, Perplexity uses the content gathered by this bot to generate comprehensive answers with proper attribution. The crawler respects robots.txt directives and follows responsible crawling practices. For publishers, PerplexityBot represents an opportunity to have their content featured in AI-generated answers with proper citation, potentially driving traffic through source attribution.
User Agent String
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/bot)
How to Control PerplexityBot
Block Completely
To prevent PerplexityBot from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify PerplexityBot
Check for Perplexity AI IP ranges and user agent
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect PerplexityBot in your application:
Basic Pattern
/PerplexityBot/i
Strict Pattern
/^Mozilla/5\.0 AppleWebKit/537\.36 \(KHTML, like Gecko; compatible; PerplexityBot/1\.0; \+https\://perplexity\.ai/bot\)$/
Flexible Pattern
/PerplexityBot[\s\/]?[\d\.]*?/i
Vendor Match
/.*Perplexity AI.*PerplexityBot/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Allow | Essential for product visibility in search results |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Allow | Improves documentation discoverability for developers |
| Corporate Site | Allow | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
PerplexityBot
Robots.txt Name
PerplexityBot
Category
ai, search
Respects robots.txt
Yes