Should you block AI crawlers? A plain-English guide to robots.txt and AI bots

Most businesses want to be found, so keep the AI search bots allowed. Here's which AI bots do what, the robots.txt rules to block training only, and how to check your host isn't blocking them for you.
Should you block AI crawlers? A white robot representing the AI bots that visit websites

Article summary

  • Most businesses should keep the AI search bots allowed, or ChatGPT, Claude and Perplexity can't recommend them.
  • Blocking the training bots (GPTBot, ClaudeBot, Google-Extended) is a personal choice and won't affect your Google rankings.
  • One wrong line in robots.txt can quietly hide you from ChatGPT search, so block by bot name, never everything.
  • Check your host or Cloudflare first, as they may already be blocking AI bots for you.

Should you block AI crawlers? For most UK businesses, no, not all of them. Keep the AI search bots allowed so tools like ChatGPT and Perplexity can find and recommend you. Blocking the training bots is a personal choice and won’t hurt your Google rankings. And before you touch anything, check your host or CDN hasn’t already made the decision for you.

That’s the short version. The longer version matters, because one wrong line in a small text file can quietly stop ChatGPT showing your business, and plenty of people have been told to “just block GPTBot” without anyone explaining what it does.

In this guide: the three kinds of AI bot, which bot belongs to which company, a simple way to decide, copy-and-paste robots.txt rules, where to check on WordPress and your host, and why robots.txt won’t stop a fake Googlebot. Bot names and rules change often, so everything here was checked against each company’s own documentation in November 2026.

What AI crawlers actually are (and why there are three kinds)

An AI crawler is an automated program, run by an AI company, that visits web pages and reads them. They fall into three groups: training bots, which collect content to build AI models; search bots, which index pages so AI tools can show and link to them; and user-triggered fetchers, which visit a page because a person asked an AI tool to.

The difference matters because blocking one group doesn’t block the others.

  • Training bots read your pages so the content can be used to train future AI models. Blocking them is about whether your words become part of a model.
  • Search bots work much like Googlebot. They index your pages so an AI tool can show them, link to them and recommend you in answers. Block these and you make it harder to be found.
  • User-triggered fetchers only visit when someone asks, for example “summarise this company’s website”. They aren’t crawling the web on their own.

A quick definition, as we’ll use it a lot: robots.txt is a small text file at the root of your site (yourdomain.co.uk/robots.txt) that tells bots which parts of the site they’re welcome to crawl. Each bot is addressed by its “user agent”, which is just the name it goes by.

Which AI bots are which

Here are the main bots from the four companies most UK businesses care about, sorted into those three groups. Every description comes from the vendor’s own documentation.

BotCompanyWhat it’s forWhat blocking it does
GPTBotOpenAITrainingTells OpenAI your content shouldn’t be used to train its models
OAI-SearchBotOpenAISearchYour site won’t be shown in ChatGPT search answers
ChatGPT-UserOpenAIUser-triggeredOpenAI says robots.txt rules may not apply
Google-ExtendedGoogleTraining and grounding for GeminiNo effect on Google Search inclusion or rankings
ClaudeBotAnthropicTrainingExcludes your future content from Anthropic’s training data
Claude-SearchBotAnthropicSearchStops your content being indexed for Claude’s search
Claude-UserAnthropicUser-triggeredMay reduce your visibility when Claude users search
PerplexityBotPerplexitySearchStops your site being surfaced and linked in Perplexity
Perplexity-UserPerplexityUser-triggeredPerplexity says it generally ignores robots.txt

OpenAI: GPTBot, OAI-SearchBot and ChatGPT-User

GPTBot and OAI-SearchBot do completely different jobs. GPTBot collects content for training OpenAI’s models. OAI-SearchBot is what surfaces websites in ChatGPT’s search features. OpenAI says each setting is independent, so you can block GPTBot and still appear in ChatGPT search, as long as OAI-SearchBot is allowed.

ChatGPT-User is the third one. It visits when a ChatGPT user asks it to, it isn’t used to crawl the web automatically, and OpenAI says robots.txt rules may not apply to it. OpenAI also notes that robots.txt changes can take about 24 hours to show up in ChatGPT search.

