Training crawlers

GPTBot

GPTBot is a bot operated by OpenAI that collects pages used to train AI models. Data is used to train current and future models, removed paywalled data, PII and data that violates the company's policies. It honours robots.txt, and a request claiming to be GPTBot can be checked against a published IP range file.

GPTBot at a glance

Reference data for the GPTBot crawler
User agentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot
OperatorOpenAI
PurposeScrapes data to train OpenAI's products.
Respects robots.txtYes, documented
Verification methodPublished IP range file

OpenAI publishes the GPTBot egress ranges as a JSON file. Match the request IP against that file; there is no reverse-DNS convention.

https://openai.com/gptbot.json
Crawl patternNot published
Robots.txt tokensGPTBot
Operator documentationhttps://platform.openai.com/docs/bots

Data is used to train current and future models, removed paywalled data, PII and data that violates the company's policies.

robots.txt

Allow or block GPTBot

Paste one of these into the robots.txt file at the root of your domain. Rules are per token, so a block on one crawler leaves every other bot untouched.

Block GPTBot
User-agent: GPTBot
Disallow: /

Blocks every path for this crawler only.

Allow GPTBot
User-agent: GPTBot
Allow: /

Explicit allow. Useful when a wildcard rule above it would otherwise catch this crawler.

Allow, except the pages you never want quoted
User-agent: GPTBot
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

Edit the Disallow paths to match your own account, checkout and search URLs.

What blocking actually costs you

Blocking GPTBot keeps your pages out of the next training run. It does not remove anything already collected, and it has no effect on how the site ranks in ordinary search.

Block every crawler in the directory at once
Verification

Is that really GPTBot?

A user-agent header is a string the client chooses. Scrapers copy GPTBot precisely because site owners allow it. OpenAI publishes the GPTBot egress ranges as a JSON file. Match the request IP against that file; there is no reverse-DNS convention.

Paste the IP address from your access log below. You will see whether it belongs to a hosting provider, a residential proxy pool or a Tor exit, plus the ASN that announces it, which is what tells you whether the claim holds up.

Other crawlers run by OpenAI

Related crawlers

Agentscan

Identify crawlers automatically instead of by hand

Agentscan checks a request against published crawler ranges, reverse DNS and hosting data, then returns a verdict your edge can act on. One call per request, no range files to keep up to date.

FAQ

GPTBot questions

GPTBot is a bot operated by OpenAI that collects pages used to train AI models. Data is used to train current and future models, removed paywalled data, PII and data that violates the company's policies. It honours robots.txt, and a request claiming to be GPTBot can be checked against a published IP range file.