# PerplexityBot Explained: How to Allow It Safely

If you want your pages to appear in Perplexity's answers, you need to understand PerplexityBot. It's the crawler Perplexity uses to find and fetch public web pages, and a few settings decide whether it can reach yours.

## What PerplexityBot does

**PerplexityBot** is Perplexity's search crawler. It discovers and fetches pages so they can be surfaced and linked in Perplexity search results. According to [Perplexity's crawler documentation](https://docs.perplexity.ai/docs/resources/perplexity-crawlers), the crawler is separate from the bots used to collect training data for its models, and its stated purpose is search indexing.

The crawler identifies itself with the `PerplexityBot` token. A typical user-agent string looks like this:

```text
Mozilla/5.0 (compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)
```

The version number can change, so write your access rules against the stable `PerplexityBot` token, not an exact copy of the full string.

Allowing the crawler lets Perplexity discover and index your public pages. It doesn't guarantee that those pages will be indexed, shown, cited, or clicked. Visibility in AI answers depends on many factors, and no crawler setting can promise a placement.

## Allow it in robots.txt

The simplest approach is a rule in your root `robots.txt` file, which must be reachable at a URL like `https://example.com/robots.txt`:

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

To keep private areas closed while opening the public site, list the sensitive paths explicitly:

```text
User-agent: PerplexityBot
Disallow: /admin/
Disallow: /account/
Disallow: /checkout/
Allow: /
```

To open only one section, such as a blog, use:

```text
User-agent: PerplexityBot
Allow: /blog/
Disallow: /
```

Path rules need care. A restrictive line can block pages you meant to make discoverable, so test them after you publish. Under the [robots.txt standard (RFC 9309)](https://www.rfc-editor.org/rfc/rfc9309), crawlers generally apply the most specific matching rule, which is why the `Allow: /blog/` line works alongside `Disallow: /`.

If your site already has a general `User-agent: *` group that allows everything, PerplexityBot is already permitted. A dedicated group is still useful when you want the policy documented or managed separately. Avoid creating several conflicting groups for the same crawler, because they make the intended policy hard to read.

## Check for blocks above robots.txt

A permissive `robots.txt` doesn't help if another layer stops the request. Review these settings:

- Web application firewall rules
- CDN bot-management settings
- Hosting-provider security rules
- Rate limits
- Authentication middleware
- IP allowlists and reverse-proxy rules

Watch for `403`, `401`, `429`, and repeated timeouts. Each one can stop the crawler even when your `robots.txt` is correct. A [2026 access test covered in this DEV Community write-up](https://dev.to/sarathkavuru/ai-crawler-access-test-37-of-577-ai-tool-sites-allow-perplexitybot-in-robotstxt-but-return-403-gmi) reported that 37 of 577 AI tool sites allowed PerplexityBot in `robots.txt` but still returned `403` to it. Test the actual responses, not just the file.

Perplexity also publishes the IP ranges its crawlers use. The current IPv4 prefixes are in its official feed at `https://www.perplexity.ai/perplexitybot.json`. Because these ranges change, fetch the list from the source instead of hard-coding an old copy. [IPQuery's PerplexityBot listing](https://ipquery.io/crawlers/perplexitybot) is a useful reference for how these ranges are tracked over time.

Don't rely on the user-agent header alone. Anyone can send a request that claims to be PerplexityBot. For security decisions, compare the connecting IP address against Perplexity's official list.

## How to verify access

After you publish the rule, work through these steps:

1. Open `https://yourdomain.com/robots.txt` in a browser.
2. Confirm that it loads publicly and returns HTTP `200`.
3. Check that it's plain text and contains the directives you intended.
4. Review access logs for requests mentioning `PerplexityBot`.
5. Confirm that those requests come from IP addresses in Perplexity's official list.
6. Make sure your CDN or firewall isn't returning `403` or `429`.
7. Test key pages with a normal request.

Two quick command-line checks help:

```bash
curl -I https://example.com/robots.txt
```

```bash
curl -A "PerplexityBot" -I https://example.com/article
```

The second command shows only how your server responds to the declared user-agent. It doesn't prove the request came from Perplexity. Verifying identity requires checking the source IP.

## Does PerplexityBot respect robots.txt?

Perplexity's [help center article on robots.txt](https://www.perplexity.ai/help-center/en/articles/10354969-how-does-perplexity-follow-robots-txt) states that PerplexityBot does not index full or partial text from sites that disallow it in `robots.txt`, and that the crawler operates in compliance with it.

That policy covers the declared PerplexityBot crawler. Keep monitoring your logs and edge security tools anyway, because a user-agent string isn't reliable proof of identity.

## PerplexityBot versus Perplexity-User

These two identifiers serve different purposes:

| Identifier | Main role | Typical control |
|---|---|---|
| `PerplexityBot` | Crawls to discover and surface pages in Perplexity search | `robots.txt`, firewall rules, IP verification |
| `Perplexity-User` | Fetching tied to a user request or agent-style retrieval | Review separately; don't assume the same policy applies |

Don't assume that allowing one covers the other. Check your logs for both.

## Common mistakes

- **Blocking all bots globally.** A `User-agent: *` group with `Disallow: /` blocks PerplexityBot unless a more specific group allows it.
- **Allowing it in robots.txt but blocking it at the edge.** A firewall or CDN rule can override your intent.
- **Hard-coding old IP addresses.** Ranges change, so use the official feed.
- **Trusting the user-agent string.** Verify the source IP before making security decisions.
- **Skipping the test.** A rule you never checked may not work as expected.

## Making your content easy to find

Allowing PerplexityBot is only the first step. The pages it can reach still need to answer questions clearly and directly. Content that states the answer early, uses plain language, and stays current is easier for any answer engine to use.

Measuring where AI engines actually mention you is harder. Tools such as Terradium, a GEO and AEO content platform, pair answer-ready writing with AI Visibility tracking across ChatGPT, Perplexity, Google AI Overviews, and Gemini. Plans start at $29 per month. Read that tracking as directional trends, since AI answers vary from one query to the next, and no tool can guarantee a placement.

## Conclusion

To allow PerplexityBot, add a `User-agent: PerplexityBot` group with the paths you want open, then confirm that your firewall, CDN, and hosting layers aren't blocking it. Verify real traffic by checking source IPs against Perplexity's official list, not just the user-agent string. Confirm the results with a few simple tests and a review of your logs. Once access is in place, your job is to keep your public pages clear, accurate, and easy to quote.