Visibility
Robots.txt for ChatGPT and Gemini: who do you let in?
Six robots ring your bell, from OAI-SearchBot to Google-Extended. Make a robots.txt with the generator and see what each choice does for ChatGPT, Gemini and Bing.
Every day there are robots at your door. One comes to see whether your page may appear in ChatGPT. The second was sent by a customer to look something up. The third copies your text to teach a language model. They ring the same bell, and your robots.txt is the little sign on the door that says who may come in. A sign, not a lock. That difference comes in handy further on.
Who is actually ringing?
Six names, three kinds of visit. In its overview of the robots OpenAI explains that every robot has a setting of its own that is separate from the others. That way you can allow one robot and refuse another without them affecting each other.
| Robot | Kind | What it does | What refusing costs |
|---|---|---|---|
| OAI-SearchBot | Search | Builds the search index of ChatGPT | According to OpenAI you are not in the search answers, at most as a bare link |
| ChatGPT-User | On request | Opens a page because someone in ChatGPT asked for it | Possibly nothing: according to OpenAI robots.txt does not have to apply here |
| GPTBot | Training | Collects text to train the models of OpenAI | Your text may not be used for training, your place in the search answers stays |
| Googlebot | Search | Reads your site for Google Search | You drop out of Google and can no longer show a snippet |
| Google-Extended | Training | Setting: may Google use your text for Gemini | Gemini may not train on your text or use it to back up answers |
| Bingbot | Search | Reads your site for Bing | You drop out of Bing and out of what Bing and Copilot can quote |
There is also OAI-AdsBot. It only visits pages that you yourself submit as an ad in ChatGPT, so you do not have to arrange that as long as you do not advertise there.
How do you make your own guest list?
For each robot you set whether it may come in, and at the bottom the robots.txt grows along. Three buttons at the top set everything in one go: everything open, search and fetch open with training closed, or everything closed.
Read what comes out the way a robot does. Every group begins with User-agent and the name of the robot. Below it is Allow: / (the whole site may) or Disallow: / (the whole site closed). The group with the asterisk at the bottom is for all other visitors, and the Sitemap line shows every robot the way to your pages. The file belongs in the root folder of your site. How you change it depends on your platform: in Next.js it is app/robots.ts, on Shopify the template robots.txt.liquid.
Which setting fits you?
The generator gives you a file. Whether it suits you depends on what you do with your texts. This is my verdict per setting, with the consequence for ChatGPT and Gemini.
| Setting | Fits | Consequence for ChatGPT and Gemini |
|---|---|---|
| Everything open | A business that wants to be mentioned as often as possible | ChatGPT and Gemini may read you, fetch you and learn from you. This is how I leave it myself. |
| Search and fetch open, training closed | Whoever sells their texts, such as a publisher or a course maker | You stay visible in ChatGPT and Google. Models do not learn from your text. |
| Everything closed | A private site or a site under construction | You appear in no answer at all. A Disallow does not keep a page out of Google either: noindex exists for that. |
Which robot decides whether ChatGPT mentions you?
One: OAI-SearchBot. OpenAI writes that sites that keep it out do not appear in the search answers of ChatGPT and at most as a bare link. OpenAI recommends allowing it and letting through the IP addresses that it publishes itself, the list for this robot is at openai.com/searchbot.json. That IP list is for your host or firewall. For your robots.txt only the name counts.
Allowing does not mean it comes straight away. At Tafelhuys, a webshop for oak tables that I built, in the thirty days up to 13 November it fetched only robots.txt 74 times and nothing else, three weeks after the go-live of 149 pages. An open door is not yet a visit. What I saw on my own site: it reads what is in the menu and the footer and follows links. It did not fetch the sitemap there. So make sure every page has a link, and read in the log of my own site how often which robot really came.
Does ChatGPT-User follow your robots.txt?
OpenAI writes that robots.txt may not apply here, because a user starts the action. According to OpenAI the robot is not used to crawl the web automatically and also not to decide whether you appear in the search results. A Disallow for ChatGPT-User is therefore a request that OpenAI itself does not promise to honour.
I allow it. In the thirty days up to 15 November it came to my site 117 times, 66 of which for the homepage. On a visit like that ChatGPT reads exactly what you put on that page, so your facts belong there.
Is robots.txt a lock?
No, and Google says so itself. A robots.txt is not meant to keep a page out of Google: a blocked address can still appear in the results without a description, and not every search engine abides by it. Three things follow from that:
- If you want to keep a page out of Google, use noindex. Do not also block the same page in robots.txt, because then Googlebot never comes across the noindex. In my own code that rule stands as a lesson: pages with noindex stay crawlable.
- If you really want to shield something, put it behind a login. A sign only keeps out polite visitors.
- ChatGPT-User can ignore a Disallow, OpenAI says itself. So do not count on a rule for that robot working.
The most useful thing I put in robots.txt myself had nothing to do with AI
In Search Console I saw that 86 percent of Googlebot's crawl requests on my site went to addresses with ?_rsc=: 28,700 of 33,300 in 90 days, against 5 percent real pages. Those are loose pieces of data that Next.js fetches in advance at every link and that the page itself does not need. Two lines in robots.txt exclude them.
Furthermore my file only blocks /api/. The six robots from this article may go everywhere, also GPTBot and Google-Extended. That is my choice: I want models to know my name and prices and I do not earn my money with separate texts. A publisher or a photographer who does chooses the middle setting from the table above and loses nothing in the search answers by doing so.
What does Google-Extended do with Gemini?
Google-Extended is not a robot but a setting. Google describes it as a separate token with which you decide whether Google may use your text to train Gemini and to back up answers in Gemini apps. According to Google it has no influence on your inclusion in Google Search and is not a ranking signal. Because it has no user agent of its own, you never see it in your log: no visitor with that name comes, it is only a line in your file.
Something else applies to Google's AI Overviews and AI Mode. Google writes that no extra requirements or special code apply for them: your page has to be indexed and allowed to be shown with a snippet. What you can steer on that side runs through Googlebot and through nosnippet and noindex, not through Google-Extended. What blocking Google-Extended does exactly to how often Gemini mentions you, I have not measured and Google does not say either.
What changes at Bing in 2027?
On 30 October 2026 Microsoft announced two separate preferences. You set AI training with the shared robots.txt signal __usage_ai-training, for your whole site or a path. Grounding, using your page to back up an answer, you set per page with a meta tag. From 1 February 2027 Bing honours them and both default to allow. Microsoft itself adds that you become less visible in AI answers if you refuse grounding, without your place in ordinary Bing results changing. Google writes that it wants to support the same training signal in early 2027.
How to set up Bing yourself and report new pages is in Setting up Bing Webmaster Tools and IndexNow.
What does a robots.txt for an ordinary site look like?
Three examples, from boring to unfortunate. A robot follows only one group: the first, most specific one that fits its name. A group named OAI-SearchBot therefore wins over the group with the asterisk.
| Example | What it says | What happens |
|---|---|---|
| Ordinary company site | User-agent: * with Allow: / and Disallow: /api/, then Sitemap: https://www.jouwsite.nl/sitemap.xml | Everything open except technology. This looks most like what is on my own site. |
| Training closed | On top of that User-agent: GPTBot with Disallow: / and User-agent: Google-Extended with Disallow: / | Search robots stay in, training does not. |
| The mishap | User-agent: * with Disallow: / | Everything closed, also for OAI-SearchBot. This rule belongs on a test site. If it is still on your real site after the go-live, you no longer see ChatGPT, Google and Bing. |
What is on your site right now, you see by opening jouwsite.nl/robots.txt in your browser. If there is a Disallow: / anywhere under User-agent: *, your whole site is closed to every robot without a group of its own.
Why does an open robots.txt not help if your host keeps the door shut?
A robot that is stopped at the gate never reads your robots.txt. Some hosts and CDNs have a switch that blocks or challenges AI robots. On my own site Vercel's firewall was off and the setting for AI robots was on allow, checked on 7 October 2026. So first look whether a gate is closed before you start fiddling with robots.txt, otherwise you solve the wrong problem. If your firewall filters on IP address, use the lists that OpenAI publishes.
How do you know whether it works?
Look in your log to see who comes, not in your robots.txt. On my own site I counted in the thirty days up to 15 November 1,603 requests from OAI-SearchBot, 149 from GPTBot and 117 from ChatGPT-User. The explanation per robot is in which AI robots visit your website. Keep in mind that a name in a log can be faked by anyone. The IP address proves where a visit comes from.
Are you unsure which setting suits you, or do you want me to check your robots.txt, your firewall and your log in one go? That is part of visibility in ChatGPT and Google, and the rest of the story is in getting found in ChatGPT and Gemini. Send me a message, I usually reply within 2 hours, seven days a week.
Sources
- overview of the robotsdevelopers.openai.com
- is not meant to keep a page out of Googledevelopers.google.com
- Google describes it as a separate tokendevelopers.google.com
- no extra requirements or special codedevelopers.google.com
- two separate preferencesblogs.bing.com
Frequently asked questions on this topic
Which robot do I have to allow to appear in ChatGPT?
Do I have to block GPTBot?
Does ChatGPT-User follow my robots.txt?
Do I disappear from Google if I block Google-Extended?
Is robots.txt enough to keep a page out of Google?
Where does robots.txt have to be?
Do I need an llms.txt next to my robots.txt?
How long does it take for a change to work?
What changes at Bing in 2027?
Which robots do I allow on my own site?
Apply this article to your situation?
In a conversation I turn this kind of insight into concrete priorities for your channels and your site.
Questions about this topic
Short and detailed answers to the questions that go with this.
Which AI robots visit my website and should I allow them?
Whoever wants to appear in ChatGPT allows OAI-SearchBot in robots.txt: that is the robot for the search function.
Read the answerIs an llms.txt file worth it?
An llms.txt is a text file that a website makes available as an overview for AI assistants. It takes little time, but there is no proven effect.
Read the answer



