In the OAI-SearchBot vs GPTBot comparison, the two bots do different jobs. GPTBot crawls content that may be used to train OpenAI's models. OAI-SearchBot indexes pages for ChatGPT search. ChatGPT-User fetches a page when a person asks for it. Blocking GPTBot does not remove you from ChatGPT search.
This guide is based on OpenAI's own bot documentation as of November 2026. OpenAI changes these pages, so check the official OpenAI bots page before you ship a robots.txt change.
OAI-SearchBot vs GPTBot: what does each OpenAI bot do?

OpenAI documents four user agents. Three matter for most sites.
- GPTBot crawls content that may be used to train OpenAI's generative AI foundation models. Disallowing it tells OpenAI your content should not be used for training.
- OAI-SearchBot surfaces websites in ChatGPT's search features. OpenAI says sites that opt out do not appear in ChatGPT search answers, though they can still show up as navigational links.
- ChatGPT-User handles certain user-initiated actions in ChatGPT and Custom GPTs, such as visiting a page to answer a question. OpenAI says it is not used for automatic crawling and does not determine whether content appears in search.
- OAI-AdsBot checks landing pages submitted as ads in ChatGPT. It only visits submitted ad pages, so most publishers can ignore it.
Each robots.txt setting works independently. OpenAI gives the example of allowing OAI-SearchBot for search visibility while disallowing GPTBot to opt out of training.
Does blocking GPTBot block ChatGPT search?

No. This is the most common misunderstanding. Training and search use different user agents, so a Disallow rule for GPTBot only affects the training crawler. Your pages can still be indexed by OAI-SearchBot and appear in ChatGPT search answers if that bot is allowed.
The reverse also holds. If you block OAI-SearchBot but allow GPTBot, you have opted out of search appearance while still allowing training use. Neither choice is the default for you; it is a decision about your content.
One caveat from OpenAI's documentation: if both GPTBot and OAI-SearchBot are allowed, OpenAI may use a single crawl for both purposes. If you want a clean separation, set both rules explicitly.
What is the difference between GPTBot and ChatGPT-User?

GPTBot is an automatic crawler. ChatGPT-User is a user-triggered fetcher. When someone pastes your URL into ChatGPT or asks a question that sends ChatGPT to your page, the request comes from ChatGPT-User.
OpenAI states that because users initiate these actions, robots.txt rules may not apply to ChatGPT-User. Do not rely on a robots.txt line to stop it. If you need to restrict access to a page, use authentication or server-level controls, and be aware that doing so also stops legitimate readers using ChatGPT.
For a wider look at how ChatGPT reaches your content, see can ChatGPT read my website.
Decision table: which bot should you allow?
| Your goal | GPTBot | OAI-SearchBot | ChatGPT-User |
|---|---|---|---|
| Appear in ChatGPT search, opt out of training | Disallow | Allow | Leave unrestricted (robots.txt may not apply) |
| Appear in ChatGPT search and allow training | Allow | Allow | Leave unrestricted |
| Opt out of both training and ChatGPT search | Disallow | Disallow | Rule may be ignored; use access controls if needed |
| Allow training but stay out of ChatGPT search | Allow | Disallow | Rule may be ignored |
For most sites that want to be cited, the first row is the sensible starting point. It is a policy choice, not a ranking tactic.
How do you block GPTBot and allow OAI-SearchBot?
Add one group per bot. This blocks the training crawler and explicitly allows the search crawler:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
If your file also has a catch-all rule such as User-agent: * with Disallow: /, the explicit OAI-SearchBot group matters. Under the Robots Exclusion Protocol (RFC 9309), a crawler follows the group that best matches its own name and falls back to * only if none matches. Without the named group, OAI-SearchBot would be blocked by the wildcard.
The syntax and the other bots you may want to address are covered in robots.txt for AI crawlers, and the full vendor list is in the AI crawler user agents list.
Common mistakes with OpenAI bot rules
- Treating GPTBot as the only ChatGPT bot. Many robots.txt guides stop at GPTBot. If you copied a "block AI" snippet that names only GPTBot, your search policy is whatever your wildcard rule says.
- Blocking everything with a wildcard. A site-wide
User-agent: *block with no named exceptions also blocks OAI-SearchBot. That may be what you want, but it should be a deliberate choice. - Expecting robots.txt to control ChatGPT-User. OpenAI says robots.txt rules may not apply because a user triggered the visit. A Disallow line is not an enforcement tool for that agent.
- Forgetting subdomains. Robots.txt is per host.
docs.example.comandwww.example.comeach need their own file, and a rule on one does not cover the other. - Trusting the user agent string alone. Anyone can send a request that claims to be GPTBot. OpenAI publishes IP range files for each bot so you can verify a request before you act on it.
Version numbers inside the user agent strings, such as GPTBot/1.4, may change. Match on the bot name in robots.txt, not on the version.
Which setup fits which site?
A publisher or SaaS company that wants visibility in ChatGPT answers but does not want its text used for model training usually picks the first row of the table. A site whose content is the product, such as a paid database, may decide to disallow both crawlers and accept that it will not appear in ChatGPT search. A documentation site that wants maximum reach may allow all three. None of these is a technical default; each is a business decision, and the table above makes the trade-off visible so you can write the rules to match.
How do you check that it works?
- Open
https://yourdomain.com/robots.txtin a browser and confirm the rules are live and the file returns a 200 status. - Look for each user agent in your server logs. OpenAI says it may add a
robots.txtmarker to the user agent when it fetches your robots.txt file, which helps you tell those requests apart. - Allow time. OpenAI says it can take about 24 hours after a robots.txt update for its systems to adjust for search.
- If a firewall or CDN bot rule sits in front of your site, make sure it does not challenge OAI-SearchBot. OpenAI publishes IP range files for its bots (for example
openai.com/searchbot.json) and recommends allowing requests from those ranges.
A robots.txt rule only works if the bot can reach the file. A WAF that returns a 403 to unknown bots can silently undo a policy that looks correct on paper.
What else can stop OAI-SearchBot from reading your pages?
An allow rule is the first step, not the last. Pages that depend on client-side JavaScript to show their text, cookie walls that replace content, or blocks at the CDN can all leave the bot with an empty page. See JavaScript rendering for AI crawlers and cookie banners hiding content from AI for those cases.
Allowing OAI-SearchBot does not guarantee a citation. It removes one technical reason a page could not be considered. For tactics beyond access, read how to get cited by ChatGPT.
Check your own setup
If you are not sure which of these bots your site currently permits, run a free AEO Vista audit. The AI policy and crawlability categories check your robots.txt rules and whether AI crawlers can reach your pages, and the ranked fix list shows what to change first.



