AI search Explainer

Should You Allow or Block AI Crawlers in robots.txt?

AI companies use different crawlers for training models, powering search answers and fetching pages users ask about. Blocking them all is easy, but it may also remove you from AI answers. Here’s how to decide.

Share this guide

You’ve heard that AI companies are crawling websites, and you’ve seen articles telling you to block them all in robots.txt. You’ve also heard that being mentioned in ChatGPT or Perplexity answers can bring customers. Both can be true, which is why a blanket decision is rarely the right one.

Quick answer

Most AI platforms run separate crawlers for training their models and for search or answering live questions. You can block training crawlers (such as GPTBot or Google-Extended) while still allowing search crawlers (such as OAI-SearchBot or PerplexityBot), so your pages can be cited in AI answers. Decide based on whether visibility in AI answers matters more to you than keeping content out of training data.

This guide explains what the main AI crawlers do, the trade-offs, example robots.txt rules for common choices, and how to check what’s actually visiting your site. If robots.txt is new to you, start with our robots.txt explainer.

The main AI crawlers and what they do

User agentCompanyPurpose (per its documentation)
GPTBotOpenAICollecting content that may be used to train models
OAI-SearchBotOpenAIFinding pages to show and link in ChatGPT search
ChatGPT-UserOpenAIFetching a page when a user’s request needs it
Google-ExtendedGoogleA control token for Gemini training and grounding; doesn’t affect Google Search
PerplexityBotPerplexityIndexing pages to show and link in Perplexity answers
Perplexity-UserPerplexityFetching pages in response to user questions
ClaudeBotAnthropicCollecting content that may be used for training
Claude-SearchBot / Claude-UserAnthropicSearch indexing and user-requested fetches
Applebot-ExtendedAppleA control token for use in Apple’s AI model training

The trade-offs

If you allowIf you block
Your pages can be cited and linked in AI answersYou may disappear from those answers on that platform
Your content may be used to train models (training crawlers)Your content is kept out of future training by compliant crawlers
More bot traffic on your serverLess load from those bots
Your brand can be described accurately from your own pagesAI tools may describe you from other sources instead

For most service businesses in Ireland, being found matters more than keeping published marketing pages out of training data. Publishers whose content is their product, such as news sites or paid course creators, may weigh it differently.

Example robots.txt rules

Option 1: Allow everything (the default)

If your robots.txt doesn’t mention AI crawlers, compliant ones may crawl the same pages as everyone else. No change is needed.

User-agent: GPTBot
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Applebot-Extended
Disallow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

This keeps compliant training crawlers out while leaving search crawlers free to find and cite your pages. It’s a common middle ground.

Option 3: Block all known AI crawlers

List each AI user agent with Disallow: /. Be aware that this may remove you from AI answers on those platforms, and that non-compliant scrapers ignore robots.txt anyway.

Option 4: Block only some sections

You can allow AI crawlers on your service pages and guides but disallow paid or members-only content, such as Disallow: /members/.

Step by step: make the change in WordPress

  1. Decide your policyTraining, search, both or neither, using the trade-offs above.
  2. Check the current fileVisit yourdomain.ie/robots.txt and copy what’s there.
  3. Edit itMost SEO plugins, including Rank Math and Yoast, have a robots.txt editor. Otherwise, upload a robots.txt file to the site root.
  4. Add the rulesAdd each AI user agent block, keeping your existing rules for other crawlers.
  5. Test Googlebot accessUse URL Inspection in Search Console to confirm key pages are still crawlable.
  6. Check your firewall tooSome hosts and CDNs block AI bots at the server level regardless of robots.txt. See checking whether your site allows AI crawlers.

A worked example

This is an illustration, not a specific client. A Dublin employment law firm asks ChatGPT and Perplexity about redundancy rights in Ireland and finds its detailed guides never cited. Its robots.txt is fine, but its CDN’s “block AI bots” setting, switched on by default, is turning away every AI crawler.

The firm decides it wants visibility in AI answers but doesn’t want its content used for training. It turns off the blanket CDN block, adds robots.txt rules blocking GPTBot, ClaudeBot and Google-Extended while allowing OAI-SearchBot and PerplexityBot, and checks its server logs a few weeks later. Search crawlers are visiting again, and its guides start appearing as sources.

Mistakes to avoid

How to check what’s visiting

  • Check your server access logs or host’s analytics for AI user agents.
  • Some CDNs show a breakdown of bot traffic by crawler.
  • Verify genuine crawlers where the company publishes IP ranges, since user agents can be faked.
  • Test visibility by asking AI tools about your topics; see checking whether ChatGPT mentions your site.

For the bigger picture, read how AI search differs from traditional search and what PerplexityBot is. If you’d like help deciding, our AI search optimisation service covers crawler access and content, and our technical SEO service can review robots.txt and server settings.

Frequently asked questions

Does blocking GPTBot remove me from ChatGPT search?

Not according to OpenAI’s documentation: ChatGPT search uses OAI-SearchBot, which you control separately.

Will blocking AI crawlers affect my Google rankings?

No, as long as you don’t block Googlebot. Google-Extended doesn’t affect Search.

Do all AI companies respect robots.txt?

The major ones say their crawlers do. Some scrapers don’t, and robots.txt can’t stop them.

Can I remove content already used for training?

Robots.txt only affects future crawling. Check each company’s policies for other options.

Should a small business block AI crawlers?

Usually not the search crawlers, since being cited can bring visitors. Training is a personal choice.

How often should I review my AI crawler rules?

Every six months or so, as crawlers and platforms change.

Related reading: why a site appears in Google but not AI answers, how AI search engines find website information, monitoring mentions across AI platforms and whether traditional SEO still matters.

Sources and further reading

  1. Overview of OpenAI crawlersOpenAI: GPTBot, OAI-SearchBot and ChatGPT-User.
  2. Overview of Google crawlers and fetchersGoogle Search Central: Google-Extended.
  3. Perplexity crawlersPerplexity: PerplexityBot and Perplexity-User.
  4. Does Anthropic crawl data from the web?Anthropic Help Centre.
  5. About ApplebotApple: Applebot and Applebot-Extended.

Last updated 25 November 2026. Google changes its tools and reports regularly, so check the official sources above if something on screen looks different. This guide is general information, not advice for your specific website.

Found this useful? Share it