GPTBot is the OpenAI crawler that collects pages which may be used to train OpenAI models. Allowing it in robots.txt is a single, narrow decision. It says OpenAI may collect your public pages for training. It says nothing about whether ChatGPT shows your business in live search answers. That second job belongs to a different OpenAI crawler with a different name, and mixing the two up is the most common mistake in this whole area.
If your aim is to be found and recommended in ChatGPT answers, the token that matters most is OAI-SearchBot, not GPTBot. This guide covers GPTBot only. It explains what the token does, what it does not do, how to write the rule, and how to check that the rule is live.
What GPTBot actually does
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 signals that your content should not be used for that training.
Three points follow from that description, and each one changes how you should think about the rule.
First, GPTBot is about training, not about live answers. A page GPTBot collects may shape a future model. It does not put your business into the next ChatGPT search answer. Search answers come from a separate index, built by OAI-SearchBot.
Second, the two settings are independent. OpenAI states this plainly, 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. Allowing one does not allow the other. Blocking one does not block the other.
Third, allowing GPTBot is a permission, not a promise. OpenAI does not promise to crawl your site, to crawl it soon, or to use any particular page. An Allow rule opens the door. It does not summon anyone through it.
Decide before you paste
Before you touch the file, settle the training question on its own merits. Search visibility is a separate decision, handled by a separate rule, and it should not be traded away by accident while you decide about training.
Ask two plain questions. Do you mind your public pages being used to train OpenAI models? And do you want ChatGPT search to be able to show your pages? Most small businesses answer yes to the second question without hesitation. The first question is a genuine business choice, and either answer is defensible.
If you want search visibility but not training, the file for that is a split: allow OAI-SearchBot, disallow GPTBot. If you are comfortable with both, allow both. If you want neither, disallow both, and accept that ChatGPT search answers will not show your site. What you should not do is allow GPTBot alone and assume search is covered, because it is not.
One more limit is worth stating early. Robots.txt is a request, not a lock. It works because OpenAI says it follows the file. It cannot stop a crawler that ignores the file, and it cannot protect anything that must stay private. Pages that must stay private belong behind a login, not behind a Disallow line.
Write the rule
Your robots.txt file lives at the root of your site, at an address like the one below, with your own domain in place of the example.
https://yourdomain.com/robots.txt
If that address returns nothing, you have no file yet. Create one at the root first, because an allow rule has nowhere to sit without it.
To allow GPTBot across the whole site, add this group:
User-agent: GPTBot
Allow: /
That is the complete rule for a full allow. Two lines, one group, no extra decoration needed.
If you want training off and search on, write the split instead:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
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.
Place the group where it will be read
Placement inside the file matters, because of how groups are chosen. A crawler follows the group that names it, and it ignores the broad group that names every crawler, the group headed User-agent: *, once a group of its own exists. So a GPTBot group must be complete on its own. If your broad group blocks your checkout and account pages, and your GPTBot group says only Allow: /, GPTBot will be allowed into checkout and account pages too, because it never reads the broad group.
The fix is simple and easy to forget. Repeat any path limits that should still apply inside the GPTBot group itself. For a shop that keeps checkout and account pages closed to crawlers, the group looks like this:
User-agent: GPTBot
Allow: /
Disallow: /checkout/
Disallow: /account/
Put the GPTBot group near the top of the file, ahead of any broad block rules, so nobody reading the file later mistakes a broad rule for the policy that governs GPTBot. The order of groups does not change how a crawler picks its group, but a file that reads clearly is a file that gets edited correctly next time.
A coffee roaster who allowed the wrong token
Picture a coffee roaster in Portland. She sells single origin beans online and wants ChatGPT to recommend her roastery when someone asks for a good gift for a coffee lover. She reads a forum post, copies a robots.txt block, and adds a GPTBot allow rule. She checks the file, sees the rule sitting there, and assumes the job is done.
Weeks pass. ChatGPT keeps recommending a competitor. The roaster checks her logs and finds GPTBot visits, but no OAI-SearchBot visits at all. Her file welcomed the training crawler and said nothing about the search crawler, so the training pipeline had permission and the search pipeline had no explicit welcome. She adds the OAI-SearchBot group, keeps the GPTBot group as it is, and now both decisions are stated in the file instead of one being assumed.
The lesson is not that GPTBot is useless. It is that a training allow is not a search allow, and a file that names only one token has only made one decision.
Check that the rule is live
Saving the file is half the job. Confirm it in three steps.
First, fetch your robots.txt address in a browser and look for the GPTBot group. If it is not there, the file you edited is not the file the site serves, and no crawler will see it either. This happens more often than people expect, especially on shops where the platform generates robots.txt from a template.
Second, check your server logs for GPTBot visits over the following days. The user agent string OpenAI publishes starts with a browser style prefix and ends with the token and a version number, like GPTBot/1.4, plus a link to the OpenAI bot page. OpenAI notes that the version number may change, so match on the token GPTBot, not on the full string. 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, treat a log hit as a claim, not as proof. User agent strings are easy to fake. OpenAI publishes the IP ranges GPTBot uses, in a JSON file, and a genuine visit comes from an address inside those ranges. Compare the IP behind a log hit with that published list before you act on the hit.
OpenAI states that it can take about 24 hours for its search systems to adjust after a robots.txt change. It gives no separate timing for training crawls, so do not judge a GPTBot change an hour after saving it. Give it time, then check the logs again.
What allowing GPTBot does not do
Allowing GPTBot will not make ChatGPT recommend your business. It will not lift your ranking anywhere. It will not make a crawl happen sooner, and it will not describe your products to any model. It will not keep your prices current in answers, because training data is not a live price feed.
It also will not control ChatGPT-User, the fetcher that visits a page because a person asked ChatGPT a question about it. OpenAI says that fetcher is not used for automatic crawling, and that robots.txt rules may not apply to it because a person started the request. Search opt outs belong on OAI-SearchBot, in OpenAI words, not on ChatGPT-User.
If you want models to understand what you sell, that is a different job, and it starts with the pages themselves and with the short briefing file that summarises your business for models. Permission gets crawlers through the door. It does not tell them what they are looking at.
Frequently Asked Questions
Does allowing GPTBot put my business in ChatGPT search answers?
No. GPTBot collects content that may be used to train models. Live ChatGPT search answers run on OAI-SearchBot, which OpenAI controls separately from GPTBot. Allow OAI-SearchBot for search, and decide GPTBot on its own merits.
I allowed GPTBot. Why does ChatGPT still skip my business?
Because a GPTBot allow is not a search allow. Check that OAI-SearchBot has its own group in the file, and check that no firewall or bot filter in front of your site is blocking it even though robots.txt says yes.
Should I disallow GPTBot to keep my content out of training?
That is a business choice, and the split file above shows how to make it without losing search. Disallow GPTBot and allow OAI-SearchBot, and the two decisions stay separate.
How do I know a GPTBot visit in my logs is real?
Match on the token, not the full user agent string, and check the requesting IP against the IP ranges OpenAI publishes for GPTBot. A token alone is a claim. A token plus a matching IP is evidence.
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.