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.

OpenAIIP rangesrobots.txt:Honours

Live check

Verify an IP that claimed to be GPTBot

Paste the address from the log line. It is checked against what the operator publishes.

Reference

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.txtHonours
Verification methodIP rangesPublished 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 at the root of your domain. Rules are per token.

Block GPTBot
User-agent: GPTBot
Disallow: /
Allow GPTBot
User-agent: GPTBot
Allow: /
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 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.

Build a file for every crawler

FAQ

GPTBot questions

What is 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.

Does GPTBot respect robots.txt?

Yes. The operator documents that GPTBot reads robots.txt and follows Disallow rules for its own token. Rules take effect on the next fetch of the file, which can be hours or days after you publish them.

How do I verify a request really came from GPTBot?

OpenAI publishes the GPTBot egress ranges as a JSON file. Match the request IP against that file; there is no reverse-DNS convention. The reference is published at https://openai.com/gptbot.json.

How do I block GPTBot?

Add the GPTBot token to robots.txt with Disallow: /. If the crawler ignores robots.txt, match the user agent at your CDN or reverse proxy and return 403 there instead.

Will blocking GPTBot hurt my search rankings?

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.

    GPTBot (OpenAI): User Agent, IP Verification & robots.txt | IPScanner