robots.txt for AI Crawlers: GPTBot, ClaudeBot & More

Claude Bot, GPTBot and OAI-Search Bot are three different crawlers, three different jobs. Content collection for AI model training, as a business decision, allows: Claude Bot (Anthropic), GPTBot (OpenAI) Content feeding of AI search answers: OAI-Search Bot (OpenAI), Claude-Search Bot (Anthropic) If you want to be thanked, allow. But then do four things in turn: look at your robots.txt groups, your server's behavior on each crawler, your logs and CDN rules, and if your content is present in the raw HTML. If you saw "Claude Bot" in your server logs and are facing the decision today whether to let it in, here's the crawler table, the decision rule, and four checks you can do on your own site.

Vivek Kishore Verma

Vivek Kishore Verma

Published 27 August 2026Updated 24 November 202611 min read

Key takeaways

  • AI vendors will often have different crawlers, one for training and one for search. Blocking GPTBot or ClaudeBot won't block your access to ChatGPT or Claude search results but blocking OAI-SearchBot or Claude-SearchBot will.
  • User crawlers (ChatGPT-User, Claude-User, Perplexity-User) are for when a user has requested the page. OpenAI / Perplexity state they may not obey robots.txt while Anthropic state they all obey robots.txt.
  • Only the most specific group of robots.txt entries which reference the crawler will be obeyed. The GPTBot group will override any GPTBot group.
  • It can take around 24 hours for robots.txt changes to come into affect according to OpenAI and Perplexity.
  • A clean robots.txt isn't sufficient. It will be up to the CDN and firewall rules. In July 2025 Cloudflare started to block known AI crawlers by default on new domains.

What is ClaudeBot?

ClaudeBot is Anthropic’s web crawler for model development. Anthropic’s crawler help article says ClaudeBot collects web content that could contribute to training its AI models, and that restricting ClaudeBot signals that future material from your site should be excluded from training data. ClaudeBot respects robots.txt and supports the non-standard Crawl-delay rule.

Anthropic runs two other agents. Claude-SearchBot crawls to improve the quality of search results in Claude; blocking it, Anthropic says, may reduce your visibility and accuracy in those results. Claude-User fetches pages when someone asks Claude a question; blocking it stops Claude retrieving your pages for those requests.

What is GPTBot?

GPTBot is OpenAI’s crawler for content that may be used to train its generative AI foundation models. OpenAI’s crawler documentation says disallowing GPTBot indicates that your content should not be used for training. GPTBot has nothing to do with whether you appear in ChatGPT search.

What is OAI-SearchBot?

OAI-SearchBot is OpenAI’s search crawler. It surfaces websites in ChatGPT’s search features, and OpenAI says sites that opt out of it will not be shown in ChatGPT search answers, though they can still appear as navigational links. OpenAI recommends allowing OAI-SearchBot and its published IP ranges if you want to appear. Each OpenAI setting is independent, so you can allow OAI-SearchBot and block GPTBot.

The AI crawler table

This table lists the AI crawlers most sites see, what each one feeds, and whether its owner says it follows robots.txt. Every row was checked against the owner’s own documentation on 5 November 2026; crawler names and rules change, so check the linked pages before you edit your file.

AgentOwnerWhat it feedsFollows robots.txt?Source
OAI-SearchBotOpenAIChatGPT search answersYesOpenAI crawlers
GPTBotOpenAIModel trainingYesOpenAI crawlers
ChatGPT-UserOpenAIFetches a page when a user asksOpenAI says robots.txt rules may not applyOpenAI crawlers
Claude-SearchBotAnthropicClaude search result qualityYesAnthropic help centre
ClaudeBotAnthropicModel trainingYes; also supports Crawl-delayAnthropic help centre
Claude-UserAnthropicFetches a page when a user asksYesAnthropic help centre
PerplexityBotPerplexityPerplexity search results; not used for trainingYesPerplexity crawlers
Perplexity-UserPerplexityFetches a page when a user asksGenerally not, because a user requested itPerplexity crawlers
GooglebotGoogleSearch, including AI Overviews and AI ModeYesGoogle crawlers
Google-ExtendedGoogleA robots.txt token for Gemini training and grounding; not Search inclusion or rankingYes (token only, no separate crawler)Google crawlers

OpenAI also lists OAI-AdsBot, which only visits landing pages submitted as ChatGPT ads. If you don’t advertise on ChatGPT, you won’t see it.

Which AI crawlers should you allow in robots.txt?

