Skip to content

Glossary

What is GPTBot? OpenAI's training crawler and its robots.txt

1 min read4 sections

In short

GPTBot is the web crawler OpenAI uses to collect pages that may train its generative AI models. Blocking it in robots.txt opts your site out of that training; it doesn't remove you from ChatGPT search answers, which OAI-SearchBot decides. The two settings are independent.

The assistants Keats asks, every week

  • ChatGPT
  • Gemini
  • AI Overviews
  • AI Mode
  • Perplexity
  • Claude
  • Copilot

Justin PincarBy . Updated Read as markdown

On this page · 4 sections

GPTBot is OpenAI's training crawler. OpenAI describes it as "used to make our generative AI foundation models more useful and safe", and says that "disallowing GPTBot indicates a site's content should not be used in training generative AI foundation models."

The GPTBot user agent

OpenAI documents this user-agent string:

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot

The robots.txt token is GPTBot. OpenAI publishes the crawler's IP addresses at https://openai.com/gptbot.json, so you can tell the real crawler from something borrowing its name.

GPTBot vs OAI-SearchBot

This is the distinction that matters for AI visibility. OpenAI runs separate crawlers for separate jobs, and "each setting is independent of the others":

User agentWhat it's forBlock it and…
GPTBotTraining OpenAI's modelsYour pages aren't used for training
OAI-SearchBotShowing sites in ChatGPT's search answersYou're not shown in ChatGPT search answers
ChatGPT-UserFetching a page when a person's request needs itOpenAI says robots.txt "may not apply"

OpenAI says a site can "allow OAI-SearchBot in order to appear in search results while disallowing GPTBot". If you allow both, it "may use the results from just one crawl for both use cases". The search crawler has its own entry: OAI-SearchBot.

The robots.txt lines

To opt out of training but stay eligible for ChatGPT search:

User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /

To allow everything, you need no lines for either: a robots.txt that doesn't mention them lets both in.

Should you block GPTBot?

It's a business decision about training, not a visibility switch. Publishers that license their content often block it. Most brands that want models to know their name, prices and facts leave it open. What you should never do is block OAI-SearchBot by accident while meaning to block GPTBot, for example with a blanket rule for every AI bot. The full list of AI crawlers, by company, is in AI crawlers and robots.txt. What the search crawler earns you is covered in how to get cited by ChatGPT and LLM SEO, and the ChatGPT visibility tracker shows whether it is working.

Sources

  1. OpenAI: Overview of OpenAI crawlers (opens in a new tab), read November 25, 2026

Track these questions every week

Keats asks your buyers' questions on seven assistants every week, shows where you're left out, and has your agent do the work. Start with a 14-day free trial, no card required.

  • ChatGPT
  • Gemini
  • AI Overviews
  • AI Mode
  • Perplexity
  • Claude
  • Copilot
Start free trial

All 7 assistants, 14 days, no card

Check your brand free

ChatGPT, Gemini and Perplexity, about a minute, no account