ChatGPT robots.txt Rules: GPTBot, OAI-SearchBot and ChatGPT-User

⚡ Key takeaways
- → OpenAI runs three crawlers with three jobs. GPTBot collects training data. OAI-SearchBot builds the index ChatGPT search draws on. ChatGPT-User fetches a page when a person asks ChatGPT about it.
- → Blocking GPTBot does not remove you from ChatGPT answers. Those come from the other two agents, so you can opt out of training and stay citable.
- → The most common mistake is a single rule that blocks all three, usually copied from an old "block AI" template. It quietly takes you out of ChatGPT search.
- → OpenAI says robots.txt changes can take about a day to take effect. If nothing changes after several days, a firewall or CDN rule is usually overriding the file.
- → Verify the bot before acting on its traffic. User agent strings are easy to fake, and OpenAI publishes the IP ranges its crawlers use.
You blocked GPTBot, and you are still seeing your content in ChatGPT. Or you allowed everything, and ChatGPT still never cites you. Both usually come from the same misunderstanding: treating OpenAI as one bot when it runs three.
This guide covers only OpenAI. For every other vendor, including Anthropic's three-bot setup and Google-Extended, see the full robots.txt rules for AI crawlers.
OpenAI's three crawlers and what each one does
| User agent | What it does | Block it and you lose |
|---|---|---|
| GPTBot | Collects publicly available text that may be used to train future models | Representation in future training data. Nothing in today's answers. |
| OAI-SearchBot | Crawls and indexes pages for ChatGPT search | Eligibility to appear and be linked in ChatGPT search results |
| ChatGPT-User | Fetches a specific page when a person asks ChatGPT to look at it or when ChatGPT browses on their behalf | The ability for ChatGPT to read your page during a live conversation |
The practical rule follows from the table. GPTBot is a long-term decision about training. The other two decide whether you show up in ChatGPT right now.
The rules to paste
Stay out of training, stay in ChatGPT. This is what most businesses want.
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /Allow everything from OpenAI. Right for publishers and brands that want to be represented in what future models know.
User-agent: GPTBot
Allow: /
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /Keep private sections out of everything. Add path rules under each agent rather than blocking the agent outright.
User-agent: OAI-SearchBot
Disallow: /members/
Disallow: /checkout/
User-agent: ChatGPT-User
Disallow: /members/
Disallow: /checkout/Check for a wildcard block. A line like User-agent: * followed by Disallow: / applies to every agent you have not named. If that sits in your file, OAI-SearchBot is blocked even though no line mentions it by name.
Why you still appear in ChatGPT after blocking GPTBot
Because GPTBot was never the bot that put you there. ChatGPT search results come from OAI-SearchBot's index, and live page reads come from ChatGPT-User. Blocking GPTBot changes what future models may learn from, not what ChatGPT can retrieve today.
There is a second reason. Robots.txt only governs future crawling. Anything collected before you added the rule is not recalled by adding it now.
Why ChatGPT never cites you even though you allow everything
Being crawlable is the entry ticket, not the prize. If OAI-SearchBot can read you and you are still absent from answers, the cause is almost always one of these.
- Something above robots.txt is blocking the bot. Security plugins and CDN bot-fighting settings can return a 403 before the file is ever consulted. Your access log shows this as a 403 against the OpenAI user agent.
- The answer is buried. Engines quote the passage under the heading that matches the question. A page that takes three paragraphs to reach its point loses to one that answers in the first sentence.
- Someone else is the stronger source. Crawlability gets you into the candidate pool. Citation is a selection decision among everyone else in it.
The free AI Crawlability Checker rules out the first cause in about a minute. For the structural causes, see how your H2 structure decides which passage gets quoted.
How long changes take
OpenAI says robots.txt changes can take about 24 hours to be reflected. Crawlers cache the file rather than re-reading it on every request.
If several days pass with no change in your logs, the file is probably not what the bot is obeying. Load yourdomain.com/robots.txt directly in a browser. On WordPress, SEO plugins often serve a virtual robots.txt that differs from any file you edited on disk.
Confirm it is really OpenAI
A user agent string is self-reported, and scrapers routinely claim to be GPTBot. Before you allow, block or analyze traffic by user agent, confirm the request came from OpenAI.
- Take the requesting IP address from your access log.
- Check it against the IP ranges OpenAI publishes for each of its crawlers. OpenAI maintains these as separate lists per agent.
- Treat any request claiming an OpenAI user agent from outside those ranges as an impostor, and handle it at your firewall or CDN, not in robots.txt.
Doing this by hand works for a spot check. CiteTrack's AI crawler analytics does it continuously inside WordPress, verifying each bot and flagging spoofed agents, so you can see which OpenAI crawler actually read which page.
Frequently asked questions
Does blocking GPTBot hurt my Google rankings?
No. GPTBot is OpenAI's crawler and has no connection to Google Search, which runs on Googlebot.
Should I block GPTBot?
It depends on whether you want your content represented in future OpenAI models. Blocking it costs you nothing in today's ChatGPT answers, so it is a reasonable default for businesses that would rather not contribute training data.
What is the difference between OAI-SearchBot and ChatGPT-User?
OAI-SearchBot crawls ahead of time to build ChatGPT's search index. ChatGPT-User fetches a page in the moment, when a person asks ChatGPT to read or browse it. Allow both if you want to be readable and citable in ChatGPT.
Does llms.txt control what ChatGPT reads?
No. Robots.txt is the file OpenAI's crawlers obey. llms.txt is a proposed convention, not a control mechanism, so it cannot allow or block an OpenAI crawler.
Where to go from here
For every other AI vendor, three paste-ready rule sets and how to enforce against crawlers that ignore the file, see the robots.txt rules for AI crawlers. To check whether your site is reachable at all, run through is your website crawlable by AI.
Want to see if AI cites pages like this?
CiteTrack AI tracks your AI crawlers, citations, and the revenue they drive, inside WordPress.
Explore: Features · Crawl Academy · Glossary · Compare · Pricing
