5 min read
How to configure robots.txt to appear in ChatGPT Search responses
OpenAI's official documentation details what each of its crawlers does: GPTBot trains models, OAI-SearchBot feeds ChatGPT Search, and ChatGPT-User acts on behalf of the user. Understanding the difference is the first step of any GEO strategy.
- Reading
- 5 min
- Tables
- 1
- Code
- 3
OpenAI's official documentation details what each of its crawlers does: GPTBot trains models, OAI-SearchBot feeds ChatGPT Search, and ChatGPT-User acts on behalf of the user. Understanding the difference is the first step of any GEO strategy.
Anyone who handles technical SEO already knows that Googlebot is no longer the only relevant robot in robots.txt. OpenAI's official documentation, available at platform.openai.com/docs/bots, details four distinct user-agents that the company uses to crawl the web, and each one responds to a different permission. Confusing the four is the most common mistake made by anyone trying to appear (or disappear) from ChatGPT's responses.
The central point of the documentation is that each bot is independent: allowing one does not allow the others, and blocking one does not block the others. It's possible, for example, to appear in ChatGPT's search results without the site's content being used to train OpenAI's foundation models. This separation is the basis of any GEO (generative engine optimization) decision from now on.
The four crawlers, one by one
The table below summarizes what each user-agent does, according to OpenAI's documentation:

| Crawler | Function | Affects AI training? | Affects appearance in ChatGPT Search? |
|---|---|---|---|
GPTBot | Crawls content to train OpenAI's generative foundation models | Yes | No |
OAI-SearchBot | Crawls and indexes pages for ChatGPT's search responses | No | Yes |
ChatGPT-User | Accesses a specific page when a user requests it in a conversation or uses a Custom GPT | No | No (one-off action, not indexing) |
OAI-AdsBot | Validates landing pages submitted as ads in ChatGPT | No | No |
The detail that usually goes unnoticed: ChatGPT-User isn't used to decide whether a site appears in search responses. It only visits the page when a user explicitly requests it within a conversation, and the documentation is direct in stating that robots.txt rules may not even apply in this case, since the action is initiated by the person, not by automated crawling.
Configuring robots.txt in practice
To appear in ChatGPT Search responses, the minimum requirement is to allow OAI-SearchBot. A basic full-permission block looks like this:
User-agent: OAI-SearchBot
Allow: /Those who want to appear in search but don't want their content to feed foundation model training combine the two directives:
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /This combination is exactly the example OpenAI's own documentation uses to illustrate the independence between the bots: a site can allow OAI-SearchBot to appear in search results while disallowing GPTBot to signal that the crawled content should not be used to train generative models.
To block both at the same time (neither search nor training), it's enough to:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Disallow: /It's worth noting an operational detail: if the site allows both bots, OpenAI may reuse the result of a single visit for both purposes, avoiding duplicate crawling. This means allowing both can be more efficient in terms of crawl load than keeping them separate; if GPTBot is blocked, on the other hand, it simply stops crawling the site, which reduces, rather than maintains, the load associated with that specific bot.
Audit checklist for those who already have robots.txt in production
Before editing anything, it's worth running a quick audit of the current crawlers:
- Open the domain's
/robots.txtand search forGPTBot,OAI-SearchBot,ChatGPT-User, andOAI-AdsBot(many sites block all AI bots by default, without differentiating search from training). - Check the server logs for the full user-agents (with version, like
OAI-SearchBot/1.4), since some application firewalls block by partial string and can drop legitimate requests. - Validate the IP ranges published by OpenAI (
openai.com/searchbot.json,openai.com/gptbot.json,openai.com/chatgpt-user.json,openai.com/adsbot.json) against firewall rules, becauserobots.txtis a convention respected by the bot, not a technical barrier. - Measure propagation time: the documentation itself warns that changes to
robots.txtcan take around 24 hours to be reflected in ChatGPT's search results.
How to measure the impact in practice
This is where the part that separates GEO from guesswork comes in. After adjusting robots.txt, the technical SEO professional has three signals to track:
- Server logs: the volume of
OAI-SearchBotrequests before and after the change indicates whether crawling actually increased. - Mentions in ChatGPT responses: testing prompts relevant to the site's niche, in time windows before and after the release, is today the equivalent of running a search in Google Search Console for citations in generative AI.
- Referral traffic: a good portion of ChatGPT's responses include source links; tracking the
chatgpt.comreferrer in analytics shows whether visibility turned into real clicks.
None of these signals is automated by OpenAI today, which means the audit is manual and repeated: there's no official OpenAI "Search Console" to confirm indexing, only empirical observation of results.
What does NOT change with these permissions
One point the documentation makes explicit and that's worth reinforcing: allowing OAI-SearchBot does not guarantee appearance in any specific response. The permission is a necessary condition, not a sufficient one: the model still decides, case by case, whether the page is relevant enough to cite. This is different from traditional SEO, where a well-indexed site has some ranking predictability; in generative search, citation depends on the model's judgment about the user's prompt.
It's also worth noting that OAI-AdsBot has no relation to organic GEO whatsoever: it only visits pages that the advertiser itself submitted as a landing page for an ad on ChatGPT, and the content collected does not feed model training. Confusing this bot with the other three in robots.txt is a rare mistake, but one that shows up in configurations copied from templates without review.
For teams that already run robots.txt audits for Googlebot and Bingbot, the exercise of adding OpenAI's directives is quick. The real work is deciding, based on business data rather than generic fear of AI, which combination of permissions makes sense: appearing in search without handing over training data is today the most common configuration among sites that live off organic traffic.
Translated from the Brazilian Portuguese original · Read the original
Google fixes documentation on how Googlebot handles errors in robots.txt
Google updated its official guide on how Googlebot interprets HTTP errors and DNS failures in robots.txt. The company says the crawler's behavior hasn't changed, but the fine print defining when it stops crawling got clearer, and that has a direct impact on crawl budget.





