GPTBot: User-Agent, robots.txt Rules and How to Verify It

GPTBot is OpenAI's web crawler that collects training data for GPT models. It crawls sites by default unless robots.txt disallows it, and it honors the Disallow: GPTBot rule. Its fetches resolve to OpenAI-hosted addresses, which is how you verify a real GPTBot visit.

GPTBot

Documented
Operator
OpenAI
User-agent token
GPTBot
Purpose
training data for GPT models
robots.txt behaviour
crawls by default; honors Disallow: GPTBot
How to verify
Reverse DNS resolves to *.openai.com

Last verified 2026-10-28. Behaviour documented by the operator.

How to block GPTBot

Add this rule to your robots.txt at the root of your domain:

User-agent: GPTBot
Disallow: /

Blocking GPTBot keeps your content out of OpenAI training data but does not affect ChatGPT Search, which uses OAI-SearchBot.

How to allow GPTBot

If you want GPTBot to crawl your site, make sure no rule disallows it. An explicit allow looks like this:

User-agent: GPTBot
Allow: /

Then confirm from the live fetch with the AI crawler checker, which reads your published robots.txt the way a crawler would.

How to verify GPTBot

The reliable check is reverse DNS on the fetching IP address. Run the lookup below against any visitor claiming the GPTBot token; a genuine fetch resolves inside OpenAI's address space, and a spoofed one does not.

dig +short -x 203.0.113.5  # e.g. for fetching-ip
# A genuine GPTBot fetch resolves to an OpenAI address

Frequently asked questions

Does GPTBot crawl my site by default?+

Yes. GPTBot crawls unless robots.txt disallows it. Opting out is a single rule: User-agent: GPTBot with Disallow: /.

Does blocking GPTBot remove me from ChatGPT Search?+

No. ChatGPT Search uses OAI-SearchBot, a separate crawler with its own rule. Block or allow each one independently.

Can GPTBot visit bypass robots.txt?+

Documented behavior says it honors robots.txt. Verify real visitors by reverse DNS: a genuine GPTBot fetch resolves to an OpenAI address, while spoofers do not.

Related: AI log analyzer, all AI crawlers, how to block AI crawlers, how to allow AI crawlers, robots.txt guide.

Last verified: 2026-12-01