Google: Googlebot and Google-Extended

Googlebot is the crawler behind Google Search. Leave it alone.

Google-Extended isn’t a separate bot at all. It’s a robots.txt token (a name you can write rules for) that controls whether content Google has crawled can be used to train its Gemini models and to ground Gemini’s answers. Google says Google-Extended doesn’t affect a site’s inclusion in Google Search and isn’t a ranking signal. Google’s crawler page doesn’t mention AI Overviews or AI Mode, so don’t expect blocking Google-Extended to keep you out of those.

Anthropic: ClaudeBot, Claude-SearchBot and Claude-User

Anthropic, the company behind Claude, splits things the same way. ClaudeBot collects content for training. Claude-SearchBot indexes content to improve Claude’s search results. Claude-User fetches pages when a Claude user asks a question. Anthropic says its bots honour robots.txt and also support a crawl-delay rule if you want them to visit less often.

Perplexity: PerplexityBot and Perplexity-User

PerplexityBot surfaces and links websites in Perplexity’s search results, and Perplexity says it isn’t used to train AI models. Perplexity-User handles user requests, and Perplexity says it generally ignores robots.txt because a person asked for the page. Perplexity has no separate training bot in its documentation.

So, should you block AI crawlers?

When people ask us “should you block AI crawlers?”, our honest answer for most small businesses is: block the training bots only if that genuinely bothers you, and never block the search bots by accident. If AI tools can’t read your site, they can’t recommend you. If your site is a small brochure site with no bot problems, you may not need to do anything at all.

Work through it like this:

  1. Do you want AI tools to recommend your business? Most of our clients do. Keep OAI-SearchBot, Claude-SearchBot, PerplexityBot and Googlebot allowed.
  2. Are you uncomfortable with your content training AI models? That’s a fair business choice. Block the training bots only (GPTBot, ClaudeBot and Google-Extended). It won’t touch your Google rankings.
  3. Are bots slowing your site down? Talk to your host about rate limits before blocking anything. Google’s Gary Illyes has suggested checking whether bot traffic is actually causing a problem before you act (reported by Search Engine Roundtable, October 2026).
  4. Small site, no complaints, no strong feelings? Leave it. A default WordPress robots.txt already lets every bot in.

A few cases where blocking more makes sense: paid or members-only content, original research that is your product, or licensing terms that limit how your content can be reused. For anything legal around copyright, speak to a solicitor. This guide is about visibility, not law.

On our own site, we let every AI bot in, training bots included. We want ChatGPT, Claude, Perplexity and Gemini to find and recommend Suki Marketing, and as an agency that publishes free guides, we’re happy for them to learn from them too.

How to block GPTBot and other AI bots in robots.txt

Setting up AI bots in robots.txt means adding a short group of lines for each bot: a “User-agent” line with the bot’s name, then a “Disallow” line saying what it can’t crawl. “Disallow: /” means the whole site. Each group is separate, so a rule for GPTBot doesn’t change anything for Googlebot or OAI-SearchBot.

Code on a computer screen, where robots.txt rules for AI bots are written

How to block GPTBot in robots.txt (training only)

To block GPTBot in robots.txt, add these two lines to the file:

User-agent: GPTBot
Disallow: /

To block the main training bots from OpenAI, Anthropic and Google in one go, while leaving every search bot alone:

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: Google-Extended
Disallow: /

Leave a blank line between each group, keep your existing lines (such as your Sitemap line) in place, and don’t add anything for the search bots. If a bot isn’t named, it follows your general “User-agent: *” rules.

Opting out of Google-Extended without touching Google Search

The Google-Extended group above is all you need. Don’t write rules for Googlebot itself unless you mean to change how Google Search crawls you. Google says Google-Extended has no effect on Search inclusion or rankings, so this is the safest of the three to block if you only want to opt out of Gemini training.

Worth knowing: Google has said it intends to support a newer “AI training” preference signal in robots.txt in early 2027, and Anthropic says it already honours one. We’ll update this guide when that becomes the simpler option.

The one mistake to avoid: blocking OAI-SearchBot or Googlebot by accident

The costly mistake is a blanket block. These two lines tell every well-behaved bot, including Googlebot, to stay away from your whole site:

