---
title: "PerplexityBot User Agent: What It Does & How to Block It"
description: "PerplexityBot (Perplexity): user agent string, robots.txt rules, IP verification and what blocking it does to SEO and AI visibility."
url: "https://justinha.info.vn/bots/ai-search/perplexitybot/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[AI Search Crawlers](https://justinha.info.vn/bots/ai-search/)

# PerplexityBot *user agent*

## Key Takeaways

- PerplexityBot is Perplexity's crawler that indexes pages so Perplexity can surface and link to them in its answers.
- PerplexityBot uses the operator-documented robots.txt token PerplexityBot.
- PerplexityBot has operator-documented robots.txt support; review the scope and exceptions before relying on a rule.

Operated by [Perplexity](https://justinha.info.vn/bots/company/perplexity/)

AI searchOfficial docs Allow

PerplexityBot is Perplexity's crawler that indexes pages so Perplexity can surface and link to them in its answers.

## What identifies PerplexityBot?

| Identifier | PerplexityBot |
| --- | --- |
| Identity type | Operator-documented crawler or fetcher |
| Evidence for this identity | Operator documentation linked below |
| robots.txt policy | Yes |
| Recorded User-Agent sample | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot) |

## What is PerplexityBot?

PerplexityBot builds the index behind Perplexity search results. Perplexity states it is not used to crawl content for training AI foundation models.

Blocking PerplexityBot removes pages from Perplexity’s index, so its answers can no longer cite them.

PerplexityBot is Perplexity's crawler that indexes pages so Perplexity can surface and link to them in its answers. [Source](https://docs.perplexity.ai/docs/resources/perplexity-crawlers).

For PerplexityBot, distinguish a crawl preference in robots.txt from server enforcement and removal of an already indexed page.

## Should you block PerplexityBot?

Consider allowing PerplexityBot when you use the associated service; verify identity, access requirements and server load first.

| Effect on search rankings | An AI search crawler is distinct from a conventional search engine crawler; check any documented shared roles. |
| --- | --- |
| Effect on AI visibility | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| Follows robots.txt | Yes |
| Recommendation | Allow |

## When does PerplexityBot visit your site?

PerplexityBot crawls on Perplexity's schedule to keep the index behind Perplexity search up to date. It does not wait for a user to ask about a page.

A page a user asks Perplexity about right now is fetched by Perplexity-User, not by PerplexityBot.

## Why did Perplexity create PerplexityBot?

Perplexity designed PerplexityBot to surface and link websites in Perplexity search results. Perplexity recommends allowing it and its published IP ranges for sites that want to appear in results.

Perplexity runs PerplexityBot separately from its other bots so a website can stay visible in Perplexity search while making a different choice about other uses.

## What PerplexityBot means for GEO

PerplexityBot controls whether Perplexity can retrieve and cite your pages when it answers. That is the GEO path that sends visible citations and visits.

| What changes | If you allow it | If you block it |
| --- | --- | --- |
| **Citations and links in Perplexity answers** | Pages can enter the index that Perplexity searches, so answers can cite and link them. | Pages leave that index, so Perplexity answers can no longer cite or link them. |
| **Referral visits from Perplexity** | Cited links can send visitors to the site. | No new referral visits from Perplexity search answers. |
| **Model training** | Perplexity states PerplexityBot is not used to crawl content for AI foundation models. | Perplexity states PerplexityBot is not used to crawl content for AI foundation models. |
| **Google and Bing rankings** | No effect. | No effect. |

## PerplexityBot vs other Perplexity bots

Perplexity runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.

