Block AI crawlers

Should you block AI crawlers, and which ones?

A practical guide to the bots run by OpenAI, Anthropic, Perplexity, Google and others: what each one does, what you lose by blocking it, and how to write rules that do exactly what you intend.

Many site owners want to block AI crawlers to stop their content from being used without permission, while still being cited by ChatGPT, Perplexity or Google’s AI features. Those two goals can conflict, because the same companies run several different bots. This guide lists the main crawlers, separates training bots from search and user agents, explains the trade-off, and gives tested robots.txt and firewall settings for the most common situations.

Key takeaways

  • AI companies run separate bots for training, for search indexing and for fetching a page a user asked about.
  • Blocking training crawlers does not, by itself, remove you from AI search answers; blocking search agents usually does.
  • robots.txt is the standard way to block AI crawlers that respect it; a firewall or CDN rule is needed for bots that do not.
  • Google-Extended controls the use of your content for Gemini training, not your presence in Google Search or AI Overviews.
  • Decide per bot family, write the rules, then check your server logs to confirm the effect.

What it means to block AI crawlers

A crawler is a program that requests web pages automatically. AI companies use them for three distinct jobs. Training crawlers collect public pages to build future models. Search crawlers build an index the assistant can search when it answers, which is what produces citations and links. User agents fetch a specific page in real time because a person asked the assistant to read it.

When people say they want to block AI crawlers, they usually mean the first family. The difficulty is that the other two families are what make your business visible inside assistants. A blanket rule against every AI bot removes the risk and the opportunity at the same time.

Three families of AI bots to consider before you block AI crawlers
Training, search and user agents call for different decisions.

The main AI crawlers to know

Each company documents its user agents. Always check the official pages before writing rules, as names change: OpenAI crawlers, Anthropic crawlers, Perplexity crawlers and Google crawlers.

CompanyTrainingSearch indexUser fetch
OpenAIGPTBotOAI-SearchBotChatGPT-User
AnthropicClaudeBotClaude-SearchBotClaude-User
PerplexityNone documented for trainingPerplexityBotPerplexity-User
GoogleGoogle-Extended (a control token, not a separate crawler)Googlebot (Search and AI Overviews)Google user-triggered fetchers
Common CrawlCCBot (open dataset used by many models)––

Microsoft Copilot relies on Bing, so its answers depend on Bingbot. Blocking Bingbot to stop Copilot would also remove you from Bing search, which is rarely a good idea.

What you lose when you block AI crawlers

The first cost is visibility. Assistants that search the web cite the pages they can read. If OAI-SearchBot, PerplexityBot or Claude-SearchBot cannot fetch your pages, competitors who allow them are more likely to appear in the answer, with a link.

The second cost is accuracy. When an assistant cannot read your site, it relies on third-party sources: old directory listings, review sites, outdated articles. The answer about your business may then be wrong, and you have less influence on it.

The third cost is referral traffic. Visits from chatgpt.com, perplexity.ai and copilot.microsoft.com are still modest for most sites, but they are well informed. You can measure them with the method in our guide to getting recommended by ChatGPT.

What you protect when you block AI crawlers

The benefits are real for some sites. Publishers whose business depends on original articles may not want them used to train models that then answer readers directly. Sites with expensive research, paid courses or unique datasets have similar concerns.

Trade-off when you block AI crawlers
Blocking protects content but can cost citations and visits.

There is also a practical benefit: server load. Some bots request thousands of pages in a short time. Limiting them can reduce hosting costs and protect performance for real visitors. In that case, rate limiting may be better than a full block.

Before you decide, look at your own numbers. Check how many requests AI bots send each month, which pages they read, and how many visits you already receive from assistants. A site that gets no AI referrals and heavy training-bot traffic has a different case than a site whose best leads now arrive from Perplexity. Data turns a debate about whether to block AI crawlers into a simple business decision.

Our recommendation by type of site

Type of siteTraining botsSearch agentsUser agents
Local business, contractor, clinicYour choice; little impactAllowAllow
B2B services, consultantsYour choiceAllowAllow
Publisher, media, paid researchBlockAllow if referral traffic mattersAllow
SaaS, documentation, developer toolsUsually allowAllowAllow
Private or customer-only contentBlockBlockBlock, and require a login

For most small and mid-size businesses, the right move is to allow search and user agents, then decide calmly about training. Being cited accurately is worth more than the theoretical protection of service pages that are public anyway.

Recommended AI crawler settings by type of site
Most businesses should allow search and user agents.

