AI crawler profile
GPTBot: OpenAI's training crawler and what blocking it changes
User-agent string to match in robots.txt and server logs: GPTBot
Operator
OpenAI
Purpose
AI model training
robots.txt
Respects robots.txt
Official docs
Who blocks GPTBot — our study of 10,000 top sites
15.3%
block it by name (805 of 5,250 sites with a robots.txt)
22.1%
mention GPTBot in robots.txt at all
#3
most-blocked of the 28 AI agents we track
Sites that block it by name include facebook.com, fbcdn.net, instagram.com, linkedin.com, amazon.com, whatsapp.net, tiktok.com, whatsapp.com. Methodology and full results (checked 2026-11-11).
GPTBot is OpenAI's crawler for collecting web content that may be used to train its generative AI foundation models. OpenAI documents it on its crawler overview page, publishes its IP ranges, and says a robots.txt disallow for GPTBot signals that your site's content should not be used for that training. It does not decide whether you show up in ChatGPT's search answers. That job belongs to a different agent, OAI-SearchBot.
The exact user-agent string
OpenAI lists this as an example of GPTBot's full user agent, and warns that the version number may change:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot
Two practical consequences:
- Match on the
GPTBottoken in robots.txt and in firewall or log rules, not on the whole string. A rule written againstGPTBot/1.0silently stops matching when the version moves. - OpenAI says that when it fetches robots.txt it may append a
robots.txtmarker to the user agent. If your logs show GPTBot hits with that marker and no path, those are permission checks, not page crawls.
What it feeds, and what it does not
OpenAI runs three agents that site owners regularly mix up. Its documentation describes the controls as independent:
| Agent | What OpenAI says it does | What a robots.txt block changes |
|---|---|---|
| GPTBot | Crawls content that may be used to train generative AI foundation models | Signals your content should not be used for that training |
| OAI-SearchBot | Surfaces sites in ChatGPT's search features | Keeps you out of ChatGPT search answers, though OpenAI says you can still appear as a navigational link |
| ChatGPT-User | Fetches a page when a user's request triggers it | Not used for automatic crawling; OpenAI says it does not decide search inclusion |
OpenAI also notes that if a site allows both GPTBot and OAI-SearchBot, it may use a single crawl for both purposes. So a low GPTBot request count does not mean training is blocked, and a GPTBot request does not mean you are being added to search.
For the side-by-side detail see GPTBot vs OAI-SearchBot and GPTBot vs ChatGPT-User.
How to verify a request really came from GPTBot
Anyone can put "GPTBot" in a user-agent header. OpenAI's verification method is an IP allowlist: it publishes GPTBot's ranges at openai.com/gptbot.json, separate from the files for OAI-SearchBot and ChatGPT-User.
When we checked the file on 11 November 2026 it had a creationTime of 2026-09-22 and listed 18 IPv4 CIDR blocks, each as an ipv4Prefix entry. The file changes over time, so fetch it on a schedule rather than copying the ranges once. OpenAI's crawler page does not document reverse-DNS hostnames for GPTBot, so the JSON file is the check to rely on. A request that claims to be GPTBot from an address outside those ranges is not OpenAI's crawler, and you can treat it like any other unidentified scraper.
The AI bot log analyzer can help you separate GPTBot hits from the rest of your traffic before you decide on a rule.
A short history
OpenAI published GPTBot's documentation in August 2023; the Reuters Institute dates the release of OpenAI's crawlers to 7 August 2023. According to The Register's report at the time, the documentation said pages crawled with GPTBot "may potentially be used to improve future models" and that crawled pages were filtered to remove sources that require paywall access, sources known to gather personally identifiable information, and text that violates OpenAI's policies.
Publishers responded quickly. The Reuters Institute looked at archived robots.txt files for the 15 most-used news sites in each of ten countries and found that 48% were blocking OpenAI's crawlers by the end of that year. That figure counts a site as blocking if it disallowed GPTBot, ChatGPT-User, or all crawlers, so it is not a GPTBot-only number.
A separate, informal Reuters Institute test from November 2023 found that ChatGPT's answers about blocked news sites were inconsistent: for some sites it said it could not access them, while for three sites that blocked both bots it still returned headlines. The author notes it was not academic research and reflected only the situation at the time of writing.
robots.txt recipes for the decisions GPTBot raises
Opt out of training but stay visible in ChatGPT search:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
Keep the public site trainable but exclude one section, such as member content or a paid archive:
User-agent: GPTBot
Disallow: /members/
Disallow: /archive/
OpenAI says search-related robots.txt changes can take about 24 hours to take effect. It does not give a separate figure for GPTBot.
Things a GPTBot block does not cover
- Common Crawl. OpenAI's documentation for GPTBot does not say anything about third-party datasets. If your concern is model training in general, look at CCBot as well; GPTBot vs CCBot covers the difference.
- Other companies' training crawlers. Each operator has its own token. Compare GPTBot and ClaudeBot, or use the AI robots.txt generator to set every training crawler at once.
- The business decision. Opting out of training is a trade-off, not a technical fix; the should you block AI bots guide walks through it, and how to block ChatGPT from your website covers every OpenAI agent in one place.
Copy-paste rules for GPTBot
User-agent: GPTBot Disallow: /
User-agent: GPTBot Allow: /
Server and CDN rules (nginx, Apache, Cloudflare, log grep)
if ($http_user_agent ~* "GPTBot") {
return 403;
}RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} GPTBot [NC]
RewriteRule .* - [F,L](http.user_agent contains "GPTBot")
grep -i "GPTBot" /var/log/nginx/access.log | wc -l
Check your live robots.txt with the AI Crawler Access Checker, or count real GPTBot hits with the AI Bot Log Analyzer.
Sources
Frequently asked questions
Does blocking GPTBot remove my site from ChatGPT search results?
No. OpenAI says GPTBot and OAI-SearchBot are controlled independently. GPTBot governs whether your content may be used to train foundation models; OAI-SearchBot governs whether your pages can appear in ChatGPT's search answers. You can block one and allow the other.
What is the current GPTBot user-agent string?
OpenAI's crawler documentation gives the example Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot and notes that the version number may change. Match on the GPTBot token rather than the full string so a version bump does not break your rules.
Why do I see GPTBot requests with robots.txt in the user agent?
OpenAI says that when it fetches robots.txt it may add a robots.txt marker to the user-agent string. It does this so site owners can tell robots.txt checks apart from page crawls, which helps when logs do not record the request path.
If I allow both GPTBot and OAI-SearchBot, will OpenAI crawl my site twice?
Not necessarily. OpenAI's documentation says that when a site allows both, it may use the results of a single crawl for both purposes. That is why you may see fewer GPTBot hits than you expect even though training is allowed.
Does blocking GPTBot delete content OpenAI already collected?
OpenAI's documentation describes the block as a signal that your content should not be used to train its generative AI foundation models. It does not describe removing content collected before you added the rule, so treat the block as applying from the time GPTBot next reads your robots.txt.
Commonly confused with
- GPTBot vs OAI-SearchBotBlocking one does not block the other — training and ChatGPT search are separate opt-outs.
- GPTBot vs ChatGPT-UserOne crawls the open web for training; the other fetches a single page because a person asked ChatGPT to look at it.
- GPTBot vs ClaudeBotThe two biggest AI training crawlers, compared on documentation, IP verification, and what blocking each actually costs.
- GPTBot vs CCBotBlocking GPTBot does not stop your content reaching OpenAI, because Common Crawl is a separate upstream source.
- GPTBot vs BytespiderOne documents its IP ranges and honors robots.txt; the other does neither.
Other AI crawlers
- OAI-SearchBotPowers search-style results surfaced in ChatGPT.
- ChatGPT-UserFetches pages a user asks ChatGPT to browse in real time.
- ClaudeBotCrawls content to train Anthropic's Claude models.
- Google-ExtendedControls use of content for Gemini and Vertex AI training, separate from Googlebot.
- CCBotCommon Crawl's crawler; its dataset is widely used to train LLMs.
- BytespiderByteDance's crawler, used for training its AI models.
Part of our directory of every known AI crawler, refreshed monthly. Last verified: 2026-09-13.