| Bot | Job | robots.txt | If you block it |
| --- | --- | --- | --- |
| **PerplexityBot** | AI search | Yes | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| [Perplexity-User](https://justinha.info.vn/bots/ai-assistants/perplexity-user/) | AI assistant | Not for user-requested fetches | A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions. |

## Should your type of site allow PerplexityBot?

| News sites and publishers | Allow if Perplexity should cite and link articles. Block only paywalled sections. |
| --- | --- |
| E-commerce | Allow product, category and help pages so Perplexity can recommend and link them. Block cart, checkout and account paths. |
| SaaS and B2B | Allow. Documentation and comparison pages are what Perplexity cites when users compare tools. |
| Local businesses and services | Allow. Being citable in Perplexity is a low-cost way to be recommended for local questions. |

## Common mistakes with PerplexityBot

- Letting a CDN or security plugin block PerplexityBot by default. Check the server log for PerplexityBot requests that receive 403 responses.
- Blocking every Perplexity bot with one broad rule. Write a separate robots.txt group for each token.

## How do you block or allow PerplexityBot?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example ` https://example.com/robots.txt `. The token **PerplexityBot** is matched case-insensitively.

robots.txt: block

```
# Block PerplexityBot
User-agent: PerplexityBot
Disallow: /
```

robots.txt: allow

```
# Allow PerplexityBot
User-agent: PerplexityBot
Allow: /
```

robots.txt: partial

```
# Keep PerplexityBot out of private areas only
User-agent: PerplexityBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /
```

Nginx

```
# Nginx: return 403 to PerplexityBot
if ($http_user_agent ~* "(PerplexityBot)") {
    return 403;
}
```

Apache

```
# Apache .htaccess: return 403 to PerplexityBot
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (PerplexityBot) [NC]
RewriteRule .* - [F,L]
```

Cloudflare WAF

```
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "PerplexityBot")
```

## How can you verify PerplexityBot traffic?

Perplexity publishes the IP ranges that PerplexityBot uses. A request outside the current published list does not pass that IP check. Investigate before granting an exception.

[Official PerplexityBot IP ranges](https://www.perplexity.ai/perplexitybot.json)

## How do you find PerplexityBot in server logs?

Search the web server access log for the literal identifier. The command below counts candidate PerplexityBot requests per URL on Nginx or Apache.

```
grep -iF -- 'PerplexityBot' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20
```

For a full report per AI bot, upload the log to the [AI Log File Analyzer](https://justinha.info.vn/ai-log-file-analyzer-tool/), a free tool by Justin Hà.

## What user-agent string does PerplexityBot use?

A user-agent sample recorded in the cited source for PerplexityBot. Version numbers such as ` Chrome/W.X.Y.Z ` change over time, so match the token, not the whole string.

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

## PerplexityBot FAQ

Should I allow PerplexityBot for GEO?

Yes, if the site should be cited in Perplexity answers. PerplexityBot builds the index that Perplexity search draws on, so blocking it removes the site from those answers.

Does PerplexityBot use my content to train AI models?

Perplexity states PerplexityBot is not used to crawl content for AI foundation models.

What is the PerplexityBot user agent?

PerplexityBot identifies itself with the robots.txt token "PerplexityBot". A typical request header reads: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)

Does PerplexityBot respect robots.txt?

Perplexity states that PerplexityBot follows robots.txt rules. Check the documented scope and any exceptions on this profile.

Will blocking PerplexityBot hurt my SEO?

An AI search crawler is distinct from a conventional search engine crawler; check any documented shared roles. Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed.

How do I block PerplexityBot in robots.txt?

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: PerplexityBot" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

How can I verify a request really comes from PerplexityBot?

Yes. Perplexity publishes the IP ranges PerplexityBot uses. Check the request IP against that list; a source outside the current list does not pass that check. Investigate before granting an exception.

How do I see if PerplexityBot visits my website?

Search your server access log for "PerplexityBot", for example with: grep -i "PerplexityBot" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: [Perplexity crawler documentation](https://docs.perplexity.ai/docs/resources/perplexity-crawlers). Content updated November 27, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[Perplexity-User Perplexity AI assistant](https://justinha.info.vn/bots/ai-assistants/perplexity-user/)   [AddSearchBot AddSearch AI search](https://justinha.info.vn/bots/ai-search/addsearchbot/)   [AI Search External Cloudflare AI search](https://justinha.info.vn/bots/ai-search/cloudflare-ai-search-external/)   [AIWebIndex Lyrenth AI search](https://justinha.info.vn/bots/ai-search/aiwebindex/)   [Alphalens Bot Alphalens AI search](https://justinha.info.vn/bots/ai-search/alphalens-bot/)   [amazon-kendra Amazon AI searchProduct feature](https://justinha.info.vn/bots/ai-search/amazon-kendra/)

## See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