Block AI crawlers in 5 steps

  • 1. Decide per family: training, search, user fetch. Write the decision down with the date.
  • 2. Write robots.txt rules for the user agents you want to stop, one group per agent.
  • 3. Add firewall or CDN rules for bots that ignore robots.txt or overload your server.
  • 4. Test the file and check that your important pages still return 200 to the agents you allow.
  • 5. Monitor server logs monthly and update the rules when companies add new agents.
Five steps to block AI crawlers
Decide, write rules, add a firewall, then verify in the logs.

How to block AI crawlers with robots.txt

The robots.txt file sits at the root of your domain and is defined by the Robots Exclusion Protocol, RFC 9309. Google’s introduction to robots.txt explains the syntax. Here is an example that blocks training crawlers while allowing search and user agents.

# Training crawlers: blocked
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: Google-Extended
Disallow: /

# Search and user agents: allowed
User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

# Everyone else
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

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

Two details matter. First, a bot follows the most specific group that names it, so a group for GPTBot overrides the generic “*” group. Second, robots.txt is a request, not a lock: legitimate companies respect it, but scrapers may not. Private content must be protected by authentication.

Partial rules: block AI crawlers on some folders only

You do not have to choose between all or nothing. A common compromise is to block AI crawlers on the sections that hold your most valuable original work, while leaving service pages, pricing and contact pages open so that assistants describe your business correctly.

User-agent: GPTBot
Disallow: /research/
Disallow: /courses/
Allow: /

User-agent: ClaudeBot
Disallow: /research/
Disallow: /courses/
Allow: /

Folder-level rules are easy to maintain when your site structure is clean. If premium content is scattered across many URLs, consider moving it under one folder first; it simplifies robots.txt, analytics and access control at the same time.

Note that there is no widely adopted meta tag to block AI crawlers page by page. Proposals such as “noai” exist, but the companies listed above document robots.txt user agents as the control. For search snippets, the standard noindex, nosnippet and max-snippet directives remain the tools that Google and Bing support.

Google-Extended, AI Overviews and Bing

Google-Extended is a common source of confusion. It lets you opt out of having your content used to train and ground Gemini models. It does not remove your pages from Google Search, and it does not remove them from AI Overviews, which are part of Search. Google’s documentation on AI features and your website explains that standard controls such as nosnippet and noindex govern how content appears there.

In other words, you cannot block AI crawlers for AI Overviews without also limiting your normal search snippets. For Copilot, the same logic applies with Bing. Most businesses should leave Googlebot and Bingbot fully allowed.

Going further: firewall, CDN and IP lists

Some bots ignore robots.txt or disguise their user agent. A web application firewall or a CDN can block or rate-limit them based on behavior, IP ranges and verified bot lists. Cloudflare, for example, documents AI Crawl Control, which lets you allow, block or charge specific AI crawlers.

  • Prefer rate limiting over blocking for aggressive but legitimate bots.
  • Verify bots with the IP ranges published by each company before trusting a user agent.
  • Watch for side effects: overly broad rules can block Googlebot, uptime monitors or payment callbacks.
  • Keep a written list of every rule, with the reason and date, so the next person understands it.

Rate limiting: a middle path

If your main problem is load rather than reuse, you may not need to block AI crawlers at all. Rate limiting keeps a bot allowed but caps the number of requests per minute. Most CDNs and many hosts offer it. A sensible starting point is to limit unknown bots tightly, give verified search crawlers more room, and never limit Googlebot or Bingbot without a clear reason.

Combine rate limiting with caching. A page served from cache costs almost nothing, whoever requests it. Sites that suffer under bot traffic often have caching disabled for logged-out visitors, which is the real issue to fix.

Keep a decision record

Bot policies tend to be changed by different people over the years, and nobody remembers why. A short decision record avoids that. Store it next to your website documentation.

FieldExample
Date and authorMarch 2026, marketing lead
DecisionBlock AI crawlers used for training; allow search and user agents
ReasonProtect paid course content; stay visible in AI answers for services
Where it is implementedrobots.txt, CDN rule “AI training bots”, security plugin settings
Review dateEvery quarter, or when a new crawler is announced

A decision record also helps if you ever need to explain your policy to a partner or a client. Rules about whether to block AI crawlers touch content, legal and marketing questions at once, so writing the reasoning down is worth the five minutes it takes.

robots.txt expresses your wishes to automated agents. It does not grant or remove legal rights, and it is not a substitute for terms of use, copyright notices or licensing agreements. If your concern is legal, speak with a lawyer about your terms and options; this guide only covers the technical side. On the technical side, the rule is simple: to block AI crawlers reliably, combine robots.txt for compliant bots with server-side controls for the rest, and keep truly private content behind a login.