User-agent: *
Disallow: /

The other common slip is blocking OAI-SearchBot because it “sounds like AI”. OpenAI is clear that sites opted out of OAI-SearchBot won’t be shown in ChatGPT search answers. If your aim is getting found in AI search, that’s the opposite of what you want.

AI crawlers and WordPress: where your robots.txt lives

On WordPress, your robots.txt is often “virtual”. If there’s no actual file on the server, WordPress generates a basic one for you, which lets all bots in apart from the admin area. SEO plugins such as Rank Math and Yoast let you edit it from the dashboard, and some hosts give you a real file in the site’s root folder instead.

To see what you’ve got right now, visit yourdomain.co.uk/robots.txt in your browser. Then:

  1. Check your SEO plugin. Most have a robots.txt editor in their settings. If a real file exists on the server, that file wins, and the plugin may tell you it can’t edit it.
  2. Check Settings, then Reading. “Discourage search engines from indexing this site” should be unticked on a live site. It isn’t an AI setting, but it affects every search engine.
  3. Check your security plugin. Some have bot-blocking or firewall rules that act separately from robots.txt. If you’re choosing one, our WordPress security plugin comparison covers the main options.

Check your host and CDN aren’t blocking AI crawlers for you

Your host or CDN (content delivery network, a service like Cloudflare that sits in front of your site) can block AI crawlers without anything changing in robots.txt. Robots.txt asks politely. A firewall simply refuses the visit. So a clean robots.txt doesn’t prove the bots are actually getting in. Host blocking AI crawlers is easy to miss for exactly that reason.

Here’s where to look:

  • Cloudflare. Its “AI Crawler and Agent access policies” let you allow or block bots by what they do (search, agent or training). Cloudflare’s documentation, updated in November 2026, says new domains allow all three by default. If someone set your account up before then, or a developer changed it, check what’s actually selected.
  • Your hosting control panel. Look for anything labelled bot protection, firewall, WAF (web application firewall), ModSecurity or rate limiting.
  • Your host’s support team. If you can’t find it, ask them directly: “Do any of your firewall or bot protection rules block OAI-SearchBot, GPTBot, ClaudeBot or PerplexityBot on my site?”

If you’re comfortable with a command line, a quick test is to request your homepage while pretending to be a bot, for example curl -I -A “OAI-SearchBot” https://yourdomain.co.uk/. A 403 or 503 response suggests something is blocking that name. It isn’t proof either way, because firewalls often check the bot’s IP address as well as its name.

This is one of the first things we look at in our technical SEO checks, because it’s invisible until you go looking.

Robots.txt isn’t security: the fake Googlebot problem

Robots.txt is a request, not a lock. Well-behaved bots from Google, OpenAI and Anthropic follow it, but nothing forces anyone to. Some user-triggered fetchers don’t apply it, and scrapers ignore it. Worse, any bot can claim to be Googlebot just by using the name, so a visit that says “Googlebot” in your logs may not be Google at all.

Google’s Gary Illyes put it bluntly in October 2026: AI has made bot impersonation worse, and pretending to be Googlebot takes about 30 seconds (reported by Search Engine Roundtable). Robots.txt was never designed to stop that. If something on your site is genuinely private, protect it with a login, not a robots.txt line.

How to verify Googlebot is really Google

To verify Googlebot, check the visitor’s IP address rather than its name. Google’s own method has four steps:

  1. Run a reverse DNS lookup on the IP address in your logs (for example, host followed by the IP address).
  2. Check the result ends in googlebot.com, google.com or googleusercontent.com.
  3. Run a forward DNS lookup on that domain name.
  4. Check it gives you back the original IP address.

If both directions match, it’s Google. If not, it’s an impersonator. Google also publishes its crawler IP ranges as downloadable lists, and OpenAI, Anthropic and Perplexity do the same for their bots, so firewalls can check visitors automatically. Most hosts and Cloudflare can do this for you.

How to see which AI bots visit your site

To see which AI bots visit your site, look in your server access logs, your host’s visitor statistics, or your CDN dashboard, and search for the bot names in the table above. Logs show each visit’s user agent, the page requested and whether it was served or refused.

