AI Crawler & Search robots.txt Policy Generator

Generate a clean robots.txt file with separate controls for search indexing, AI search citations, and AI training bots.

Inputs

Configure search engine rules alongside explicit policies for GPTBot, ClaudeBot, and PerplexityBot.

Generated robots.txt

Ready to copy or download. Runs 100% in your browser.

User-agent: *
Allow: /
Disallow: /admin/
Disallow: /api/
Disallow: /cart/
Disallow: /checkout/

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: ClaudeBot
Allow: /

Sitemap: https://example.ca/sitemap.xml
  • Upload to your domain root at /robots.txt.

Common questions

Can I allow AI search citations while blocking model training?

Yes. Allow OAI-SearchBot and PerplexityBot while disallowing GPTBot and CCBot.

Where must robots.txt live?

Always serve robots.txt at the exact root path of your domain, such as https://yourdomain.ca/robots.txt.