GPTBot
- Job
- Collects content that may train models
- What blocking it does
- Your content should not be used in training
GPTBot is OpenAI's training crawler. Its user agent, what blocking it changes (and doesn't), IP verification, and robots.txt rules to copy.
GPTBotMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbotGPTBot is the crawler OpenAI uses to collect pages that may be used to train its foundation models. Blocking it in robots.txt tells OpenAI not to train on your content. It does not remove you from ChatGPT search, which uses a separate bot, OAI-SearchBot.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
That separation matters. Blocking GPTBot is a decision about training data, not about visibility. If you want ChatGPT to cite and link your pages when people search, the bot that matters is OAI-SearchBot. If a person pastes your URL into ChatGPT, the fetch comes from ChatGPT-User.
OpenAI documents a fourth agent, OAI-AdsBot, that only visits pages submitted as ads on ChatGPT and, per OpenAI, collects data that is not used to train generative AI foundation models. It isn't covered by the GPTBot token.
robots.txt marker to the string.Anyone can send that string, so a user agent alone proves nothing. OpenAI publishes the IP ranges GPTBot crawls from at https://openai.com/gptbot.json. Match the request IP against that list before you treat traffic as genuine, especially if you allow GPTBot through a firewall rule.
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbotUser-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /To exclude only some sections, list them instead of /. Paths are matched as prefixes, so Disallow: /docs/private/ covers everything under that folder.
User-agent: GPTBot
Disallow: /docs/private/
Disallow: /customers/ User-agent: * rules don't apply to a bot that has its own group. RFC 9309 says crawlers use case-insensitive matching to find the group for their product token and obey that group, and fall back to the * group only when no matching group exists. Add a GPTBot group if you want it governed separately from everything else.
Cloudflare's robots.txt setting (Bot Preference Sync) can generate Disallow rules for AI crawlers, with GPTBot and ClaudeBot in Cloudflare's own example, from your Search, Agent and Training policies. Cloudflare prepends them before your existing robots.txt in one response. Open /robots.txt in a browser and read what is actually served.
Cloudflare's docs describe it as blocking verified bots classified as AI training plus similar unverified ones, and mark it as deprecated from September 15, 2026 in favor of separate Search, Agent and Training policies. Cloudflare's page says that from that date mixed-purpose crawlers that combine Search and Training are blocked by every configuration that blocks AI training, including this legacy setting. Check which setting your account uses.
OpenAI gives about 24 hours for its systems to adjust to a robots.txt update (stated for search results). It also says that if you allow both GPTBot and OAI-SearchBot it may use the results of one crawl for both uses.
IP=20.171.206.5
curl -s https://openai.com/gptbot.json | python3 -c "import sys,json,ipaddress as i;ip=i.ip_address('$IP');print(any(ip in i.ip_network(p.get('ipv4Prefix') or p['ipv6Prefix']) for p in json.load(sys.stdin)['prefixes']))"grep -i 'GPTBot' access.log | awk '{print $1}' | sort | uniq -c | sort -rn | headThe user agent contains the token GPTBot, so a case-insensitive match finds it. The scripts above check the IP half; a hit with an IP outside the list is not OpenAI.
More OpenAI bots: OAI-AdsBot, blocking ChatGPT.
4 questions people ask next, answered from the sources on this page.
No. GPTBot only governs training. ChatGPT search uses OAI-SearchBot, and OpenAI says sites that opt out of OAI-SearchBot won't be shown in ChatGPT search answers. Block only GPTBot if you want to stay visible in search.
Yes. OpenAI documents GPTBot as managed with a robots.txt tag, and says disallowing it indicates your content should not be used in training. OpenAI also says it can take about 24 hours for its systems to adjust to a robots.txt update (a figure it gives for search results).
Check the request IP against the ranges OpenAI publishes at openai.com/gptbot.json. The user agent string on its own can be spoofed.
OpenAI's documentation describes the robots.txt rule as a signal about future crawling for training. It doesn't describe removal of content collected earlier.
The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.