Skip to content
measure

GPTBot: what OpenAI's crawler does and how to block it

GPTBot is OpenAI's training crawler; blocking it doesn't take you out of ChatGPT search. How it differs from OAI-SearchBot and ChatGPT-User, and how to verify it.

Guides6 min readBy Measure team

GPTBot is OpenAI’s training crawler. OpenAI says it uses GPTBot to make its “generative AI foundation models more useful and safe,” and that disallowing it tells OpenAI your content shouldn’t be used to train them. You control it with the GPTBot token in robots.txt.

Blocking GPTBot doesn’t take you out of ChatGPT search. That’s a separate bot, OAI-SearchBot. This guide sticks to OpenAI’s own crawler page: what GPTBot does, how it differs from OpenAI’s other agents, how to block it, and how to check a request is really from OpenAI.

What is GPTBot?

GPTBot is the crawler OpenAI uses to collect content for training. Per OpenAI’s documentation, “Disallowing GPTBot indicates a site’s content should not be used in training generative AI foundation models.”

So GPTBot isn’t fetching your page because someone asked ChatGPT about it. It’s gathering content that may end up in future model training.

What does the GPTBot user agent look like?

OpenAI’s example user agent ends in:

Code
compatible; GPTBot/1.4; +https://openai.com/gptbot

OpenAI notes the version number may change, and that a robots.txt marker may be added to the string when GPTBot is fetching your robots.txt. In robots.txt itself you only need the token, GPTBot. Under the robots.txt standard, RFC 9309, crawlers match it case-insensitively.

How is GPTBot different from OAI-SearchBot and ChatGPT-User?

OpenAI lists four agents on one page, and says “Each setting is independent of the others.”

Table: OpenAI’s four agents, per OpenAI’s crawler documentation

robots.txt tokenWhat it doesWhat blocking it does
GPTBotCollects content to train OpenAI’s generative AI foundation modelsSignals your content shouldn’t be used for that training
OAI-SearchBotSurfaces websites in ChatGPT’s search featuresYour site isn’t shown in ChatGPT search answers, though it can still appear as a navigational link
ChatGPT-UserFetches pages for certain user actions in ChatGPT and Custom GPTsrobots.txt rules may not apply, because a user started the action
OAI-AdsBotChecks the safety of pages submitted as ads on ChatGPT; only visits those pagesOpenAI says its data isn’t used to train foundation models

The short version:

  • GPTBot is about training.
  • OAI-SearchBot is about showing up in ChatGPT search.
  • ChatGPT-User is a person, right now, asking ChatGPT to do something that needs your page.

If you allow both GPTBot and OAI-SearchBot, OpenAI says it “may use the results from just one crawl for both use cases to avoid duplicative crawling.” So seeing fewer GPTBot visits doesn’t necessarily mean less of your site was read.

How do I block GPTBot in robots.txt?

Add this to the robots.txt file at the top of your site:

robots.txt
User-agent: GPTBot
Disallow: /

To keep training out but stay in ChatGPT search and in answers to users, give each agent its own group:

robots.txt
User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

A few things to know:

  • No rule means allowed. Under RFC 9309, a crawler with no matching group and no * group can fetch anything. The Allow: / lines aren’t strictly needed, but they make your intent obvious.
  • Search changes take about a day. OpenAI says it can take around 24 hours after a robots.txt update for its search systems to adjust.
  • ChatGPT-User may not follow it. OpenAI says robots.txt rules may not apply to user-initiated actions. It also says ChatGPT-User isn’t used to decide whether content appears in search; use OAI-SearchBot for that.

Should I block GPTBot?

It depends on what you want from OpenAI. Blocking GPTBot is about training only. Because OpenAI treats each agent separately, you can block training and stay in ChatGPT search, which is the setup above.

If you block OAI-SearchBot too, OpenAI says your site won’t appear in ChatGPT search answers. For a site that wants traffic from ChatGPT, that’s the bigger cost.

How do I verify a request really came from GPTBot?

User agent strings are easy to fake. OpenAI publishes the IP ranges for each agent as JSON:

If a request says it’s GPTBot and its source IP isn’t in GPTBot’s ranges, it isn’t OpenAI.

How do I see GPTBot visits in Measure?

Measure counts humans, AI agents and bots separately. The Measure classifier names OpenAI’s agents with their operator and purpose:

  • GPTBot: AI agent, OpenAI, training
  • OAI-SearchBot: AI agent, OpenAI, search
  • ChatGPT-User: AI agent, OpenAI, assistant

None of them count as human visitors, and none get mixed in with uptime checks or SEO tools.

If you use an AI assistant, ask it. Measure’s MCP server has a get_agents tool that returns every AI agent that fetched your site, with its operator, purpose, request count and top page. Ask “how often did GPTBot visit this week, and what did it read?” and you get the real numbers back.

For the same breakdown across vendors, see GPTBot vs OAI-SearchBot vs ChatGPT-User, plus ClaudeBot and Amazonbot.

FAQ

Does blocking GPTBot remove my site from ChatGPT?

No. GPTBot is the training crawler. ChatGPT search uses OAI-SearchBot, and live user requests use ChatGPT-User. OpenAI says each setting is independent.

Does GPTBot respect robots.txt?

Yes. OpenAI documents the GPTBot robots.txt token and says disallowing it signals your content shouldn’t be used for training.

What is the difference between GPTBot and ChatGPT-User?

GPTBot crawls for training. ChatGPT-User fetches a page when a person using ChatGPT or a Custom GPT asks for something that needs it, and OpenAI says it isn’t used for automatic crawling.

Can I block GPTBot by IP address?

You can check requests against OpenAI’s published ranges. For opting out, robots.txt is the mechanism OpenAI documents.

Will Measure count GPTBot as a visitor?

No. Measure counts GPTBot as an AI agent run by OpenAI, apart from your human visitors.

See who’s reading your site

Measure shows you the humans, the AI agents and the bots on your site, each counted on its own, with no cookies and no consent banner. It’s $29 a month for up to 40 sites, with a 14-day trial. Start a trial or see pricing.

Let your agent read the numbers.

$29 a month covers 40 sites, then $0.50 a site. 14-day trial.