GPTBot

ai-crawler GPTBot

OpenAI GPT web crawler bot

About this crawler

GPTBot is a web crawler identified by the regular-expression pattern GPTBot in the User-Agent request header. It is categorised as ai-crawler. Use the regex above to detect, log, allow, or block GPTBot traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

11.9%
latest snapshot
2026-06-04
matched key: GPTBot
2026-05-012026-06-0414.6%

Technical details

Name
GPTBot
Pattern
GPTBot
Tags
ai-crawler
Reference
https://platform.openai.com/docs/gptbot
Added
2023/08/09
rDNS suffixes
.openai.com
Instances
1 known sample(s)

rDNS verification (FCrDNS)

Verify a request is genuinely GPTBot with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.

Sample User-Agent strings

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

Block this crawler

robots.txt — disallow GPTBot:

User-agent: GPTBot Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} GPTBot [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "GPTBot") { return 403; }
← back to all crawlers