How to Block PerplexityBot in robots.txt

Exact robots.txt syntax to block PerplexityBot from crawling your site for Perplexity AI's search index.

robots.txt Syntax — Block PerplexityBot

COPY-PASTE READY
User-agent: PerplexityBot
Disallow: /

What This Does

Blocking PerplexityBot prevents your content from being used in AI training datasets. This does not remove existing knowledge — it only prevents future crawling. Content already in training datasets before you add this block is not retroactively removed.

Validate your robots.txt live — check AI bot coverage and get a corrected file.

Open robots.txt Validator →

Related Guides