Bots by company

OpenAI bots and crawlers

OpenAI operates ChatGPT and the GPT models. It runs separate bots for training, for ChatGPT search, for user-requested fetches and for ads.

OpenAI bots at a glance

  • OpenAI runs 5 bots listed in this directory.
  • They belong to: AI Agents, AI Assistant Fetchers, AI Training Crawlers, Ads and Platform Fetchers, AI Search Crawlers.
  • Each OpenAI bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
  • Website: openai.com

Every OpenAI bot

BotGroupPurposerobots.txtFor GEO
ChatGPT AgentAI AgentsAI agentReportedYesAllow
ChatGPT-UserAI Assistant FetchersAI assistantOfficial docsNot for user-requested fetchesAllow
GPTBotAI Training CrawlersAI trainingOfficial docsYesYour choice
OAI-AdsBotAds and Platform FetchersAdsOfficial docsNot documentedAllow
OAI-SearchBotAI Search CrawlersAI searchOfficial docsYesAllow

Block or allow all OpenAI bots

The rules below name every OpenAI token in this directory. To block training but keep AI search, delete the search and assistant tokens from the block rule.

robots.txt: block

# Block all OpenAI bots
User-agent: ChatGPT Agent
User-agent: ChatGPT-User
User-agent: GPTBot
User-agent: OAI-AdsBot
User-agent: OAI-SearchBot
Disallow: /

robots.txt: allow

# Allow all OpenAI bots
User-agent: ChatGPT Agent
User-agent: ChatGPT-User
User-agent: GPTBot
User-agent: OAI-AdsBot
User-agent: OAI-SearchBot
Allow: /

robots.txt: partial

# Keep all OpenAI bots out of private areas only
User-agent: ChatGPT Agent
User-agent: ChatGPT-User
User-agent: GPTBot
User-agent: OAI-AdsBot
User-agent: OAI-SearchBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /

Nginx

# Nginx: return 403 to all OpenAI bots
if ($http_user_agent ~* "(ChatGPT Agent|ChatGPT\-User|GPTBot|OAI\-AdsBot|OAI\-SearchBot)") {
    return 403;
}

Apache

# Apache .htaccess: return 403 to all OpenAI bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (ChatGPT Agent|ChatGPT\-User|GPTBot|OAI\-AdsBot|OAI\-SearchBot) [NC]
RewriteRule .* - [F,L]

Cloudflare WAF

# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "ChatGPT Agent") or (http.user_agent contains "ChatGPT-User") or (http.user_agent contains "GPTBot") or (http.user_agent contains "OAI-AdsBot") or (http.user_agent contains "OAI-SearchBot")

See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp