GPTBot
AI training crawlerOpenAI's web crawler for collecting training data. Content fetched by GPTBot may be used to train and improve OpenAI's foundation models, such as the GPT series.
| Operator | OpenAI |
| Type | AI training crawler |
| Respects robots.txt | Yes (documented) |
| Documentation | Official operator documentation |
What OpenAI documents about GPTBot
- GPTBot and OAI-SearchBot are separate settings: you can allow OAI-SearchBot to appear in ChatGPT search while disallowing GPTBot for training. If both are allowed, OpenAI may use one crawl for both uses.
- When it fetches robots.txt, GPTBot may add a robots.txt marker to its user-agent string, so you can tell those requests apart in logs without paths.
- The version number in the user-agent string changes over time, so match on the GPTBot token.
Checked against the OpenAI documentation on 10 November 2026.
GPTBot and other OpenAI bots
OpenAI runs 4 bots and controls in this directory, each with its own robots.txt rule: GPTBot (AI training crawler), ChatGPT-User (AI assistant fetcher), OAI-SearchBot (AI search indexer), OAI-AdsBot (ads landing-page checker). Allowing or blocking one does not change the others.
| Bot | Type | robots.txt token | Respects robots.txt |
|---|---|---|---|
| GPTBot | AI training crawler | GPTBot | Yes (documented) |
| ChatGPT-User | AI assistant fetcher | ChatGPT-User | Partially |
| OAI-SearchBot | AI search indexer | OAI-SearchBot | Yes (documented) |
| OAI-AdsBot | Ads landing-page checker | OAI-AdsBot | Not documented |
GPTBot user-agent string
This is how GPTBot identifies itself in your server logs:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbotHow to block GPTBot in robots.txt
Add this to the robots.txt file at the root of your site:
Block GPTBot
User-agent: GPTBot
Disallow: /Explicitly allow GPTBot
User-agent: GPTBot
Allow: /What blocking changes: Your content is excluded from OpenAI's future training crawls. This does not affect whether ChatGPT can browse your site live (that is ChatGPT-User) or whether you appear in ChatGPT search (that is OAI-SearchBot).
Want to decide for all AI bots at once? Use the AI robots.txt generator.
How to whitelist GPTBot
To whitelist GPTBot, add "User-agent: GPTBot" followed by "Allow: /" to your robots.txt and remove any rule that disallows it. Then allow the IP ranges the operator publishes at https://openai.com/gptbot.json in your firewall, WAF or CDN, so firewall rules do not turn it away. Matching on IP is safer than matching on the user agent, which anyone can fake.
- In robots.txt, add a
User-agent: GPTBotgroup withAllow: /, and check that no broaderUser-agent: *rule or other group disallows the paths you want crawled. - In your firewall, WAF or CDN bot settings, allow the IP ranges OpenAI publishes at openai.com/gptbot.json. The list changes, so load it from that URL rather than copying the ranges once.
- On Cloudflare, add those ranges to an IP list (for example one named
gptbot). Under Security rules, create a custom rule with the expressionip.src in $gptbot, choose the Skip action and select what it skips, such as all Super Bot Fight Mode rules and all rate limiting rules. Cloudflare notes that a skip rule cannot skip Bot Fight Mode, the bot setting on the Free plan. The list does not follow the URL by itself, so update it whenever the ranges published there change. - Check your server logs for GPTBot requests that return 200. Requests that get 403, 429 or a challenge page mean a firewall rule still blocks it.
Other ai training crawlers
- ClaudeBot (Anthropic)
- Google-Extended (Google)
- Applebot-Extended (Apple)
- Meta-ExternalAgent (Meta)
- Bytespider (ByteDance)
- CCBot (Common Crawl)
Is OpenAI sending you visitors?
Glyphex classifies AI referral traffic from ChatGPT, Perplexity, Claude, Gemini and more. See which assistants cite your pages and what those visitors do.
See your AI traffic