AI crawler guide

Block AI Training Crawlers

Copy-paste robots.txt patterns for blocking AI training crawlers while leaving normal search traffic intact.

Search intent

Users want to opt out of model-training crawlers without accidentally disappearing from Google or Bing.

Practical checklist

  • Do not block Googlebot unless you want to affect normal Google Search.
  • Use Google-Extended for Google's AI training controls rather than Googlebot.
  • Separate training, search, and user-triggered bot groups in your file.

Copy-paste starter pattern

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: Claude-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Perplexity-User
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: Applebot-Extended
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: Bytespider
Disallow: /

User-agent: FacebookBot
Disallow: /

User-agent: Amazonbot
Disallow: /

User-agent: cohere-ai
Disallow: /

User-agent: *
Allow: /

Sitemap: https://example.com/sitemap.xml

Related crawler pages