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
PerplexityClaude - Copilot
By Justin Pincar. 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 agent | What it's for | Block it and… |
|---|---|---|
| GPTBot | Training OpenAI's models | Your pages aren't used for training |
| OAI-SearchBot | Showing sites in ChatGPT's search answers | You're not shown in ChatGPT search answers |
| ChatGPT-User | Fetching a page when a person's request needs it | OpenAI 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
- OpenAI: Overview of OpenAI crawlers (opens in a new tab), read November 25, 2026