A reporting dashboard on a laptop, used to check which bots visit a website

Look out for three things:

  • Which bots turn up at all. If OAI-SearchBot never appears, it’s worth checking it isn’t being blocked.
  • Refused visits. Lots of 403 responses to a search bot point to a firewall rule.
  • Volume. If one bot is hitting the site hard, ask your host about rate limiting first. Anthropic also supports a crawl-delay rule for ClaudeBot.

If your brand isn’t showing up in AI answers, bot access is only one possible reason. Content, reviews and mentions on other sites all play a part in appearing in AI search results, and they’re usually behind why ChatGPT recommends your competitors instead of you. And llms.txt is a separate file with a separate job, so it won’t fix a blocked bot.

Want a second pair of eyes on your robots.txt?

Whether you should block AI crawlers on your own site depends on what your robots.txt, host and Cloudflare settings are already doing, and if you’re not sure, we’re happy to take a look. We’ll check which bots can reach your site, whether anything is blocking AI search by accident, and how you’re showing up in tools like ChatGPT. No jargon and no hard sell.

Book a free 30-minute call, or find out more about our technical SEO work and how we help businesses with getting found in AI search.

Frequently Asked Questions

If I block GPTBot, will I disappear from ChatGPT?

No. GPTBot is OpenAI’s training crawler. Appearing in ChatGPT search depends on OAI-SearchBot, and OpenAI says the two settings are independent. You can block GPTBot and stay visible in ChatGPT search, as long as OAI-SearchBot is allowed in robots.txt and isn’t blocked by your host or firewall.

Does blocking Google-Extended affect my Google rankings or AI Overviews?

Google says Google-Extended doesn’t affect inclusion in Google Search and isn’t a ranking signal. It controls whether your content is used to train and ground Gemini models. Google’s crawler documentation doesn’t say it covers AI Overviews or AI Mode, so blocking it shouldn’t be expected to remove you from those features.

Do AI bots obey robots.txt?

The major companies say their crawlers do. OpenAI, Anthropic and Perplexity all document how their bots handle robots.txt. The exceptions are user-triggered fetchers: OpenAI says rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them. Scrapers and fake bots ignore robots.txt completely, which is why it isn’t a security tool.

Will AI crawlers slow down my website?

On most small sites, no. Google’s Gary Illyes has suggested most small sites don’t need to worry about bots straight away. If your site does slow down, check your logs for which bot is responsible, then ask your host about rate limiting or caching before blocking anything, so you don’t cut off a bot that helps people find you.

Is my web host or Cloudflare blocking AI bots without me knowing?

It’s possible. Hosts, CDNs and security plugins can block bots at the firewall, which robots.txt won’t show. Cloudflare’s documentation says new domains allow AI crawlers by default, but settings can be changed. Check your Cloudflare AI crawler settings, your hosting control panel’s bot protection, and your security plugin, or ask your host directly.

Can I stop AI training but still show up in AI search?

Yes. Block the training bots (GPTBot, ClaudeBot and Google-Extended) and leave the search bots allowed (OAI-SearchBot, Claude-SearchBot, PerplexityBot and Googlebot). Each company treats these as separate settings. Allowing a search bot makes it possible to appear in that tool’s answers, but it doesn’t guarantee you’ll be recommended.

Do small business websites need to do anything at all?

Often not. A standard WordPress robots.txt lets every bot in, which suits most businesses that want to be found. The two things worth doing are checking your host or CDN isn’t blocking AI search bots, and deciding whether you mind your content being used for training. If you don’t mind, you can leave it.

in this article

Suzie Kidger, founder of Suki Marketing

Written by

Suzie Kidger

Suzie is the founder of Suki Marketing and has a real passion for all things search engine optimisation. With a wealth of knowledge across the whole SEO landscape, she has a particular love for digging around in websites to make those tricky technical fixes – to Suzie, there's nothing more satisfying. Suzie also has extensive experience making local businesses shine in search results. Having written engaging SEO content for a wide range of industries, including construction, hospitality, healthcare, fitness, and many others, she's skilled at making sure your expertise reaches the right audience.

Keep reading

More from the blog

See all articles →

More from the blog

Ready to get found?

Let's make it happen.

Book a free call