Inferensys

Glossary

GPTBot

GPTBot is OpenAI's specific web crawler user-agent token used to identify its bot when it accesses websites to gather data for improving its AI models.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
AI CRAWLER IDENTIFICATION

What is GPTBot?

GPTBot is OpenAI's official web crawler user-agent token, used to identify its bot when it accesses websites to gather data for improving its AI models and grounding generative responses.

GPTBot is the specific user-agent token string that identifies OpenAI's proprietary web crawler when it makes HTTP requests to web servers. Its disclosed purpose is to scan publicly accessible web pages to collect data that may be used to train, improve, and ground the capabilities of OpenAI's foundation models, including GPT-4 and future iterations. The crawler's full user-agent string is Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.0; +https://openai.com/gptbot.

Website operators can manage GPTBot's access through the Robots Exclusion Protocol by specifying GPTBot as the user-agent token in their robots.txt file. OpenAI also respects standard directives like the noindex meta tag and provides a published IP range for the crawler to facilitate firewall allow-listing. Crucially, GPTBot is distinct from OAI-SearchBot, a separate token used for real-time search indexing in ChatGPT; blocking GPTBot prevents training data ingestion but does not affect a site's visibility in ChatGPT's browsing feature.

CRAWLER IDENTITY

Key Characteristics of GPTBot

A technical breakdown of the operational parameters, identification tokens, and access control mechanisms specific to OpenAI's GPTBot web crawler.

01

Full User-Agent Token String

The complete identification string for the training crawler is:

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.0; +https://openai.com/gptbot

This token must be used in the User-agent field of a robots.txt file to apply directives specifically to this bot. The token includes a link to OpenAI's official documentation page, which serves as a verifiable identifier for the crawler.

02

Published IP Ranges

OpenAI publishes the IP ranges from which GPTBot makes requests to allow for network-layer verification and firewall configuration.

  • Documentation URL: https://openai.com/gptbot
  • Verification Method: OpenAI recommends performing reverse DNS lookups on connecting IPs to confirm they resolve back to an openai.com domain.
  • Purpose: This allows infrastructure teams to implement defense-in-depth by verifying the bot's identity at both the application layer (User-Agent) and the network layer (IP range).
03

Disallow Directive for Training Data

To prevent GPTBot from using your site's content for training OpenAI's foundation models, add the following to your robots.txt:

code
User-agent: GPTBot
Disallow: /
  • Effect: This blocks GPTBot from crawling any path on the domain.
  • Granularity: You can restrict access to specific directories by replacing / with a path like /private-data/.
  • Note: This directive only controls the training crawler. It does not affect the separate OAI-SearchBot used for real-time search features in ChatGPT.
04

Allow Directive for Selective Access

To permit GPTBot to crawl only specific sections of a site while blocking everything else:

code
User-agent: GPTBot
Allow: /public-docs/
Disallow: /
  • Order Matters: The Allow directive must precede the Disallow directive for the specific path to be accessible.
  • Use Case: This is ideal for organizations that want to contribute public documentation or research to the training corpus while protecting proprietary application logic and user data.
05

Separation from OAI-SearchBot

OpenAI uses two distinct crawler tokens for different purposes:

  • GPTBot: Crawls data to train and improve OpenAI's foundation models. Controlled by the GPTBot token.
  • OAI-SearchBot: Crawls data to provide real-time, cited search results within ChatGPT. Controlled by the OAI-SearchBot token.

Disallowing GPTBot does not prevent your content from appearing in ChatGPT's browsing results. You must manage directives for both tokens independently to achieve your desired governance posture.

06

Crawl Frequency and Politeness

GPTBot adheres to standard crawl politeness conventions:

  • robots.txt Compliance: The bot checks and respects robots.txt directives before crawling.
  • Crawl-Delay: GPTBot respects the non-standard Crawl-Delay directive if specified in robots.txt.
  • Rate Limiting: OpenAI implements internal rate limiting to avoid overwhelming servers.
  • Caching: The bot caches robots.txt files, so changes may not take effect immediately. OpenAI recommends allowing up to 24 hours for directive updates to propagate.
GPTBot Access & Control

Frequently Asked Questions

Clear, technical answers to the most common questions about OpenAI's GPTBot crawler, its identification, and how to manage its access to your web content.

GPTBot is the official user-agent token for OpenAI's web crawler, a specialized bot that systematically accesses public websites to collect data used for training and improving OpenAI's foundation models, including the GPT series. It works by making standard HTTP requests to web servers, parsing the HTML content, and extracting text and structured data. The bot identifies itself in the User-Agent request header with the full token string GPTBot/1.0, allowing website administrators to write targeted rules in their robots.txt file. GPTBot respects the Robots Exclusion Protocol, meaning it will check a site's robots.txt before crawling and will obey Disallow directives. It also filters out paywalled content, personally identifiable information (PII), and text that violates OpenAI's usage policies. The data it ingests is processed to help models understand language, improve factual accuracy, and enhance generative capabilities. GPTBot is distinct from OAI-SearchBot, which is used specifically for real-time search grounding in ChatGPT, not for foundation model training.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.