Skip to content
AI search and crawlers

What is GPTBot?

3 min read · Updated · By the Reveata team

Short answerGPTBot is OpenAI's web crawler that collects publicly available pages which may be used to train OpenAI's foundation models. It crawls on its own schedule and identifies itself with "GPTBot" in its user agent.

An open book sits on a stand
Photo by Shang Zhou on Unsplash

GPTBot is probably the best-known AI crawler, and it is often confused with the other bots OpenAI runs. It is worth getting the difference right, because blocking the wrong one can take you out of ChatGPT search without you meaning to.

GPTBot and OpenAI's other bots

OpenAI documents several user agents on its crawler page (opens in a new tab). Each has its own robots.txt token, so you can treat them separately:

Bot Purpose Started by
GPTBot Crawls content that may be used to train OpenAI's foundation models OpenAI's schedule
OAI-SearchBot Finds pages so they can be shown and linked in ChatGPT search OpenAI's schedule
ChatGPT-User Opens a page when a ChatGPT user or a custom GPT needs it to answer A person

Blocking GPTBot does not remove you from ChatGPT search; that is OAI-SearchBot's job. It signals that your pages should not be used for training.

How to allow or block GPTBot

Add a group for it to the robots.txt file at the root of your site:

text
User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /

This example refuses training and allows search. To block only part of the site, disallow a path instead, such as Disallow: /members/. Robots.txt is a request, not a lock: well-behaved crawlers follow it, and the Robots Exclusion Protocol (opens in a new tab) itself says the rules are not a form of access authorisation. Read more in What is robots.txt?.

How to tell whether a GPTBot request is genuine

Anyone can send a request whose user agent says GPTBot. OpenAI publishes the IP ranges GPTBot uses (gptbot.json). Reveata downloads that list once a day and checks each GPTBot request against it:

  • Verified: the address is inside OpenAI's published ranges.
  • Spoofed: the address is outside them, so something is pretending to be GPTBot.
  • Unverifiable: no usable address was available, for example a forwarded request without its ip.

The IP address is compared in memory and never stored. See Crawler verification.

Seeing GPTBot in Reveata

GPTBot fetches HTML and does not run your tracking script, so the script alone will rarely see it. Forward requests from your server with Forward crawler requests, and GPTBot appears on the Bot traffic page with how many pages it read, which pages, and when it was last seen. It is stored as a bot hit, never as a visitor. On the same page you can mark it as blocked and copy the robots.txt lines Reveata writes for you.

Common mistakes

  • Blocking User-agent: * to stop GPTBot, which also blocks search engines.
  • Assuming that blocking GPTBot removes content OpenAI already collected. Robots.txt applies to future crawling.
  • Treating every request named GPTBot as OpenAI. Check the verified and spoofed counts first.

Frequently asked questions

Does blocking GPTBot hurt my visibility in ChatGPT?

Not in ChatGPT search, which relies on OAI-SearchBot, a separate user agent. GPTBot is the training crawler. Keep OAI-SearchBot allowed if you want to appear as a linked source.

Does GPTBot run JavaScript?

Treat it as a crawler that reads your HTML. To measure it reliably, forward requests from your server rather than relying on a browser script.

How often does GPTBot visit?

It depends on your site, and OpenAI does not publish a schedule. Forward your server requests to Reveata and the Bot traffic page shows its hits over time and when it was last seen.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is an AI crawler?An AI crawler is an automated program run by an AI company, such as OpenAI, Anthropic or Perplexity, that fetches web pages to train language models, to build an AI search index, or to read a page live because a person asked an assistant about it.GlossaryWhat is robots.txt?Robots.txt is a plain-text file at the root of a website, such as example.com/robots.txt, that tells crawlers which paths they may and may not fetch, using groups of User-agent, Allow and Disallow lines. Crawlers follow it voluntarily; it does not block anyone.GlossaryWhat are AI citations?AI citations are the links to source pages that an AI assistant or AI search engine shows alongside its answer to indicate where the information came from, such as the numbered references in Perplexity or the source links in ChatGPT search.GlossaryWhat are Google AI Overviews?AI Overviews are AI-generated summaries that Google Search shows above or among the regular results for some queries, written from several web pages and linking to them as sources.GlossaryWhat is a web crawler?A web crawler, also called a spider or bot, is a program that automatically fetches web pages, follows the links it finds and stores what it reads, usually to build a search engine index, an archive or a dataset.GlossaryWhat is AI search?AI search is a way of searching in which an AI model reads sources for you and writes a direct answer, usually with links to the pages it used, as in ChatGPT search, Perplexity, Google's AI Overviews and AI Mode, or Microsoft Copilot.