AI crawler guide

ChatGPT Robots.txt Rules

Practical robots.txt rules for GPTBot, OAI-SearchBot, and ChatGPT-User with allow/block examples.

Search intent

Users search ChatGPT-specific rules because OpenAI uses multiple crawler tokens.

Practical checklist

  • GPTBot is usually the token people block for training opt-out.
  • OAI-SearchBot is usually worth allowing if AI search visibility matters.
  • ChatGPT-User is user-triggered and may behave differently from scheduled crawling.

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