Prebaked
Crawler

PerplexityBot

Last reviewed

PerplexityBot is Perplexity's crawler. Perplexity documents that it is used to surface and link websites in Perplexity's search results, and that it is not used for training. Fetches made for a user's request come from Perplexity-User.

PerplexityBot at a glance
OperatorPerplexity
TypeAI crawler or assistant
User agent containsPerplexityBot
PurposeSurfaces and links websites in Perplexity search results. Not used for training.
robots.txtFollows robots.txt. (source)
Runs JavaScriptNot documented by the operator
How to verify itIP ranges published at www.perplexity.ai/perplexitybot.json
Official documentationdocs.perplexity.ai/guides/bots

What it sees on a JavaScript site

A study by Vercel and MERJ, published in December 2024, found that PerplexityBot did not render JavaScript. It downloads the HTML your server sends and reads that. The operator itself does not document this, and a crawler can change at any time.

On a client-rendered app (React, Vue or a Vite single page app) the HTML response is often a shell: a title, a script tag and an empty <div id="root">. If your content only appears after the scripts run, PerplexityBot reads little or nothing of it.

How to allow or block it in robots.txt

Perplexity documents that PerplexityBot follows robots.txt. Its token is PerplexityBot. Blocking it means your pages are not surfaced in Perplexity search results.

# Block PerplexityBot from the whole site
User-agent: PerplexityBot
Disallow: /

# Or allow it everywhere
User-agent: PerplexityBot
Allow: /

robots.txt controls whether a bot may fetch a page. It does not change what the bot sees once it fetches it. For the full syntax, see robots.txt.

How Prebaked serves it

Your Prebaked integration looks at the User-Agent header of each request. When it contains PerplexityBot, the request gets the rendered HTML of your page from Prebaked: the same content a visitor sees after the scripts run. Every other visitor gets your site directly. Prebaked does not change the content for crawlers. The visit shows up in your request log, marked as verified when the IP check passes.

To see what a bot that does not run JavaScript gets from your page, run the free checker. The full list of bots Prebaked serves is on Crawlers.

Can AI search cite your site? Check it free

FAQ

Does PerplexityBot run JavaScript?

Perplexity does not document it. The Vercel and MERJ study (December 2024) found that PerplexityBot did not render JavaScript, so content added by scripts is not part of what it read.

How do I block PerplexityBot in robots.txt?

Add a group with User-agent: PerplexityBot and Disallow: /. Perplexity documents that PerplexityBot follows robots.txt.

Is PerplexityBot used to train models?

Perplexity documents that PerplexityBot is not used for training. It is used to surface and link websites in Perplexity search results.

How can I tell if a visit is really from PerplexityBot?

Anyone can send a user agent that says PerplexityBot. Check the request IP against the IP ranges the operator publishes, listed in the table above. Prebaked does this for you and marks matching visits as verified in your request log.