GPTBot and OAI-SearchBot in robots.txt
OpenAI uses different bots for different jobs. You set rules for each one in your robots.txt file, a text file that tells bots which pages they may visit. OAI-SearchBot finds pages for ChatGPT Search. GPTBot collects pages that may be used to train OpenAI’s models. ChatGPT-User visits a page when a person asks ChatGPT to open it.
Does blocking GPTBot take you out of ChatGPT Search?
No. GPTBot is for possible model training, and OAI-SearchBot is for ChatGPT Search. OpenAI lets you control each one separately.
High confidence. Strong evidence, or the platform says so in its own docs. Based on 2 sources: 2 official docs.
What to do
Check the entries for both crawlers in robots.txt. If you want to show up in ChatGPT Search, make sure OAI-SearchBot can also get through your hosting or CDN settings.
On this page
Which OpenAI bots should you allow?
It depends on what you want, because each bot is a separate choice. Blocking GPTBot doesn’t block OAI-SearchBot. So you can say no to training and still show up in ChatGPT Search. If you block OAI-SearchBot, OpenAI says your site can still appear as a plain navigation link in some cases it documents.
ChatGPT-User is different. It visits a page only because a person asked ChatGPT to open it, and OpenAI says robots.txtrobots.txtA plain text file at the root of your site that tells search engine bots which pages they may crawl. rules may not apply to it. That means robots.txt can’t keep anything private.
Bottom line
Robots.txt is a request, not a lock. Put private pages behind a login, and use robots.txt only to choose which public pages each bot should visit.
How to allow ChatGPT Search but block GPTBot
Say you run a public help site. You want traffic from ChatGPT Search, but you don’t want GPTBot collecting pages for training. Give each bot its own group of rules, like the example below. Add these lines to your existing robots.txt file instead of replacing it, and keep any other rules you need. If your content lives on more than one subdomain, such as help.example.com, check the robots.txt file on each one.
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /
# ChatGPT-User is user-triggered. Robots.txt may not apply. Bottom line
This setup lets ChatGPT Search find your pages and keeps GPTBot out. It doesn’t guarantee you’ll appear in answers, and it doesn’t hide private pages.
How to check that OpenAI’s bots can reach your pages
Your robots.txt can allow a bot while your firewall still blocks it. A firewall is a security layer, often run by your host or a service like Cloudflare, that can challenge or block visitors that look like bots. Check both before you decide ChatGPT is ignoring your site.
- Open your live robots.txt in a browser, using the same address format as your public pages (with or without www). Check that each bot’s rules cover the folders you meant.
- Ask your host or developer to check the server logs for visits from the IP addresses OpenAI publishes for each bot. Public pages should return a normal 200 (OK) response, not a 403 (forbidden), a security challenge, or a timeout.
- Write down your new rules and the date you changed them. Give the bots time to visit again. Then repeat the same set of ChatGPT searches and look for visits from chatgpt.com in your analytics.
Bottom line
If you’re not showing up, check the firewall before you blame the rules. A correct robots.txt does nothing if your security settings turn the bot away.
The evidence
OpenAI documents independent crawler permissions. Search access makes a site eligible for inclusion. Placement is still up to ChatGPT Search.
- Overview of OpenAI Crawlers
OpenAI says the two permissions are independent. GPTBot is for potential model training and OAI-SearchBot is the search crawler.
- Searching the web with ChatGPT
OpenAI advises site owners to allow its search crawler in robots.txt and at the host or content delivery network. Placement is not guaranteed.
Every source above was checked against the original by a second reviewer. How we rate the evidence