AI crawlers and robots.txt

What is the difference between GPTBot and OAI-SearchBot?

The short answer

GPTBot collects pages that may be used to train OpenAI's models, while OAI-SearchBot is the crawler OpenAI uses to find and show websites in ChatGPT search answers. Blocking GPTBot does not remove you from ChatGPT search, but blocking OAI-SearchBot keeps your site out of those answers.

Two crawlers, two different jobs

OpenAI separates its crawlers by purpose. GPTBot gathers publicly available content that may be used to train its generative AI models. OAI-SearchBot crawls the web so ChatGPT can surface and link to websites when it answers questions using search. Each has its own user agent string, and each is controlled by its own group in robots.txt.

A third agent, ChatGPT-User, handles visits started by a person, such as a user asking ChatGPT to open a specific link. OpenAI says robots.txt rules may not apply to it, because a user asked for the page. That one is explained in what the ChatGPT-User agent is.

Why OAI-SearchBot matters more for being recommended

When someone asks ChatGPT a question that needs current information, such as which firms handle a particular kind of project, it often searches the web, reads a handful of pages and cites a few of them. If OAI-SearchBot is blocked, OpenAI says your site will not be shown in ChatGPT search answers. Your business could still be named from other sources, such as directories or review sites, but your own pages would not be the ones ChatGPT reads and links to.

GPTBot works on a much longer timescale. It affects what future models may learn, not what ChatGPT finds when it searches today.

The common mistake: blocking both

Many sites block every AI crawler in one go, often through a security plugin, a hosting setting or a copied robots.txt template. That can quietly remove the site from ChatGPT search while the owner believes they have only opted out of training. If you want to keep training out but stay visible, the setup is:

  • A group for `User-agent: GPTBot` with `Disallow: /`
  • A group for `User-agent: OAI-SearchBot` that allows the pages you want found

OpenAI notes that changes to robots.txt can take some time to be picked up, so check your file after any change and again a while later.

Which one should a business allow?

For most businesses that want to be recommended, OAI-SearchBot should be allowed. GPTBot is a separate judgement about whether you are comfortable with your content being used for training, and it has little bearing on whether ChatGPT can cite you right now. A wider view of every major bot is in which AI crawlers to allow.

Related questions

More questions about aI crawlers and robots.txt

Next questionWhat is the ChatGPT-User agent in my server logs?

Find out whether ChatGPT and other AI tools recommend your business

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your business when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit