OAI-SearchBot and GPTBot are separate OpenAI crawlers with different stated purposes. OAI-SearchBot helps discover pages for ChatGPT’s search results; GPTBot crawls publicly available information that may be used for model training. Both are controlled with separate robots.txt tokens. The presence of either bot in server logs does not itself prove that a URL was cited, a person visited the page or content entered a training dataset. OpenAI crawler documentation.
Blocking GPTBot does not automatically opt a site out of ChatGPT search discovery. A publisher may allow OAI-SearchBot while disallowing GPTBot, communicating separate preferences for search discovery and training-related crawling. OpenAI says this configuration can preserve search eligibility; it does not guarantee search inclusion, citations or referral clicks.
Architectural Comparison: OAI-SearchBot vs. GPTBot

Understanding how these bots operate within OpenAI’s infrastructure clarifies why independent robots.txt directives are necessary:
OAI-SearchBot
- Role: Search Discovery & Indexing
- Product: ChatGPT Search
- Data Lifecycle: Search Index & RAG
- Referral Mechanism: Direct Citations & Links
- Robots Token: User-agent: OAI-SearchBot
- Verify source IP via searchbot.json
GPTBot
- Role: Model Training Scraper
- Product: model training-related crawling
- Data Lifecycle: Offline Pre-training Corpora
- Referral Mechanism: None (Parametric Memory)
- Robots Token: User-agent: GPTBot
- Verify source IP via gptbot.json
Side-by-Side Technical Specification
| Feature / Attribute | OAI-SearchBot | GPTBot | ChatGPT-User (Reference) |
|---|---|---|---|
| Primary Function | Indexing and retrieving content for ChatGPT Search | Scrapes public web data for training generative foundation models | On-demand fetching triggered by an individual user prompt |
| User-Agent String Token | OAI-SearchBot |
GPTBot |
ChatGPT-User |
| Full User-Agent Header | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; OAI-SearchBot/1.0; +https://openai.com/searchbot) |
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.0; +https://openai.com/gptbot) |
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ChatGPT-User/1.0; +https://openai.com/bot) |
| Referral mechanism | Yes (Generates inbound referral clicks via citation links) | No (No direct citations or live user sessions) | Conditional (Only if the specific user clicks the link they asked about) |
| Robots.txt handling | Search discovery preferences can be set under its product token | Training-related crawl preferences can be set under its product token | User-triggered fetches may not follow the same automatic-crawl rules; OpenAI says robots.txt directives may not apply |
| Current identity verification | Official searchbot.json IP ranges |
Official gptbot.json IP ranges |
Official chatgpt-user.json IP ranges |
| Published IP Feed | https://openai.com/searchbot.json |
https://openai.com/gptbot.json |
https://openai.com/chatgpt-user.json |
| Impact of Blocking | Excludes pages from ChatGPT Search index and real-time citation | Prevents content from being used to train future OpenAI foundation models | Prevents ChatGPT from fetching links pasted directly into user prompts |
For a broader overview of how OpenAI’s agents fit into the global landscape of search engines and scraping bots, see our master guide to AI Crawlers Explained.
Detailed Role: What OAI-SearchBot Actually Does
OpenAI launched OAI-SearchBot to power its conversational search capabilities within ChatGPT. As documented in the OpenAI Publisher FAQ, OAI-SearchBot is used to index web content for ChatGPT Search, enabling websites to surface in search results and citation snippets. Unlike general training scrapers that process content offline over months-long development cycles, OAI-SearchBot operates continuously to discover new documents, re-crawl updated pages, and populate OpenAI’s search retrieval index.
When a user submits a search query in ChatGPT (such as "best enterprise data governance platforms 2026"), the system evaluates the prompt using Retrieval-Augmented Generation (RAG). To produce an accurate, grounded answer with transparent citations, the retrieval engine queries its index of documents crawled by OAI-SearchBot or dispatches search queries across trusted index partners.
Key characteristics of OAI-SearchBot:
- Search Discovery: It crawls links, parses metadata, extracts clean HTML copy, and maps site structure.
- Attribution & Citations: Content indexed by
OAI-SearchBotprovides the text snippets that ChatGPT evaluates to generate in-line footnote citations and source cards. - No Model Training: OpenAI explicitly documents that crawling activity performed under the
OAI-SearchBotuser-agent is not used to train or fine-tune foundation models such as GPT-4 or successor architectures.
Blocking OAI-SearchBot tells OpenAI: "Do not index our site for ChatGPT Search." Consequently, your domain will rarely or never appear as a linked source card in ChatGPT Search answers. To learn more about optimizing for this retrieval engine, review our guide to ChatGPT Search SEO.
Detailed Role: What GPTBot Actually Does
GPTBot is OpenAI’s foundation model training crawler, officially documented in OpenAI’s Bot Documentation. Its operational mandate is broad-scale data ingestion across the open web. The raw text gathered by GPTBot is sanitized, tokenized, and processed into pre-training corpora that teach neural networks language structure, factual relationships, coding syntax, and world knowledge.
Key characteristics of GPTBot:
- Offline Training Corpora: Data crawled by
GPTBotenters OpenAI’s deep learning pipeline. It affects parametric memory—the internal weight associations stored inside neural models. - No Real-Time Citations: A visit from
GPTBotdoes not create an index record for real-time search queries. It does not provide direct links back to your website for current user queries. - Intellectual Property & Licensing: Decisions to allow or block
GPTBotare typically driven by copyright strategy, commercial content licensing, and data sovereignty considerations rather than SEO.
Blocking GPTBot tells OpenAI: "Do not use our website to train your foundation models." As confirmed in OpenAI’s publisher guidance, blocking GPTBot does not prevent a website from appearing in ChatGPT Search, provided OAI-SearchBot is allowed.
The Third Agent: Understanding ChatGPT-User
In addition to OAI-SearchBot and GPTBot, OpenAI deploys a third user agent: ChatGPT-User. Technical administrators frequently confuse ChatGPT-User with autonomous crawlers, leading to misconfigured firewalls.
As defined in OpenAI’s documentation, ChatGPT-User is not an autonomous crawler. It is an on-demand HTTP client that acts strictly on behalf of an active ChatGPT user. If an enterprise user pastes an internal documentation URL into ChatGPT and prompts, "Summarize this deployment runbook," ChatGPT dispatches a request using the ChatGPT-User header to retrieve the page content.
Operational implications:
- OpenAI says
ChatGPT-Userperforms some user-initiated requests and that robots.txt directives may not apply to them. ADisallowdoes not guarantee that the ChatGPT interface will display any specific error message or prevent all fetches. Use authentication or application controls for protected content. ChatGPT-Userrequests originate from OpenAI’s cloud egress proxies rather than search crawler infrastructure.- Blocking
ChatGPT-Userdoes not prevent autonomous search crawling or model training; it only stops manual URL analysis by end-users.
Publisher Decision Matrix: Choosing the Right Policy

Organizations should not adopt robots.txt rules copied from third-party blogs without evaluating their strategic objectives. The table below outlines four standard publisher postures and their corresponding robots.txt rules:
Allow OAI-SearchBot, disallow GPTBot
Communicates a search-discovery allowance and a training-crawl opt-out. Search results and citations are not guaranteed.
Allow both crawlers
Permits compliant crawler access for both stated purposes on publicly accessible pages.
Disallow both crawlers
Communicates an opt-out from search discovery and training-related crawling; it does not erase past data.
Allow selected public sections
Use explicit path rules in each user-agent group; protect actual private material with authentication.
Posture 1: Maximum Search Visibility with Model Training Opt-Out (Recommended for Most Publishers)
This posture is ideal for digital publications, media outlets, SaaS providers, and corporate blogs. It allows ChatGPT Search to index content, generate citations, and send referral traffic, while preventing OpenAI from ingesting content to train foundation models:
# Allow ChatGPT Search discovery and attribution
User-agent: OAI-SearchBot
Allow: /
# Block foundation model training scraping
User-agent: GPTBot
Disallow: /
Posture 2: Full Open Web Participation
Ideal for open-source projects, academic institutions, and organizations that actively want their documentation represented both in search retrieval and within foundation model parametric weights:
# Allow both search discovery and model training
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Allow: /
Posture 3: Complete OpenAI Exclusion
Ideal for private subscription services, protected database providers, or organizations with strict legal directives prohibiting any interaction with OpenAI systems:
# Block both search discovery and model training
User-agent: OAI-SearchBot
Disallow: /
User-agent: GPTBot
Disallow: /
Posture 4: Selective Directory Protection
A hybrid configuration allowing search indexing across public articles while preventing both search and training crawlers from touching proprietary research or member areas:
# Allow search indexing for public articles, protect private directories
User-agent: OAI-SearchBot
Disallow: /private-research/
Disallow: /member-resources/
Allow: /
# Block training scraping entirely
User-agent: GPTBot
Disallow: /
For full syntax validation and rule precedence instructions, refer to our comprehensive guide on How to Configure Robots.txt for AI Search Crawlers.
RFC 9309 Robots.txt Precedence Traps
When implementing separate rules for OAI-SearchBot and GPTBot, understanding the Robots Exclusion Protocol standard (RFC 9309) is essential to avoid accidental misconfigurations.
The Group Isolation Rule
Under RFC 9309, a specific matching product token takes precedence over the generic User-agent: * group. Where the same product token appears in multiple groups, their rules are combined. Generic restrictions do not automatically carry over to a specific group, so repeat relevant disallows while remembering that robots.txt is not real security.
Consider this flawed configuration:
# Flawed Configuration
User-agent: *
Disallow: /admin/
Disallow: /staging/
User-agent: OAI-SearchBot
Allow: /
In this example, because a dedicated User-agent: OAI-SearchBot block exists, OAI-SearchBot ignores the User-agent: * block entirely. Consequently, /admin/ and /staging/ are left completely open to OAI-SearchBot!
To prevent security leaks, replicate path restrictions within the specific crawler group:
# Correct RFC 9309 Configuration
User-agent: *
Disallow: /admin/
Disallow: /staging/
User-agent: OAI-SearchBot
Disallow: /admin/
Disallow: /staging/
Allow: /
User-agent: GPTBot
Disallow: /
How to Verify Authentic OpenAI Crawler Requests

Because malicious bots frequently forge user-agent strings, web servers must verify incoming requests claiming to be OAI-SearchBot or GPTBot.
Step 1: Verify the source IP against OpenAI’s official ranges
OpenAI publishes machine-readable IP ranges for its crawlers. Match the actual client source IP against the correct list after ensuring that your CDN or reverse proxy reports the real client address. Do not authenticate OAI-SearchBot solely because a hostname resembles search.openai.com; OpenAI’s current published crawler guidance specifies IP feeds. A claimed user-agent header is not proof.
Verifying OAI-SearchBot
-
Retrieve the current official list for the specific crawler from searchbot.json and identify its published CIDR prefixes:
curl -fsS https://openai.com/searchbot.json # Inspect the prefixes array; each ipv4Prefix or ipv6Prefix is a CIDR range. # Compare the real request IP to this list, not a fictional PTR hostname. -
Confirm that the client IP belongs to one of those exact CIDR ranges using your WAF’s IP-matching rules or the standard Python
ipaddresslibrary. Re-fetch the vendor list periodically as ranges change. -
For GPTBot, use a different official IP feed, because OpenAI’s search and training crawlers do not necessarily use the same networks:
curl -fsS https://openai.com/gptbot.json # For user-triggered requests use https://openai.com/chatgpt-user.json # IP membership, not reverse-DNS suffix alone, is the verification step.
Verifying GPTBot
For GPTBot, compare the observed source IP with the current gptbot.json prefixes. Do not assume a particular *.openai.com PTR naming convention proves identity.
Step 2: Automated Validation via Published IP Feeds
If your infrastructure sits behind a cloud firewall (such as Cloudflare or AWS WAF) that does not support per-request rDNS lookups, ingest OpenAI’s published JSON feeds to maintain dynamic IP allowlists:
- OAI-SearchBot IP Feed:
https://openai.com/searchbot.json - GPTBot IP Feed:
https://openai.com/gptbot.json
Common Edge Failure: Robots.txt Allows, but WAF Blocks
A website can allow OAI-SearchBot in robots.txt yet still block genuine requests through a WAF or network policy. Check authenticated bot IPs against server and edge logs to identify 403, 429 or challenge responses. Even if blocking is fixed, citations and rankings are not guaranteed, and an absence of citations is not proof that the WAF was the cause.
Modern web application firewalls employ behavioral bot-mitigation engines that flag automated HTTP requests as threats. Because AI crawlers originate from cloud data centers (e.g., Microsoft Azure, AWS) and do not solve interactive browser challenges, default WAF security policies often block them silently.
Diagnostic Protocol
- Search Access Logs for HTTP 403s:
grep -i "OAI-SearchBot" /var/log/nginx/access.log | awk '{print $1, $9, $7}' | grep "403" - Review Firewall Security Events: In your CDN dashboard (Cloudflare, Fastly, CloudFront), filter security events for User-Agent matching
OAI-SearchBot. - Implement Managed Bypass Rules: Configure a custom WAF rule that permits traffic matching verified OpenAI ASN/IP ranges or verified bot signatures to bypass Web Application Firewall challenges.
For an end-to-end testing workflow covering status codes, headers, and rendering, see our comprehensive AI Search Crawlability Audit.
What Robots.txt Controls Cannot Do
While configuring robots.txt for OAI-SearchBot and GPTBot is critical, site owners must maintain realistic expectations regarding the boundaries of the protocol:
- No Retroactive Model Erasure: Disallowing
GPTBottoday does not delete knowledge, weights, or associations that foundation models acquired from your site during previous training runs. Robots.txt is a forward-looking crawl instruction, not a data deletion mechanism. - No Guarantee of Search Citations: Allowing
OAI-SearchBotgrants crawl access; it does not guarantee that ChatGPT Search will cite your content. Selection depends on retrieval relevance, content depth, factual accuracy, and query intent. Review How to Get Cited by ChatGPT for actionable citation optimization strategies. - No Protection Against Third-Party Scrapers: Disallowing
GPTBotdoes not stop unverified third-party scrapers that harvest web content and sell datasets to AI companies. Total proprietary data protection calls for server-side authentication and bot-detection infrastructure.
Summary: Key Takeaways for Technical Teams
- Decoupled Roles:
OAI-SearchBotgoverns ChatGPT Search discovery;GPTBotgoverns foundation model training. - Independent Policy: You can allow search citations while blocking model training by setting
Allow: /forOAI-SearchBotandDisallow: /forGPTBot. - Separate User Agent:
ChatGPT-Userhandles direct user link navigation and should not be confused with search or training bots. - RFC 9309 Isolation: Define all required path rules inside each crawler’s specific block to avoid exposing sensitive endpoints.
- Verify at the Network Layer: Use vendor-defined IP feeds (and reverse DNS only where published as a verification method) (
search.openai.com/openai.com) or published IP feeds to distinguish authentic crawlers from spoofed requests. - Check WAF Settings: Ensure edge firewalls do not block verified
OAI-SearchBotrequests with automated JavaScript challenges.


