AI crawler guide
PerplexityBot and Perplexity-User: What Each Does
Perplexity uses two user agents. PerplexityBot builds the search index that Perplexity draws on, and Perplexity-User visits a page when a person asks a question that needs it. They behave differently, so allow each one deliberately and test the real response from your server.
What Each Perplexity Bot Does
PerplexityBot is the indexing bot, so blocking it can keep your pages out of Perplexity's search results. Perplexity-User is a user-triggered fetcher that opens a page during a live question.
| User agent | Used for | Common choice |
|---|---|---|
| PerplexityBot | Building the index that Perplexity search draws on | Allow, if you want to appear in Perplexity results |
| Perplexity-User | Visiting a page when a person's question needs it | Allow in your firewall, so people can open your pages |
These descriptions follow Perplexity's published bot documentation, which can change. That page also explains how each bot treats robots.txt and whether it publishes IP address lists. Read it before you write firewall rules.
How to Allow Both Bots
To allow both, add a group for each bot to robots.txt. Allowing them in robots.txt is only the first layer, because a firewall can still block them.
User-agent: PerplexityBot
Allow: /
User-agent: Perplexity-User
Allow: /Why a Firewall Can Block Perplexity Even When robots.txt Allows It
robots.txt is a request, while your firewall or CDN decides what a bot actually receives. Bot-protection rules, rate limits and challenge pages can return a 403 or 429 to AI crawlers even when robots.txt says yes.
Read robots.txt
Confirm that neither bot is disallowed and that no User-agent: * group blocks the whole site.
Check your CDN and firewall
Look for bot-protection or managed rules that challenge or block these user agents, and allow the ones you want.
Test as the bot
Run the free GeoLint audit to see what robots.txt says and what the server returns for each AI search bot.
For the access basics across all AI crawlers, read robots.txt for AI bots.
How Each Perplexity Bot Treats robots.txt
The two bots are not treated the same way. Perplexity says PerplexityBot is used to surface and link sites in its search results and is not used to crawl content for AI foundation models. Perplexity-User supports a person's question, and because a person asked for the fetch, Perplexity says it generally ignores robots.txt rules.
In practice that means a Disallow line aimed at Perplexity-User may not stop it, and a firewall rule is the only control you have over it. Perplexity also notes that each setting works independently, and changes can take up to 24 hours to take effect, so wait before concluding a change did not work.
Allowing Perplexity in Cloudflare or Another Firewall
If a firewall is blocking Perplexity, the fix is an allow rule that matches both the user agent and the published IP ranges, so that a faker using the same name is not let through. Perplexity publishes address lists for both bots as JSON files, and its guide recommends treating the current files as the source of truth.
- PerplexityBot: https://www.perplexity.com/perplexitybot.json
- Perplexity-User: https://www.perplexity.com/perplexity-user.json
Open your firewall rules
In Cloudflare this is a custom rule under Security. In AWS WAF it is an IP set plus a string match rule.
Match the user agent and the IP range
Match a user agent containing PerplexityBot or Perplexity-User, and a source address inside the ranges from the matching JSON file.
Set the action to Allow and give it priority
Place the rule above any rule that blocks or challenges bots, or the block will win first.
Refresh the ranges on a schedule
The address lists change, so update the rule periodically rather than pasting the ranges once.
How to Detect Perplexity Bots in Your Logs
Both bots include their name in the User-Agent header, so the access log shows when they visited and what they received.
# Every Perplexity bot request
grep -iE "PerplexityBot|Perplexity-User" access.log
# Status codes returned to PerplexityBot
grep -i "PerplexityBot" access.log | awk '{print $9}' | sort | uniq -cCompare the IP address on a suspicious request with the two JSON lists above. A request that carries the right name from an address outside the lists is not Perplexity, and you can treat it like any other unknown bot.
Common Mistakes That Keep Perplexity Out
Most sites that Perplexity cannot reach are caught by one of five mistakes, and the firewall one is the most common because it hides behind a correct robots.txt.
- Allowing PerplexityBot in robots.txt but leaving a firewall rule that challenges it.
- Writing a Disallow for Perplexity-User and expecting it to stop user-requested visits.
- Allowing the user agent only, without the IP ranges, in a firewall that checks both.
- Pasting the IP ranges once and never updating them.
- Judging the result before the change has had time to take effect.
PerplexityBot: Common Questions
Is PerplexityBot used to train AI models?
Perplexity says PerplexityBot is used to surface and link websites in its search results and is not used to crawl content for AI foundation models. Check its current bot documentation, since the policy can change.
Does Perplexity-User obey robots.txt?
Perplexity says that because a person requested the fetch, Perplexity-User generally ignores robots.txt rules. If you need to control it, use a firewall rule.
Where can I find the Perplexity IP address list?
Perplexity publishes JSON files for both bots: perplexitybot.json and perplexity-user.json on perplexity.com. Use the current files when you write a firewall allow rule.
Does blocking PerplexityBot remove me from Perplexity?
It can. PerplexityBot builds the index that Perplexity search draws on, so blocking it can keep your pages from appearing in results. Check Perplexity's current documentation for exactly how it is used.
What is Perplexity-User?
Perplexity describes Perplexity-User as the agent that visits a page when a person's question needs it. Because a person triggers it, Perplexity's documentation explains how it treats robots.txt, so read that page for the current rule.
How do I test if Perplexity can read my website?
Test two layers: what robots.txt says and what your server actually returns to the bot. GeoLint checks both and also tests whether your text is in the HTML without JavaScript.
Check your own website for free
GeoLint asks each AI search bot for your page, loads it with and without JavaScript and shows what is blocking you. It is free, needs no signup and takes about 20 seconds.