Free auditStart free
AI crawlerOpenAI · Training crawler

GPTBot

GPTBot is OpenAI's training crawler. Its user agent, what blocking it changes (and doesn't), IP verification, and robots.txt rules to copy.

5 min
read
4
sources
Oct 24, 2026
updated
Scaplet Editorial Team
author
GPTBotai training
OperatorOpenAI
PurposeCrawls content that may be used to train OpenAI's generative AI foundation models.
robots.txt tokenGPTBot
User agentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot
Honors robots.txtyes, per the operator
Verify requestsMatch the request IP against the published IP list. The documented user agent string is an example and the version number may change.
IP rangesOfficial list
The short answer

GPTBot 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.

  1. What GPTBot is for
  2. How to recognize GPTBot
  3. Allow or block it in robots.txt
  4. Should you block GPTBot?
  5. Check it in 2 minutes, and tips most guides miss
30-second check

Are AI crawlers reaching your site?

Four quick questions, then a straight answer.

1/4Have you checked your robots.txt rules for AI crawlers?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode

At a glance

5 facts from the sources below
OpenAI
Operator
GPTBot
Robots.txt token
Collecting content that may be used to train models
Purpose
Yes
Respects robots.txt
openai.com/gptbot.json
IP list
01OpenAI's agents for training, search and user actions

What GPTBot is for

OpenAI documents several separate agents. Three matter to most site owners, and each answers a different question. GPTBot is the training crawler. OpenAI says it crawls content that "may be used in training our generative AI foundation models", and that disallowing it "indicates a site's content should not be used in training".
Agent

GPTBot

Job
Collects content that may train models
What blocking it does
Your content should not be used in training
Agent

OAI-SearchBot

Job
Surfaces sites in ChatGPT search
What blocking it does
You won't be shown in ChatGPT search answers, though you can still appear as navigational links
Agent

ChatGPT-User

Job
Fetches pages when a user's action asks for them
What blocking it does
OpenAI says robots.txt rules may not apply, because a user started the request

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.

02Check it

How to recognize GPTBot

GPTBot identifies itself with this example user agent string, as published by OpenAI. OpenAI notes the version number may change, and that when it fetches robots.txt it may add a 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.

User agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot
03Good to know

Allow or block it in robots.txt

GPTBot reads the group in your robots.txt that names it. To keep your whole site out of training while staying visible in ChatGPT search:
Block training, keep ChatGPT search
User-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.

Block one section from training
User-agent: GPTBot
Disallow: /docs/private/
Disallow: /customers/
04Checklist

Should you block GPTBot?

There is no universal answer, and the trade-off is narrower than it looks. Blocking GPTBot affects whether future crawls of your pages go into training data. It does not take your site out of ChatGPT's search answers, as long as OAI-SearchBot is allowed.
First1
Block it if your content is your product (paid research, proprietary data, premium courses) and you don't want it in training sets.
Next1
Allow it if you want your brand, product names and positioning to be well represented in what models know without search, for example a SaaS company that wants to come up in recommendations.
Then1
Either way, allow OAI-SearchBot if you want ChatGPT search to cite and link you. OpenAI says it is the crawler used to surface websites in ChatGPT's search features.
05Worth knowing

Check it in 2 minutes, and tips most guides miss

Read the right group

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.

Check your CDN

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.

Know what Cloudflare's legacy Block AI bots setting covers

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.

Allow a day

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.

Is this IP in the published list?
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']))"
Hits per IP in an access log (IP in the first column)
grep -i 'GPTBot' access.log | awk '{print $1}' | sort | uniq -c | sort -rn | head

The 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.

Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01Does blocking GPTBot remove my site from ChatGPT?

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.

02Does GPTBot respect robots.txt?

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).

03How do I verify a request is really from GPTBot?

Check the request IP against the ranges OpenAI publishes at openai.com/gptbot.json. The user agent string on its own can be spoofed.

04Does blocking GPTBot remove content already collected?

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.

Sources · 4

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • openai.com
  • rfc-editor.org
  • cloudflare.com
  1. 01Overview of OpenAI crawlersdevelopers.openai.com · checked 2026-10-24
  2. 02RFC 9309: Robots Exclusion Protocolrfc-editor.org · checked 2026-10-24
  3. 03Cloudflare: Managed robots.txtdevelopers.cloudflare.com · checked 2026-10-24
  4. 04Cloudflare: Block AI botsdevelopers.cloudflare.com · checked 2026-10-24
Free · 2 minutes

Can AI engines reach your pages?

The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.

Free, no card60 secondsNobody will call you
  • 0→7 ChatGPT citations in six weeks Paylane
  • 46 fixes shipped without a ticket Brightpipe