Check what really happens: server logs

Rules are only as good as their effect. Download your access logs from your host or CDN and filter by user agent. For each bot, note the number of requests, the pages requested and the status codes returned. A blocked training bot should see 403 or stop requesting pages; an allowed search agent should receive 200 on your key pages.

Our free AI visibility checker tests whether the main AI agents are allowed by your robots.txt, and the broken link checker catches errors that would also affect crawlers.

How long changes take to apply

Crawlers re-read robots.txt regularly, typically within a day for well-behaved bots, but there is no guaranteed delay. A rule you add today stops future requests; it does not delete pages already collected for training or already stored in a search index. Removing content from an assistant’s index, when possible, follows each company’s own process, so check their documentation if that matters to you.

Allowing a bot again works the same way: the next visit after the change will be accepted. If you reopen access for search agents, expect citations to return gradually as the assistant re-crawls your pages, not overnight.

Questions to ask your web host or agency

  • Which bot rules are active today in robots.txt, the security plugin, the firewall and the CDN?
  • Do our key pages return 200 to OAI-SearchBot, PerplexityBot and Claude-SearchBot?
  • Is caching enabled for logged-out visitors, so bot traffic stays cheap?
  • Who is alerted if a rule starts blocking Googlebot or Bingbot by mistake?
  • Where is the decision record, and when is the next review?

Ask for the answers in writing, with the date, and keep them with your decision record.

If nobody can answer these questions quickly, that is the first thing to fix, before adding any new rule.

Typical case: a home services company

Example, not a real client. A home services company discovers that its security plugin returns 403 to every bot it does not recognize. As a result, it never appears as a source in Perplexity or ChatGPT search answers, and assistants describe it using an outdated directory listing.

The fix: allow OAI-SearchBot, PerplexityBot, Claude-SearchBot and the user agents; keep GPTBot and CCBot blocked, as the owner prefers; rate-limit unknown bots at the CDN. The owner reviews the logs one month later and confirms that the search agents now receive 200 on the service pages.

WordPress and security plugins

On WordPress, SEO plugins let you edit robots.txt from the dashboard, and security plugins add their own bot rules. Check both: a rule in one can cancel the effect of the other. After any change, open yoursite.com/robots.txt in a private window, purge your cache, and test a page with a user-agent switcher or a command-line request.

If you manage several sites, keep a single reference robots.txt and copy it, rather than editing each site by hand. Our technical SEO fix-up includes this kind of clean-up.

Common mistakes to avoid

  • Blocking every AI bot with one rule, including the search agents that produce citations.
  • Thinking Google-Extended removes you from AI Overviews.
  • Blocking Bingbot to stop Copilot, and disappearing from Bing.
  • Relying on robots.txt to protect private or paid content.
  • Forgetting that security plugins and CDNs have their own bot rules.
  • Never checking logs to confirm the rules work.

Checklist: block AI crawlers without losing visibility

Decision

  • Choice made per family: training, search, user
  • Decision written down with the date

Rules

  • robots.txt groups per user agent
  • Googlebot and Bingbot fully allowed
  • Firewall or CDN rules for non-compliant bots

Checks

  • Key pages return 200 to allowed agents
  • Logs reviewed monthly
  • Rules updated when new agents appear

Frequently asked questions

Does blocking GPTBot remove me from ChatGPT answers?

Not necessarily. GPTBot is OpenAI’s training crawler. ChatGPT search relies on OAI-SearchBot and ChatGPT-User, which have their own rules.

Can I block AI crawlers but stay in Google AI Overviews?

You can block training uses through Google-Extended, but AI Overviews are part of Search and follow normal Search controls such as noindex and nosnippet.

Is robots.txt enough to block AI crawlers?

It works for companies that respect it, which includes OpenAI, Anthropic, Google and Perplexity according to their documentation. For other bots, use firewall rules.

Will blocking AI bots speed up my site?

It can reduce server load if bots were sending many requests. Check your logs first to see whether that is the case.

Should a local business block AI crawlers?

Usually not the search and user agents: being cited accurately helps customers find you. Training bots are a personal choice with little practical impact for service pages.

How often should I review the rules?

Every quarter, and whenever a major AI company announces a new crawler.

Not sure which bots to allow?

We review your robots.txt, firewall rules and logs, then set a policy that protects what matters while keeping you visible in AI answers. Start with our free tools, or tell us about your project.

See AI search optimization

Related: free SEO tools, AI search visibility guide and all SEO resources.

Similar Posts