In this article 4
Blocking GPTBot in robots.txt is a legitimate choice if you do not want your content to train models. It is separate from search. ChatGPT finds and cites pages with another crawler, OAI-SearchBot.
GPTBot’s user-agent string
OpenAI’s documentation gives this user-agent string for GPTBot, noting that the version number may change:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot
The robots.txt token is GPTBot. When it fetches robots.txt it may add a robots.txt marker to that string. Because any client can send any user agent, OpenAI publishes GPTBot’s IP addresses at https://openai.com/gptbot.json so you can confirm a request really comes from it.
The robots.txt rule to block GPTBot
User-agent: GPTBot
Disallow: /
OpenAI says that disallowing GPTBot indicates your content should not be used to train its generative AI foundation models. To keep only part of the site out, disallow those paths instead of /.
The robots.txt rule to allow GPTBot
User-agent: GPTBot
Allow: /
A crawler follows the group that names it, so this group lets GPTBot in even if a User-agent: * group disallows everything else.
Block training, keep ChatGPT search
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
OpenAI treats each setting independently. A site can allow OAI-SearchBot to appear in ChatGPT search results while disallowing GPTBot. What does not help is a blanket rule that blocks “anything that sounds like AI”, followed by wondering why you do not appear. The free AI crawler check reads your robots.txt and tells you what each bot is allowed to reach. Run it again after changing the file. It shows access, not whether ChatGPT will name you, and allowing a bot does not make you appear.
Other providers also separate training from search: Anthropic with ClaudeBot and Claude-SearchBot, and Google with Google-Extended, which does not affect your presence in Search.
Checked against OpenAI’s crawler documentation on October 11, 2026.