GPTBot and OAI-SearchBot are both OpenAI crawlers, both appear in robots.txt templates, and both have OpenAI in their name. They do different jobs, they are controlled separately, and confusing them is the single most expensive robots.txt mistake a business can make. Allow the wrong one, and you have made a training decision while believing you made a search decision. Block the wrong one, and you have given up search visibility while believing you only refused training.
This guide sets the two side by side, so you can see what each one does, what each one costs you, and how to write a file that treats them as the two separate switches OpenAI says they are.
The difference in one paragraph
GPTBot crawls content that may be used to train OpenAI generative AI models. OAI-SearchBot surfaces websites in ChatGPT search results. Training shapes future models. Search decides whether your business appears in the answer someone gets today. OpenAI states that each setting is independent of the others, and gives the split as its own example: a site owner can allow OAI-SearchBot in order to appear in search results while disallowing GPTBot to indicate that crawled content should not be used for training.
That paragraph is the whole guide, in short. The rest of it is the detail that makes the paragraph usable: what each crawler does with your pages, what happens when you block each one, how to write the file, and how to check which one has actually visited.
Side by side
| Question | GPTBot | OAI-SearchBot | |---|---|---| | What it does | Crawls content that may be used to train OpenAI models | Surfaces websites in ChatGPT search results | | What it feeds | Future model training | Live search answers, with links | | What blocking it costs | Your pages stay out of training | Your site is not shown in ChatGPT search answers | | What allowing it buys | Permission to collect for training | Eligibility to appear in search answers | | When a change takes effect | No separate timing is stated for training crawls | About 24 hours for search systems to adjust | | IP list | Published, one file for GPTBot | Published, one file for OAI-SearchBot |
The table makes the asymmetry visible. Blocking GPTBot costs you a training contribution. Blocking OAI-SearchBot costs you a place in answers. Those are not equal costs, and a file that treats them as equal is a file written by someone who did not read the vendor page.
What GPTBot does with your pages
OpenAI describes GPTBot as the crawler used to make its generative AI models more useful and safe, by crawling content that may be used in training those models. Disallowing GPTBot indicates that a site's content should not be used in training generative AI foundation models.
Note what is missing from that description. There is no mention of search, of answers, of citations, or of recommendations. Training is the whole stated scope of the token. A page GPTBot collects may shape a future model. It does not put your business into the next ChatGPT answer, and it does not keep your prices current in answers, because training data is not a live feed.
Allowing GPTBot is also not a promise that OpenAI will crawl you, crawl you soon, or use any particular page. It is permission, not a summons. And disallowing it is a signal about future training use, not a deletion of anything already collected.
What OAI-SearchBot does with your pages
OpenAI describes OAI-SearchBot in different terms: it is for search, and it is used to surface websites in search results in ChatGPT search features. Sites that are opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though they can still appear as navigational links. To help ensure a site appears in search results, OpenAI recommends allowing OAI-SearchBot in robots.txt and allowing requests from its published IP ranges.
The navigational link detail is worth pausing on. A blocked site does not vanish entirely. It can still appear as a bare link, a name without a summary, without a recommendation, and without the context that makes a person click. The difference between a navigational link and a surfaced result is the difference between being listed and being recommended, and that difference is what the OAI-SearchBot rule decides.
Allowing OAI-SearchBot makes your pages eligible to be surfaced, summarised, and linked. Eligible, not guaranteed. The pages themselves still have to answer the question clearly, and the model still has to choose them. Permission is the entry ticket, not the prize.
The third OpenAI fetcher, and why it belongs in neither column
There is a third OpenAI user agent, ChatGPT-User, and it belongs in neither column, because it is not a crawler at all in the usual sense.
ChatGPT-User fetches a page because a person asked ChatGPT a question about it. OpenAI says it is not used for crawling the web in an automatic fashion, and that because these actions are initiated by a user, robots.txt rules may not apply. It is also not used to determine whether content may appear in Search. OpenAI says to use OAI-SearchBot in robots.txt for managing search opt outs and automatic crawl.
So a file that blocks ChatGPT-User while allowing OAI-SearchBot has not protected anything, and a file that blocks OAI-SearchBot while allowing ChatGPT-User has not preserved search visibility. The search switch is OAI-SearchBot, and only OAI-SearchBot.
Write a file that treats them separately
Your robots.txt file sits at the root of your site. Open it at an address like the one below, with your own domain in place of the example.
https://yourdomain.com/robots.txt
If nothing loads there, you have no file yet. Build one at the root first, because a rule for either crawler has nowhere to sit without it.
The file most businesses want is the split: search on, training off.
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /
If you are comfortable with both, allow both:
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Allow: /
If you want neither, disallow both, and accept that ChatGPT search answers will not show your site:
User-agent: OAI-SearchBot
Disallow: /
User-agent: GPTBot
Disallow: /
Each crawler reads only the group that names it. A rule written for GPTBot does nothing to OAI-SearchBot, and a rule written for OAI-SearchBot does nothing to GPTBot. That is why the split works, and why a single line can never cover both.
One more rule about groups, because it catches people out. Once a crawler has a group of its own, it ignores the broad User-agent: * group entirely. So if your broad group blocks your checkout and account pages, repeat those limits inside each named group, or both crawlers will be allowed into paths you meant to close.
OpenAI adds one efficiency note that matters if you allow both: if your site has allowed both bots, it may use the results from just one crawl for both use cases, to avoid duplicative crawling.
A bookshop that learned the difference the hard way
Picture a bookshop in Edinburgh. The owner sells signed editions online, and she wants ChatGPT to recommend her shop when someone asks for a good gift for a reader. She reads a guide about blocking AI training, follows it carefully, and disallows GPTBot. She checks the file, sees the rule sitting there, and assumes she has done the right thing.
She has. The problem is what she did next. A second guide, about allowing AI crawlers, tells her to allow GPTBot, and she follows that one too, without noticing that the two guides are talking about two different decisions. She ends up with a file that allows GPTBot and says nothing about OAI-SearchBot. Her training decision is stated, and her search decision was never made. ChatGPT keeps recommending a competitor, because the competitor's file names the search crawler and hers does not.
She rewrites the file as the split above, search on and training off, and now the file states both decisions in words that match what she actually wants.
Check which one has visited The months of invisibility came from two guides that each named only one token, and from nobody checking which token the file actually contained.
Saving the file is the start, not the finish. Confirm it in three steps.
First, fetch your robots.txt address in a browser and look for both groups. If either one is missing, the file you edited is not the file the site serves, and no crawler will see the missing rule.
Second, watch your server logs, and match on the token, not the full user agent string. OpenAI publishes full strings that end with a token and a version number, like GPTBot/1.4 and OAI-SearchBot/1.4, plus a link to the OpenAI bot page. OpenAI notes that the version number may change, so match on GPTBot or OAI-SearchBot and ignore the version. When OpenAI fetches the robots.txt file itself, it may add a robots.txt marker to the string, so a variant string on that one fetch is expected, not a sign of trouble.
Third, check the IP behind any hit that matters. OpenAI publishes one IP range file per bot, in JSON form, one for GPTBot and one for OAI-SearchBot. A genuine visit comes from an address inside the matching range. User agent strings are easy to fake, so a token without a matching IP is a claim, not proof.
OpenAI states that it can take about 24 hours from a robots.txt update for its search systems to adjust. It gives no separate timing for training crawls, so do not judge a GPTBot change on the same afternoon you save it, and do not judge an OAI-SearchBot change an hour after saving it either.
Frequently Asked Questions
I allowed GPTBot. Why does ChatGPT skip my business in live answers?
Because GPTBot is the training crawler, not the search crawler. Live ChatGPT search answers run on OAI-SearchBot, which OpenAI controls separately from GPTBot. Check that OAI-SearchBot has its own group in the file.
I blocked GPTBot. Am I out of ChatGPT search?
No. Blocking GPTBot signals that content should not be used for training. Blocking OAI-SearchBot is what removes you from ChatGPT search answers. The split file above shows how to block one and allow the other.
Can I allow both and save crawl load?
Yes, in the sense OpenAI describes: if your site has allowed both bots, it may use the results from just one crawl for both use cases, to avoid duplicative crawling. Allowing both does not double the load in that case.
Does ChatGPT-User matter for either decision?
Not as a switch. It fetches a page because a person asked a question, and OpenAI says robots.txt rules may not apply to it. Search opt outs belong on OAI-SearchBot.
Verified Sources & Technical Documentation
- OpenAI bots documentation Specific https://platform.openai.com/docs/bots
- RFC 9309, Robots Exclusion Protocol General Docs https://www.rfc-editor.org/rfc/rfc9309.html
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.