AI Crawler robots.txt Guide: Whitelist OAI-SearchBot & PerplexityBot Safely
Configuring AI crawler robots.txt rules with surgical precision separates companies capturing free high-intent AI referral traffic from brands accidentally hiding their entire website from ChatGPT Search. Between 2023 and 2025, thousands of webmasters pasted blanket AI-blocking snippets into /robots.txt without realizing they were blocking live buyer-citation search bots alongside bulk foundation-model training scrapers.
Search-citation crawlers vs. foundation-model training scrapers
OpenAI, Perplexity, Google, Apple, and Anthropic now operate distinct user-agent tokens for legally and technically separate functions. According to official OpenAI crawler documentation, OAI-SearchBot is used specifically to index and surface websites inside ChatGPT Search results with clickable source attribution links, whereas GPTBot gathers public text to train generative foundation models. Separately, ChatGPT-User fetches live pages on demand when a human user asks ChatGPT to inspect a specific URL.
When an e-commerce retailer, law firm, clinic, or B2B software vendor blocks all AI user agents indiscriminately via Disallow: /, competing domains capture 100% of conversational buyer recommendations. Separating live search-indexing permissions from pre-training corpus rules gives your legal counsel and growth team complete control without sacrificing high-converting buyer traffic.
In real-world analytics cohorts across US, UK, and European SaaS and DTC storefronts, referral clicks originating from chatgpt.com and perplexity.ai convert at 2.4x to 4.1x the rate of traditional top-of-funnel organic clicks because the AI assistant has already pre-qualified budget, region, and use-case fit prior to the click.
Production robots.txt syntax: RFC 9309 rules & crawl-budget protection
Under RFC 9309 (Robots Exclusion Protocol), crawlers match the most specific User-agent group that applies to their token rather than merging wildcard User-agent: * rules with named groups! That subtle specification rule trips up experienced engineers every day: if you define a custom User-agent: OAI-SearchBot block with Allow: /, remember to repeat private path exclusions (such as Disallow: /admin/, Disallow: /checkout/, or Disallow: /private_data/) inside that specific block too.
Always conclude your /robots.txt file with absolute HTTPS Sitemap directives pointing to your primary XML sitemap — and publish a root /llms.txt manifest so once OAI-SearchBot and PerplexityBot are welcomed inside, they immediately locate your canonical product and pricing hierarchy.
# Baseline policy for standard search engines (Googlebot, Bingbot, DuckDuckBot)
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /wp-admin/
Disallow: /*?add-to-cart=
# Explicitly allow live AI Search & Citation Crawlers
User-agent: OAI-SearchBot
Allow: /
Disallow: /admin/
Disallow: /checkout/
User-agent: ChatGPT-User
Allow: /
User-agent: PerplexityBot
Allow: /
Disallow: /admin/
User-agent: Claude-SearchBot
Allow: /
# Optional: Restrict bulk unattributed training scrapers if required by IP policy
User-agent: GPTBot
Disallow: /
User-agent: CCBot
Disallow: /
Sitemap: https://yourdomain.com/sitemap.xml
Scan Your Website Live for /llms.txt, AI Crawlers, JSON-LD & ADA/GDPR
Enter any Shopify, WordPress, Webflow, SaaS, clinic, or corporate URL below to run a free live audit — then unlock custom pre-built llms.txt, robots.txt, Schema.org JSON-LD + printable 8-Point Compliance PDF for $19.00 USD one-time (Cakto Global USD • No Subscription).
Hidden CDN and WAF blocks that override your AI crawler robots.txt
Even when /robots.txt explicitly declares Allow: / for OAI-SearchBot and PerplexityBot, edge firewalls, Cloudflare Bot Fight Mode, Wordfence rate limiters, and reverse proxies frequently return HTTP 403 Forbidden or JavaScript Turnstile challenges to non-browser user agents. Aggressive bot presets classify automated HEAD/GET requests from cloud IP ranges as scraping attacks unless verified search crawlers are explicitly exempted.
Auditing live HTTP status codes across /, /robots.txt, /llms.txt, and /sitemap.xml from an external network ensures that answer engines receive clean HTTP 200 responses under 500 milliseconds without redirect loops between http, https, www, and apex hostnames.
Additionally, verify that your hosting layer never serves an HTML soft-404 page or cookie-consent interstitial at /robots.txt. Under RFC 9309, if /robots.txt returns an unexpected HTTP 5xx server error, conservative crawlers pause indexing your entire domain temporarily, whereas an HTTP 403 or CAPTCHA HTML body on /robots.txt causes answer engines to drop fresh pricing and product updates.
Tracking ChatGPT Search & Perplexity referrals cleanly in GA4 and logs
Once your /robots.txt and WAF allow OAI-SearchBot and PerplexityBot, ChatGPT Search appends utm_source=chatgpt.com to outbound citation links, while Perplexity and Claude pass identifiable Referer headers or UTM tags. Create a dedicated "AI Answer Engines" channel group inside Google Analytics 4 (matching source regex chatgpt\.com|perplexity\.ai|claude\.ai|copilot\.microsoft\.com|gemini\.google\.com) alongside server access-log monitoring for OAI-SearchBot crawl frequency.
Pair crawler access with IndexNow instant URL notifications whenever you publish new commercial landing pages or technical guides — ensuring Bing (which powers key layers of ChatGPT Search discovery) indexes updates within minutes rather than weeks.
Test your domain live for AI crawler blocks and generate clean rules
Instead of guessing whether your CMS plugin, CDN, or hosting provider is silently blocking AI search visibility, run an external live diagnostic against your production URL on /en/. Our automated scanner checks your live /robots.txt directives, /llms.txt status, JSON-LD entity graph, WCAG accessibility, and HTTP security headers in five seconds.
Unlock the full $19.00 USD one-time implementation package via Cakto Global USD to download a conflict-free robots.txt tailored to your domain, a custom /llms.txt manifest, copy-paste Schema.org JSON-LD, and a printable 8-point technical readiness PDF.
Technical Reference & Compliance Matrix
| Crawler Token | Operator | Role in Ecosystem | Recommended Commercial Policy |
|---|---|---|---|
| OAI-SearchBot | OpenAI | ChatGPT Search source citations & clickable links | Allow: / (Critical for high-intent buyer traffic) |
| ChatGPT-User | OpenAI | Live user-initiated URL & pricing lookups | Allow: / (Required for real-time prompt checks) |
| PerplexityBot | Perplexity AI | Real-time answer citations & numbered footnotes | Allow: / (High B2B & e-commerce conversion) |
| Claude-SearchBot | Anthropic | Claude web search & cited recommendations | Allow: / (Growing enterprise buyer adoption) |
| Bingbot / Googlebot | Microsoft / Google | Core search index + AI Overviews / Copilot feed | Allow: / + Sitemap + IndexNow sync |
| GPTBot / CCBot | OpenAI / CommonCrawl | Foundation model pre-training corpus | Optional Allow or Disallow per legal policy |
Primary specification references: Schema.org Structured Data • W3C WCAG 2.2 Recommendation • llmstxt.org Specification.
Get All 3 Custom Files Pre-Built for Your Domain + Printable ADA/GDPR PDF
Run our free live scanner at /en/ to detect exact gaps, then unlock ready-to-upload llms.txt, AI-friendly robots.txt, validated Schema.org JSON-LD, and an executive 8-point PDF report in one click via Cakto Global USD ($19.00 one-time) — or grab our free printable 18-point PDF checklist.
Frequently Asked Questions
Yes. OpenAI honors independent User-agent groups: setting User-agent: OAI-SearchBot with Allow: / and User-agent: GPTBot with Disallow: / keeps your brand visible in ChatGPT Search while opting out of model pre-training.
Once your updated /robots.txt returns HTTP 200 without edge firewall blocks, OAI-SearchBot and Bingbot typically refresh domain permissions within 24 to 72 hours.
Per RFC 9309, a crawler matching a specific User-agent: OAI-SearchBot group ignores the generic User-agent: * group completely — so any /admin/ or /checkout/ Disallow rules must be included in that specific block.
Yes — enter your website on /en/ for a free 5-second live scan and unlock custom robots.txt, llms.txt, and JSON-LD files for $19.00 USD one-time.