GPTBot vs OAI-SearchBot is a common source of confusion. GPTBot is OpenAI’s crawler for collecting content that may be used to train its models. OAI-SearchBot is the crawler that builds the index behind ChatGPT search. You can block the first and still allow the second, which means you can opt out of training while staying eligible to appear in ChatGPT answers. This guide shows how, with examples you can paste into robots.txt.
Quick answer: If you want to be cited in ChatGPT search, allow OAI-SearchBot. If you do not want your content used for model training, disallow GPTBot. These are separate rules in your robots.txt file. Blocking GPTBot does not remove you from ChatGPT search, but blocking OAI-SearchBot does.
Key takeaways
- AI crawlers fall into three groups: training, search and user-triggered fetchers.
- Each group can be allowed or blocked on its own.
- robots.txt is a request that compliant bots follow. It is not a lock.
What is the difference between GPTBot and OAI-SearchBot?
GPTBot crawls content that may be used to train OpenAI’s foundation models. OAI-SearchBot surfaces websites in ChatGPT’s search features and is the one that decides whether you can appear there. A third agent, ChatGPT-User, fetches individual pages when a person’s request needs live information. Search Engine Journal confirms that blocking GPTBot while allowing OAI-SearchBot keeps your site eligible for ChatGPT search but signals that your content should not be used for training.
The main AI crawlers at a glance
| Crawler | Company | Purpose | Blocking it means |
|---|---|---|---|
| GPTBot | OpenAI | Training data | Opt out of training |
| OAI-SearchBot | OpenAI | ChatGPT search index | Lose ChatGPT search visibility |
| ChatGPT-User | OpenAI | Live fetch for a user request | Fewer live page reads |
| ClaudeBot | Anthropic | Training data | Opt out of training |
| Claude-SearchBot | Anthropic | Search indexing | Lose Claude search visibility |
| PerplexityBot | Perplexity | Search indexing | Lose Perplexity visibility |
| Google-Extended | Gemini training control | Opt out of training use |
Vendors change their crawler lists, so confirm names in each company’s own documentation before you edit your file.
Should you allow or block AI crawlers?
It depends on what you want from AI search.
- You want to be cited and found: allow the search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot).
- You do not want content used for training: block the training crawlers (GPTBot, ClaudeBot, Google-Extended).
- Your content is private or paid: do not rely on robots.txt. Put it behind a login.
Many publishers choose the middle path: allow search, block training. It keeps visibility while limiting use of your work for model training. Blocking the search bots removes a possible source of visitors, so think twice before doing it. For the bigger picture on why this matters, read what is replacing SEO in 2026.
Copy-ready robots.txt examples
Option A: Allow AI search, block AI training
# Block training crawlers
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
# Allow AI search and live-answer bots
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: PerplexityBot
Allow: /
Option B: Allow everything
Do not add any AI-specific rules. If your general rules already allow crawling, the bots can visit. You can also add explicit “Allow: /” lines for each bot, as above.
Option C: Block all AI crawlers
Add a “Disallow: /” group for each bot in the table. You will opt out of training and also lose AI search visibility from those tools.
How to edit robots.txt in WordPress: 5 steps
- Open your current file. Visit yourdomain.com/robots.txt and copy what is there.
- Find where it lives. It may be a real file in your root folder, or a virtual file edited through an SEO plugin. Our WordPress robots.txt guide shows both.
- Add the new groups. Paste the rules at the end. Keep your existing Googlebot and Sitemap lines.
- Save and re-check. Reload yourdomain.com/robots.txt and confirm the new lines appear.
- Check your firewall or CDN. A security tool can block bots even when robots.txt allows them.
Common mistakes
- Blocking every bot with a broad rule and accidentally blocking Googlebot or Bingbot.
- Mixing up the training and search crawlers.
- Assuming robots.txt hides private pages. It does not.
- Forgetting that user-triggered fetchers may not always follow robots.txt.
Frequently asked questions about GPTBot vs OAI-SearchBot
Does blocking GPTBot remove my site from ChatGPT?
No. GPTBot relates to training. ChatGPT search visibility depends on OAI-SearchBot.
Should I allow OAI-SearchBot?
Yes, if you want to be able to appear and be cited in ChatGPT search.
What is ChatGPT-User?
It is an agent that fetches a specific page when a person’s request needs live information.
Is robots.txt enough to protect my content?
No. It is a request that compliant crawlers follow. Use logins or paywalls for private content.
How do I check if bots are visiting?
Look at your server logs or your host’s bot reports for the user-agent names above.
Conclusion
For most sites, the best GPTBot vs OAI-SearchBot setup is simple: allow the search bots, block the training bots if you prefer, and test the file. Next, read our steps to get indexed in ChatGPT search.

