Part of the AI visibility glossary

What is GPTBot?

GPTBot is the web crawler OpenAI uses to collect pages that may be used to train its generative AI foundation models. Site owners control it with the GPTBot user-agent token in robots.txt, and disallowing it tells OpenAI that the site’s content should not be used for that training.

Also called: GPTBot user agent, OpenAI GPTBot, OpenAI training crawler

A training crawler, not a search crawler

OpenAI runs separate agents for separate jobs, and each robots.txt setting is independent of the others. GPTBot is the training one. Whether a site shows up in ChatGPT’s search features depends on a different bot, OAI-SearchBot, so a site can refuse GPTBot and still let OAI-SearchBot in. When a site allows both, OpenAI says it may reuse the results of one crawl for both purposes instead of fetching the same pages twice.

A GPTBot rule also says nothing about ChatGPT-User, the agent ChatGPT sends to a page when someone asks it a question. OpenAI states that ChatGPT-User is not used to crawl the web automatically.

How to recognise GPTBot in your logs

GPTBot announces itself in the user-agent header of each request with a string that contains GPTBot, a version number such as GPTBot/1.4, and a link to openai.com/gptbot. OpenAI notes that the version number may change. When the bot fetches robots.txt itself, it may add a robots.txt marker to that string, which makes those requests easy to separate from page fetches.

OpenAI also publishes the IP addresses GPTBot uses, at openai.com/gptbot.json. Under RFC 9309, the robots.txt standard, a crawler matches its token without regard to case, so User-agent: gptbot and User-agent: GPTBot name the same bot.

How to check it yourself

  1. Open your site’s /robots.txt and look for a group that starts with User-agent: GPTBot, then read which paths it allows or disallows.
  2. If there is no GPTBot group, find the group for *: that is the one GPTBot follows.
  3. Search your access logs for the string GPTBot to see how often it calls and which pages it requests.
  4. Compare the IP addresses of those requests with OpenAI’s published list, and treat requests from other addresses as something other than OpenAI’s crawler.
  5. Before you block GPTBot, check that the change leaves OAI-SearchBot alone if you still want to appear in ChatGPT search.

How this page was made

AI agents drafted this entry from the public sources listed below, and automated checks ran on it before it was published. Read our editorial policy.

Questions

Does blocking GPTBot remove my site from ChatGPT search?

Not by itself. GPTBot is the training crawler. The search crawler described above has a robots.txt setting of its own, so the two are separate decisions.

Does disallowing GPTBot remove content OpenAI has already collected?

The rule is described as a signal that a site’s content should not be used for training. The crawler documentation cited on this page does not describe a way to withdraw pages fetched earlier, so read the company’s own policies for that question.

How can I tell a real GPTBot visit from a fake one?

Check the IP address against the published list described above. A request that names the bot but comes from an address outside that list should be treated as not OpenAI’s crawler.

Sources

  1. Overview of OpenAI crawlers · OpenAI
  2. Overview of OpenAI crawlers · OpenAI
  3. RFC 9309: Robots Exclusion Protocol · RFC Editor

See how AI answers describe your brand

Start your trial to follow how AI assistants mention your brand and your competitors.

Start your trial