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.