Let search crawlers crawl if you want to be cited in AI answers and create a decision for the training crawlers as a business separate decision. The entire decision boiled down to these two lines.
- Search crawlers (OAI-Search Bot, Claude-Search Bot, Perplexity Bot, and Googlebot for AI Overviews) determine whether or not you'll be seen and cited in AI search solutions. Block them if you'd like to specifically not appear there at all.
- Whether your content can be used to train models is determined by training crawlers (GPTBot, Claude Bot and the Google-Extended token). Blocking doesn't exclude you from search answers.
A publisher licensing its material might choose to block training crawlers. A software company seeking to have buyers discover it in AI responses would prefer to have the search crawlers unblocked, and can still make a separate decision on training. Either is defensible; what causes harm is a comprehensive block put in place for one purpose that affects the other.

How to verify AI crawler access: four-part test

Run these four tests sequentially, as each one will block a crawler that the previous test allowed.

1. Read your robots.txt group by group

The robots.txt file is made up of groups. Each group begins with one or more lines describing the User-agent and the Allow and Disallow lines below the agent only work against those agents until the next User-agent line begins the new group. There are three rules that trip people up:
- A crawler only considers the most specific group that identifies it, and disregards the others.
Google's robots.txt specification is like this, as is RFC 9309. When you add a User-agent: GPTBot group, GPTBot will no longer consider your User-agent: * rules.
- A rule inserted under the incorrect User-agent line belongs to that group. A Disallow: / you wanted to apply to all crawlers could end up applying to just one bot or vice versa.
- Paths are case sensitive: /Pricing and /pricing are different even if the names are not. We ignore uppercase vs. lowercase when comparing names: agentNames: "Bill", "BOB", "bob" all match with "bob".
Verify it is not sitting in a group that ends with Disallow: /, and the file itself loads with a 200 response. Check how long it takes for OpenAI and Perplexity to hit theirs, which should be about 24 hours.

000

2. Analyze the server response for each user agent

Ask for a few pages that matter (home, pricing, a main product or service page, a top piece of content) with the user-agent for each crawler, and you will get back a 200 with the full HTML. Get a 403, a redirect to a login or challenge page indicates that something is blocking that agent.
This test has a caveat worth knowing: it tests what your server sends when it receives an identical request that appears to be from the crawler, not what the real crawler would get. Many firewalls whitelist or blacklist crawlers by their IP addresses; so the real crawler can be blocked when it should pass, or vice versa.

3. Review your logs and CDN or firewall policies

