Copy-paste example
User-agent: GPTBot Allow: / # Training opt-out (OpenAI’s documented switch for GPTBot): # User-agent: GPTBot # Disallow: /
audacian.eu names GPTBot in robots.txt and allows it, next to OAI-SearchBot, ChatGPT-User, PerplexityBot, ClaudeBot and Google-Extended. That is a policy you can read in the file. It is not evidence that any of those systems cite us. Our AI search checker reports GPTBot as blocked only when a User-agent group names that token and disallows the path. A * group does not count as naming it. On a disallow we say the site refused that named crawler. We do not say it blocked AI search.
OpenAI’s crawler documentation describes four user agents and says the settings are independent. GPTBot may be used to train generative models. OAI-SearchBot is for showing sites in ChatGPT search. ChatGPT-User fetches a page because a person asked something, and OpenAI says robots.txt may not apply to that user-triggered fetch. OAI-AdsBot checks pages submitted as ads. Blocking one does not block the others. OpenAI also says that if a site allows both GPTBot and OAI-SearchBot, it may use one crawl for both purposes so it does not fetch twice.
GPTBot does not have to be named for a site to be fetched by other OpenAI agents. A robots.txt that never mentions GPTBot has not opted out of training. Under the robots exclusion protocol, a group that is not there does not disallow anything. Only a User-agent line that matches GPTBot, or a group whose token is a prefix of it, carries a rule for that bot. A User-agent: * group is the fallback for agents that have no group of their own. It is not a mention of GPTBot, and it is not evidence that the site made a decision about training.
The token is matched the way robots.txt has always matched tokens: the most specific group wins. A group for GPTBot overrides the * group for requests that identify as GPTBot. OpenAI publishes an example user-agent string that includes “compatible; GPTBot/1.4” and a link to openai.com/gptbot, and says the version number may change. When it fetches robots.txt it may add a robots.txt marker to that string so log lines that omit the path can still be told apart. IP ranges are published at openai.com/gptbot.json. A user-agent string can be spoofed, so a log line that says GPTBot is not proof of OpenAI unless the address is one they publish.
What a disallow does not mean: it does not mean the site “blocks AI search”. Search in ChatGPT is OAI-SearchBot, which OpenAI documents separately, and a site can disallow GPTBot and allow OAI-SearchBot on purpose. It also does not mean Google, Bing or any other company’s products are blocked. Those companies have their own tokens. Writing “we blocked the AI crawlers” because one group says Disallow: / under User-agent: GPTBot overclaims what the file says.
A missing robots.txt is not a block either. If the file is absent, or the server answers 404, there are no rules, and crawlers that honour the protocol may fetch. If the server answers 5xx, or the file cannot be fetched, the usual reading of the protocol is to stop rather than assume everything is allowed. An HTML page returned at /robots.txt is not a robots file. Our checker treats an HTML body as unreadable even when the content type says text/plain, and it does not parse that HTML as “allow all”.
OpenAI says a robots.txt change can take about 24 hours to be picked up for search. That sentence is about their systems noticing the file, not about a page appearing in an answer. Allowing GPTBot is not a request to be cited, and disallowing it is not a request to be forgotten by products that use a different token. The only claim the file supports is the claim written in it.
If you want this done on your site, start with Generative engine optimization.