Skip to content
AI Search 6 min read

AI Crawler Access: GPTBot, ClaudeBot, PerplexityBot, and Robots.txt

A practical guide to AI crawler user agents, robots.txt rules, CDN bot protection, and deciding whether to allow, limit, or block AI access.

AI Crawler Access: GPTBot, ClaudeBot, PerplexityBot, and Robots.txt
Key takeaways
  • AI crawler access is a business policy decision, not a default SEO setting.
  • robots.txt is voluntary; CDN and WAF bot controls are the enforcement layer when a crawler ignores it.
  • Decide per crawler and per content type, document the policy, and test what actually reaches the origin.

Blocking AI crawlers is easy. Blocking the right ones without hurting discovery is harder. The user-agent list keeps growing, each platform uses different names, and robots.txt is only a request. Before adding a blanket Disallow, decide what the business wants: citations and referrals, training access, both, or neither.

This guide explains the main crawler names, how robots.txt and CDN controls interact, and a decision framework you can defend.

The crawler names that matter

User-agent names change and new ones appear. Treat this table as a starting point and verify the current documentation for each provider before making a policy change.

User agentTypical purposeWhat to check
GPTBotOpenAI crawler used for model training and some product featuresOpenAI's current documentation and your training policy
OAI-SearchBotOpenAI search-related crawling for answer productsWhether you want pages eligible for live search answers
ChatGPT-UserRequests triggered by a user's browsing actionWhether user-initiated visits should be treated differently
ClaudeBotAnthropic crawler for model developmentTraining and product access policy
PerplexityBotPerplexity's search and answer retrievalWhether you want citations in Perplexity answers
Google-ExtendedControls Google's use of content for Gemini and related generative productsThat this is separate from Google Search access
CCBotCommon Crawl crawler used by many downstream projectsWhether open-web training access is acceptable
BytespiderByteDance crawler associated with AI and product surfacesTraffic quality, rate limits, and policy

Do not assume every bot with "AI" in the name is the same. A search crawler that produces citations is not identical to a training crawler that never sends a click.

robots.txt is a request, not a wall

A robots.txt rule tells well-behaved crawlers what they may access. It does not authenticate the crawler, enforce rate limits, or stop a client that ignores the file. If access control matters, use a CDN, WAF, or origin rule as the enforcement layer.

The basic syntax is the same as for search crawlers:

User-agent: GPTBot
Disallow: /

User-agent: PerplexityBot
Allow: /
Disallow: /admin/
Disallow: /account/

Be careful with wildcard and path rules. A rule that blocks query strings can remove pagination or search pages; a rule that blocks /blog/ removes the exact content you want cited. Test with a robots.txt validator and a real request from the relevant user agent where possible.

For the fundamentals, see the robots.txt guide. For discovery, the XML sitemap guide covers the URLs you actually want indexed.

Google Search vs Google-Extended

Blocking Google-Extended does not remove a site from Google Search. It controls Google's use of content for certain generative AI products. That separation is useful, but it is also easy to misunderstand. If your goal is normal Search visibility, do not block Googlebot. If your goal is to limit generative training use while keeping Search, review the current Google-Extended documentation before acting.

AI Overviews are part of Google Search and are not controlled by a simple "block AI" switch. The AI Overviews guide covers that layer.

CDN and WAF bot protection

Many sites block AI crawlers at the edge without realizing it. Common causes:

  • A managed bot-fight rule that challenges "known bots" by default.
  • A rate-limit rule that treats a crawler like a scraper.
  • A firewall rule that blocks data-center IP ranges.
  • A JavaScript challenge that a non-browser crawler cannot complete.
  • A privacy or security plugin that adds a blanket user-agent block.

Check the edge logs, not just robots.txt. If the crawler is challenged with a 403 or a CAPTCHA, the page is effectively blocked even if robots.txt says allow.

If you want to allow a crawler, verify the provider's published IP ranges where available, create an explicit allow rule, and monitor origin logs. Do not rely on user-agent strings alone for security; they are easy to spoof.

Decide by content type, not just bot

A single allow/block decision for the whole site is rarely right. Consider a matrix:

ContentAllow citation crawlers?Allow training crawlers?Notes
Public guides and researchYesCase by casePrimary citation surface
Product and pricing pagesYesCase by caseNeeded for accurate answers
Customer storiesYes, if publicCase by caseCheck customer consent
Account and admin pagesNoNoPrivate and irrelevant
Gated reportsNoNoAccess-controlled content
Staging and duplicate URLsNoNoKeep out of discovery

Document the policy in plain language: which crawlers are allowed, which are blocked, who owns the decision, and when it will be reviewed. A policy that lives only in a firewall dashboard is hard to defend when traffic changes.

Test what actually reaches the origin

