WebmasterID logoWebmasterID
Robots & crawl control

How to block PerplexityBot in robots.txt

If you do not want Perplexity's indexing crawler fetching your site, you can disallow PerplexityBot in robots.txt. This page gives the exact rule, clarifies it does not cover Perplexity-User (the real-time, user-triggered fetch), and stays honest about the limits of robots-based blocking.

Verified against primary sources

The rule

Add this group to disallow PerplexityBot across the whole site:

User-agent: PerplexityBot Disallow: /

To block only part of the site, list specific paths instead of /, and use Allow to carve out exceptions.

What it does and does not affect

This rule targets only the PerplexityBot token, which Perplexity uses for indexing public pages for its answer engine. It does not affect Perplexity-User, the separate token Perplexity uses when a person asks it to read a specific page in real time. If you want to restrict that behaviour too, target Perplexity-User in its own group.

The rule has no effect on crawlers from other companies — each is controlled by its own token.

The limits

robots.txt is honoured by compliant crawlers but cannot force compliance, and a disallow does not retroactively remove content already indexed. Treat it as a forward-looking request. Where authenticity matters, rely on Perplexity's published verification guidance rather than the user agent alone.

How it appears in analytics and logs

After adding a PerplexityBot Disallow, compliant PerplexityBot requests to blocked paths should stop. Continued requests claiming to be PerplexityBot warrant checking against Perplexity's published guidance.

Diagnostic use case

Disallow PerplexityBot site-wide or on specific paths while leaving Perplexity-User and other crawlers governed by their own tokens.

What WebmasterID can help detect

WebmasterID shows PerplexityBot crawl activity before and after the change, so you can confirm the block took effect for the compliant crawler and flag any client ignoring it.

Common mistakes

Privacy and accuracy notes

Blocking PerplexityBot is a publishing-policy choice expressed in a public file. It is not a privacy or access-control mechanism.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.