Scan your access logs by each agent name and look at the response codes it received. Next, examine your CDN and firewall bot policies. A clean robots.txt can still be behind a block policy or challenge page. (Cloudflare blocked known AI crawlers by default on new domains beginning on 1 July 2025 but check your own AI crawler policies, don't assume.)
Make allow rules accurate and tight by quoting owners' published lists. OpenAI publishes IP ranges for OAI-Search Bot, GPTBot and ChatGPT-User and Perplexity publishes them for both of its agents. Anthropic publishes a list to verify a crawler really is their own (supposedly blocking their bots by IP address can prove unreliable quote their robots.txt instead).

4. Compare the raw HTML with the rendered page

Check the HTML your server delivers against what a browser displays once JavaScript is executed. Non-JavaScript-aware AI crawlers view a page only in its raw state. If the bulk of your text, including prices or product tables, is generated only after script execution, those crawlers will have a pretty much blank page. Count the number of words in each: if the raw HTML has far fewer, turn that content into the server response.

An example robots.txt for AI crawlers

This example allows the AI search crawlers, blocks the training crawlers and lets every other crawler in. Adapt it to your own policy, and test it before release:

# AI search crawlers: allowed, so the site can be cited
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

# AI training crawlers: blocked (a business choice)
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Disallow: /

# Everyone else, including Googlebot
User-agent: *
Allow: /

Sitemap: https://www.example.com/sitemap.xml

Two things to notice. Each crawler reads only its own group, so the training crawlers never see the final Allow: /. And the file only states your wishes: well-behaved crawlers follow it, while your CDN and firewall decide what actually gets through.

When should you block an AI crawler?

Block a crawler for a valid reason You might not want your data used to train models, if a crawler is actually imposing load on your servers, or if there are terms of service that restrict automation. For load alone, Anthropic encourages sites to support Crawl-delay so its crawling services only back off rather than break.
Regardless of what you choose, document the policy next to the file, date it, and provide your reason. Without doing so, the next developer, or the next "block AI bots" toggle in your CDN, may reverse the decision without realizing it.

Worked example: a US home services company

This example is informative. This is a fictitious business, and it is not intended to represent a real one. This demonstrates the way the four-part check detects issues that would not be caught by just doing a robots.txt review – but it gives no result.
An Ohio heating and cooling firm accepts appointments via its website. Its proprietor would love to be identified when folks ask a name-powered AI assistant for "HVAC repair near me" or "what does a furnace alternative value?" A developer last year was asked to "block the AI training bots"
. Here is what the check finds:

CheckWhat it findsFix
1. robots.txt groupsUser-agent: OAI-SearchBot was added directly above an existing User-agent: GPTBot / User-agent: ClaudeBot group ending in Disallow: /, so ChatGPT’s search crawler joined the training blockMove OAI-SearchBot into its own group with Allow: /
2. Server responseRequests with the Claude-SearchBot and PerplexityBot user agents get a 403, though robots.txt allows themFind the rule sending the 403 (step 3)
3. Logs and CDNThe CDN’s “block AI bots” switch was turned on during setup; logs show no OAI-SearchBot visits in the past monthTurn off the blanket switch; allow each search crawler by name and published IP range; keep training crawlers blocked if that is the policy
4. RenderingPrices and the service-area list load through a JavaScript booking widget; the raw HTML holds only the page heading and contact detailsServe the price ranges and service areas in the HTML; keep the widget for booking

Every layer obscured the layer below. The robots.txt alone would have made no difference and at that moment in time the CDN was blocking the traffic, fixing the CDN would have delivered a blank page without prices to the crawler, so the company logs their policy, puts it next to the file and repeats the four tests in a month.

Typical AI crawler errors

The majority of crawler issues arise from a rule created for one purpose but inadvertently blocks something else. Look out for these:
- Drop-kicking every AI bot to prevent training and taking out the AI search responses with it.
- Including a search crawler's User-agent line within a group terminating in Disallow: /.
- Here, you can expect User-agent: * rules will work on a bot that has its own group.
- Save robots.txt while same CDN or firewall rule is returning 403 to same crawler.
- Using a user-agent test as evidence for example, when the firewall is verifying an actual crawler IP.
- JavaScript loading of prices, product information or body alone.
- Blocking Google-Extended and you want off AI Overviews; no effect on Search.

How Adviora checks AI crawler access

Crawler access is Step 1 in how to improve AI search visibility because everything subsequent depends on them reaching your pages. Adviora reviews it on three levels:

If you want to…UseWhat you get
See whether AI engines find you todayFree AI visibility checkAnswers from four AI engines and a ranked fix list. Free with your email; no card.
Monitor crawl and access issues every weekAn Adviora plan, from $84 a month billed annuallyA technical audit of crawl, index, rendering and schema on every crawled page, plus six AI engines and Google AI Overviews tracked
Have it fixedAI Crawler Access Fix, $650 / ₹22,000, 10 business daysrobots.txt rules set to your policy, CDN and firewall checks, each crawler tested, and server-log verification repeated 30 days after release

The pack makes your pages reachable; it cannot promise what any engine then says about you. Read what we can’t promise. If you are weighing llms.txt as well, see our llms.txt reality check, and for indexing and rendering beyond AI crawlers, the technical SEO audit.

Frequently asked questions

Block ClaudeBot only if you don’t want your content used to train Anthropic’s models. ClaudeBot is Anthropic’s training crawler; blocking it does not stop Claude-SearchBot, which affects whether your pages can appear in Claude’s search results. Allow Claude-SearchBot if you want to be cited.

No. ChatGPT search uses OAI-SearchBot. Blocking GPTBot only signals that your content should not be used to train OpenAI’s models. To stay eligible for ChatGPT search answers, keep OAI-SearchBot allowed.

ClaudeBot is a legitimate crawler run by Anthropic, and Anthropic says it respects robots.txt, honours Crawl-delay and does not try to bypass CAPTCHAs. To confirm a visitor calling itself ClaudeBot is genuine, check its IP address against the list Anthropic publishes.

Cloudflare began blocking known AI crawlers by default on new domains on 1 July 2025. Its controls can change, so check the AI crawler controls in your own Cloudflare dashboard, even if your robots.txt allows the crawlers.

OpenAI and Perplexity both say changes can take about 24 hours to reach their systems. Other crawlers re-read robots.txt on their own schedules. Check your logs a few days after a change to confirm each crawler is behaving as expected.

Not reliably. These fetchers act because a person asked a question. OpenAI says robots.txt rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them. Anthropic says Claude-User does honour robots.txt.

Vivek Kishore Verma

Vivek Kishore Verma

CEO

CEO | Education & Tech Platforms | Institution Builder | AI for Learning & Governance | Driving Scalable Education Solutions

More from Vivek Kishore Verma
More in GEO & AEO (AI Visibility)