After changing robots.txt or edge rules, test from the outside:

  1. Fetch /robots.txt and confirm the rule is present and syntactically valid.
  2. Request a representative page with the crawler's user agent and inspect the status code.
  3. Check whether a CDN challenge, login redirect, or JavaScript gate appears.
  4. Review origin logs for the crawler's IP range and request path.
  5. Confirm the page still returns 200 for normal users and Googlebot.

A page that returns 200 in a browser can still return 403 to a crawler. Test the actual path, not just the marketing page.

Monitor the impact

Track three layers:

  • Access: crawler requests, status codes, and blocked paths in logs.
  • Citations: whether your URLs appear in AI answers for a fixed prompt set.
  • Business: referral sessions, branded search, and conversions from AI surfaces.

If you block a crawler, expect fewer citations from that surface, not necessarily a Search penalty. If you allow one, expect more requests and possibly more scraping. Neither outcome is automatically good; it depends on the strategy.

The AI search visibility guide covers citation-friendly content, and the citation tracking guide shows how to measure the result.

Common mistakes

Blocking all AI bots because of a headline. Training, search retrieval, and user-initiated browsing are different. Decide what you actually want.

Blocking at the CDN and forgetting robots.txt. The two layers should agree, or your policy is confusing and hard to audit.

Allowing everything by default. Public content is not automatically safe to train on, especially customer stories, images, or proprietary research.

Using robots.txt as security. It is not authentication. Use real access controls for private content.

Not testing after a change. A typo in a user-agent line can block the wrong crawler or nothing at all.

If you publish an llms.txt file, remember that it does not override robots.txt or a WAF. It is a map, not a permission system.

A policy review checklist

  1. List every AI crawler that matters to your category.
  2. Map each crawler to a business purpose: citations, training, user browsing, or none.
  3. Decide per content type, not just per bot.
  4. Implement the policy in robots.txt and at the edge.
  5. Document the owner and review date.
  6. Test status codes with real user agents.
  7. Monitor citations and referrals for one month before changing again.

Related reading: Answer engine optimization checklist and Voice search optimization.

Frequently asked questions

Does blocking GPTBot hurt Google rankings?

GPTBot is an OpenAI crawler, not Googlebot. Blocking it should not directly affect Google Search, but it can remove your pages from OpenAI surfaces. Decide based on your AI strategy.

Is robots.txt enough to block AI crawlers?

No. It is a request. Use CDN, WAF, or origin controls if you need enforcement. Test what actually reaches the page.

Should I allow PerplexityBot?

If you want Perplexity citations and referral traffic, allowing it is usually the starting point. If you have licensing or content-protection concerns, define the policy and enforce it consistently.

Does Google-Extended affect AI Overviews?

Google-Extended controls certain generative AI uses, not normal Google Search access. AI Overviews are part of Search and are not controlled by a simple block switch.

Share X LinkedIn Email
Want a quick SEO check on a page? Run the free SEO checker and get a scored report with prioritised fixes.
Free SEO checker

Reviewed by TheLinksMaster

SEO Editorial Team

Our editorial team tests every tool and guide on this site against real websites. We update content when search algorithms change so you always get current, practical SEO advice.

How we test and update our guides · Meet the editorial team

Start with these guides

AI Search Visibility: How to Get Your Pages Cited by AI Assistants Get cited by ChatGPT, Perplexity and AI Overviews: bot access, structured data,... Google AI Overviews: How to Earn a Citation (Not Just a Ranking) A practical guide to Google AI Overviews: why top rankings are only the entry ti... llms.txt: What It Does, What It Doesn’t, and How to Ship One A clear-eyed guide to llms.txt: the proposed AI content map, how it differs from...
Free DNS lookup Lookup the list of DNS records for a domain. Inspect A, CNAME, MX, TXT, and… Free Meta tags checker Analyze the meta tags information of a URL. Review titles, descriptions… Free Robots.txt checker Inspect the robots.txt rules and sitemap declarations of a domain. Verify… Free Structured data checker Detect JSON-LD and Microdata structured data on a page URL. See which schema… Free Robots meta checker Inspect robots meta tags and X-Robots-Tag response headers on any page… Free Image alt text checker Find images missing alt text on a page URL. Improve accessibility and image…
AI Content and SEO: How to Use AI Without Losing Trust A practical policy for AI-assisted content: where it helps, where it hurts, how... Gemini SEO: How Google Gemini Finds and Cites Sources A practical guide to Google Gemini visibility: how retrieval works, what makes a... ChatGPT and Perplexity SEO: How AI Citations Differ How ChatGPT and Perplexity find, cite, and describe sources, plus the content, e... Answer Engine Optimization: The 2026 Checklist A practical AEO checklist for pages that need to be understood, quoted, and cite... How to Track AI Brand Citations Without Guesswork Build a repeatable AI citation tracking process: a fixed prompt set, a clean dat...
← All guides