Skip to main content
All AI Crawlers/OpenAI·Foundation Model Training

GPTBot User-Agent: Controlling OpenAI Training Crawls Without Losing Search Citations

Recommended Policy: Allow Docs / Control Proprietary ContentOfficial Vendor Docs

GPTBot is OpenAI’s foundation-model corpus crawler. Disallowing GPTBot opts future OpenAI model training runs out of your pages without harming live ChatGPT Search citations—as long as OAI-SearchBot and Bingbot stay explicitly allowed.

User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.2; +https://openai.com/gptbot
Robots.txt Token
GPTBot

Yes — responds immediately to `User-agent: GPTBot` Disallow directives.

IP Verification
Vendor CIDR / rDNS

Published OpenAI `gptbot.json` IPv4 CIDR ranges.

Search Visibility
Separate From Search

Low for live search (handled by OAI-SearchBot), moderate for long-term parametric brand recall.

Test Your Site Live
12-Bot Policy Check
Check robots.txt now

Copyable robots.txt & Cloudflare WAF Rules for GPTBot

User-agent: GPTBot
Allow: /
Disallow: /app/
Disallow: /private/

How GPTBot Crawls & Affects SEO, GEO, and Server Load

Many publishers accidentally wipe out their ChatGPT Search traffic when turning on generic CDN "Block All AI Crawlers" switches because those toggles block OAI-SearchBot and ChatGPT-User alongside GPTBot.

For open-source tools, public documentation hubs, and SaaS marketing pages, allowing GPTBot increases parametric brand recognition inside future base models. Conversely, paywalled publishers or proprietary datasets often disallow GPTBot selectively while welcoming search retrievers.

Because GPTBot ignores JavaScript-only tracking beacons, edge middleware or Cloudflare Worker reporting (`/t/edge`) is required to measure real crawl volume and spot bandwidth spikes across noisy query parameters.

GPTBot Engineering Checklist & Operational Tradeoffs

DimensionObserved BehaviorRecommended Engineering Action
Primary RoleFoundation model training & safety filtering dataset collectionSeparate from live OAI-SearchBot web search index
Selective DisallowBlock `/member/` or `/private/` while allowing `/docs/`Fine-grained path control beats sitewide IP blocks
Bandwidth ImpactBursty periodic sweeps across full sitemap & internal linksServe cached edge HTML (`s-maxage=86400`) to protect origin CPU
Analytics IsolationZero human intent or ad viewabilityLog solely under `ai_training` bucket in PrismUV
Monitor GPTBot Hits in Real Time Without Client-Side Cookies

PrismUV classifies `GPTBot` automatically under `ai_training` separately from `OAI-SearchBot` (`ai_search`), preventing training sweeps from diluting real search-crawl conversion ratios.

GPTBot Frequently Asked Questions

If I block GPTBot, will my site disappear from ChatGPT Search?

No, provided OAI-SearchBot and ChatGPT-User remain allowed in robots.txt and are not challenged by Cloudflare WAF.

Can I allow GPTBot only on public documentation pages?

Yes. Specify `Allow: /docs/` and `Disallow: /` or target specific prefixes under `User-agent: GPTBot`.

Why should edge HTML cache stay enabled for GPTBot?

Cached responses serve directly from CDN POPs in <50ms, protecting SSR Node/origin workers when deep crawls sweep dozens of URLs simultaneously.

Does GPTBot execute third-party JavaScript like AdSense or gtag.js?

Standard GPTBot fetches raw HTTP documents without rendering browser ads, so edge middleware logging is the reliable way to audit crawl counts.

How can I test my GPTBot robots.txt rule live right now?

Paste your domain into PrismUV’s free `/robots-txt-ai-checker` to verify live HTTP status and rule inheritance across 12 bots in seconds.

Related AI Crawlers