GPTBot vs ClaudeBot vs PerplexityBot: Which AI Crawler Should You Block?
If you’re running a website, you’ve probably noticed something strange in your server logs. AI crawlers have become some of your most frequent visitors, and they’re consuming more bandwidth than actual humans. We’re not talking about traditional search engine bots like Googlebot anymore. These new visitors are GPTBot, ClaudeBot, and PerplexityBot—artificial intelligence crawlers that scrape your content to train their language models.
The numbers tell a shocking story. AI crawler traffic has experienced explosive growth, with some reports showing traffic shares quadrupling in just eight months. Some websites now report that automated bots consume up to 70% of their dynamic server resources. Even more concerning: while these crawlers take massive amounts of data, they give very little back in return.
Here’s what makes this situation tricky. You might want your content to appear in AI-generated responses to reach new audiences. But you also need to protect your server resources, maintain control over your intellectual property, and ensure your content isn’t used without proper attribution. The question isn’t just “should I block AI crawlers?” but rather “which ones should I block, and when?”
In this guide, we’ll break down the three major AI crawlers—GPTBot from OpenAI, ClaudeBot from Anthropic, and PerplexityBot from Perplexity AI. You’ll learn how each one behaves, what impact they have on your website, and most importantly, how to make smart decisions about blocking them. We’ll also show you exactly how to implement your choices using robots.txt and other technical methods.
What Are AI Crawlers and Why Should Website Owners Care?
AI crawlers are automated programs that systematically visit websites to collect text data for training artificial intelligence models and powering AI search engines. Unlike traditional search crawlers that help people find your website, AI crawlers extract your content to teach machines how to generate human-like text.
Think of it this way: when Googlebot crawls your site, it creates an index that links people back to your content. When AI web crawlers visit, they’re essentially downloading your knowledge to reproduce it elsewhere—often without sending any visitors your way.

How AI Crawlers Differ from Traditional Search Bots
Traditional search engine crawlers like Googlebot or Bingbot work on a simple exchange. They index your content, and in return, they send organic traffic when people search for related topics. It’s a mutually beneficial relationship that’s powered the internet for decades.
AI crawlers operate under a completely different model. They collect your content for three main purposes:
Training data collection – Your articles, product descriptions, and blog posts become part of the dataset that teaches AI models how to write and reason.
Model fine-tuning – Specialized content helps AI systems improve their accuracy in specific industries or topics.
Real-time retrieval – Some AI crawlers grab current information to answer user questions in chat interfaces and AI search engines.
The problem? This relationship feels one-sided to many website owners. According to recent data from Cloudflare, some AI crawlers make up to 71,000 requests for every single referral click they send back. That means they’re taking far more than they’re giving.
The Impact on Your Website Resources
AI crawlers affect your website in several concrete ways:
Bandwidth consumption – Every crawler request uses your hosting resources. When AI bots visit thousands of pages, they consume significant bandwidth that you’re paying for. One study found that AI crawlers consumed nearly the same bandwidth as Googlebot despite making fewer total requests, with each AI crawl event averaging 134 KB.
Server load – AI crawlers can overwhelm shared hosting environments. They often make bursts of rapid requests that spike your CPU usage and slow down your site for actual human visitors.
Content reproduction – AI models generate responses that paraphrase or summarize your original content. Users get their answers without ever clicking through to your site, which impacts your traffic and revenue.
Attribution concerns – While traditional search engines prominently link to sources, many AI platforms provide limited or no attribution when they use information derived from your content.
Competitive disadvantage – Your competitors might be getting licensing deals with AI companies while you’re providing free training data. This creates an uneven playing field in your industry.
Understanding how websites detect and block scrapers and crawlers helps you make informed decisions about managing these automated visitors.
What Is GPTBot and How Does OpenAI’s Crawler Operate?
GPTBot is OpenAI’s official web crawler that collects publicly available data to train and improve GPT language models, including the popular ChatGPT system. This bot identifies itself with a specific user agent string and generally respects robots.txt directives when website owners explicitly block it.
OpenAI launched GPTBot as their primary data collection tool, and they’ve been relatively transparent about its operation compared to other AI companies. The company publishes IP ranges and provides clear documentation about how to control the bot’s access to your content.
GPTBot’s User Agent and Identification
When GPTBot visits your website, it identifies itself using this user agent string:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.0; +https://openai.com/gptbot)
This clear identification makes GPTBot one of the easier AI crawlers to detect in your server logs. You can search your access logs for “GPTBot” to see how often it’s visiting your site and which pages it’s accessing.
OpenAI also operates a second crawler called OAI-SearchBot, which powers ChatGPT’s live search feature. This is separate from GPTBot and serves a different purpose—it retrieves real-time information rather than collecting training data. Understanding the difference between GPTBot and OAI-SearchBot is important because you might want to block one while allowing the other.
How GPTBot Respects Robots.txt
GPTBot generally follows the standard web protocol for crawler behavior. When it visits your site, it first checks your robots.txt file to see if you’ve given it permission to crawl. If you’ve blocked it, GPTBot typically respects that directive and moves on.
This makes GPTBot more predictable than some other AI crawlers. You can implement a straightforward blocking strategy using your robots.txt file, and OpenAI’s crawler will honor your preferences.
However, there’s an important nuance. Blocking GPTBot only prevents OpenAI from using your content for future model training. If your content was already crawled before you implemented the block, it may already be part of their training dataset.
GPTBot’s Crawling Behavior and Patterns
Based on website owner reports and traffic analysis, GPTBot exhibits several characteristic behaviors:
Moderate crawl frequency – GPTBot doesn’t tend to hammer servers with excessive requests compared to some other AI crawlers. It typically maintains reasonable crawl rates that won’t overwhelm most hosting setups.
Broad content interest – The bot crawls a wide variety of content types, from blog posts to technical documentation. It’s particularly interested in high-quality, informative text content.
Published IP ranges – OpenAI publishes the IP address ranges that GPTBot uses, which allows you to verify legitimate GPTBot traffic versus someone spoofing the user agent.
Rate limiting – OpenAI claims that GPTBot maintains rate limits typical of legitimate web crawlers, though actual experiences vary depending on your site’s size and hosting configuration.
The Trade-offs of Blocking GPTBot
Deciding whether to block GPTBot involves weighing several factors:
Potential benefits of allowing GPTBot:
- Your content may be cited or referenced in ChatGPT responses
- You could gain visibility among ChatGPT’s massive user base
- OpenAI is actively signing licensing agreements with publishers, so allowing their crawler might position you for future partnerships
Reasons to block GPTBot:
- You want to protect proprietary content or trade secrets
- Your hosting resources are limited and you need to conserve bandwidth
- You prefer to negotiate a licensing agreement before allowing AI training on your content
- You’re concerned about content reproduction without proper attribution
Many news publishers have taken a hard stance. Recent research shows that 79% of top news sites block AI training bots via robots.txt, with GPTBot being one of the most commonly blocked crawlers.

What Is ClaudeBot and How Does Anthropic’s Crawler Behave?
ClaudeBot is Anthropic’s primary web crawler used to collect training data for Claude, their AI assistant competitor to ChatGPT. This crawler has gained significant attention for its aggressive crawling patterns and the massive traffic volume it generates relative to the referral traffic it provides back to websites.
Anthropic, the company behind Claude, operates multiple crawlers. ClaudeBot handles training data collection, while Claude-Web and Claude-SearchBot serve other functions related to real-time information retrieval. Understanding what ClaudeBot is and how it operates helps you make informed blocking decisions.
ClaudeBot’s User Agent String
ClaudeBot identifies itself with this user agent:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Like GPTBot, ClaudeBot uses a clear identifier that makes it relatively easy to spot in your server logs. You can filter your access logs for “ClaudeBot” to analyze its crawling patterns on your site.
ClaudeBot’s Aggressive Crawling Patterns
Here’s where things get concerning for website owners. ClaudeBot has developed a reputation for particularly aggressive crawling behavior that puts significant strain on server resources.
High request volume – Multiple website owners have reported that ClaudeBot makes an enormous number of requests in short time periods. Some have documented millions of requests within days or even hours.
Crawl-to-refer ratio – According to Cloudflare’s analysis, ClaudeBot makes approximately 71,000 crawl requests for every single referral click it sends back to websites. This represents one of the worst crawl-to-refer ratios among all AI crawlers.
Resource consumption – Despite making fewer total requests than some crawlers, ClaudeBot’s crawling style tends to consume disproportionate amounts of bandwidth. Each request averages around 134 KB, similar to other AI crawlers, but the rapid-fire nature of the requests creates server load spikes.
Bursty behavior – Rather than crawling steadily over time, ClaudeBot often exhibits “bursty” patterns where it hammers a site with many requests quickly, then disappears for a while. This behavior can be particularly problematic for websites on shared hosting or with limited resources.
Does ClaudeBot Respect Robots.txt?
Anthropic states that ClaudeBot respects robots.txt directives and will honor disallow rules. In their official documentation, they explain that their crawlers check for “do not crawl” signals and should comply with them.
However, website owners have reported mixed experiences. While many confirm that blocking ClaudeBot in robots.txt effectively stops the traffic, others have experienced continued crawling even after implementing blocks. This might be due to caching issues, delayed directive updates, or misidentification of traffic sources.
The key point: you should still implement robots.txt blocking if you want to stop ClaudeBot, but also monitor your logs to verify that the block is working as intended.
ClaudeBot’s Impact on Server Performance
The real-world impact of ClaudeBot varies dramatically depending on your hosting setup:
Shared hosting environments – Sites on shared hosting report the most significant problems. ClaudeBot’s burst crawling can max out CPU allocation and cause slow-downs or even temporary outages.
WordPress sites – Dynamic content management systems like WordPress are particularly vulnerable because each ClaudeBot request triggers database queries and PHP processing, unlike static HTML pages that are lighter to serve.
Sites with limited bandwidth – If you’re on a hosting plan with bandwidth caps or overage charges, ClaudeBot’s aggressive crawling can lead to unexpected costs. Some site owners report that AI crawlers have increased their bandwidth consumption by 50% or more.
E-commerce platforms – Product-heavy sites with lots of pages give ClaudeBot more to crawl, potentially impacting your ability to serve actual customers during traffic spikes.
The Controversy Around Anthropic’s Crawling Ethics
ClaudeBot has sparked debates in the web development and SEO communities. The main point of contention is the asymmetrical relationship: Anthropic’s crawler takes vast amounts of data while Claude provides minimal traffic back to source websites.
According to recent data analysis, Anthropic recorded one of the steepest decreases in bot-to-human traffic ratios, dropping 86.7% from January metrics. This suggests they’ve scaled back some of their most aggressive crawling behavior, possibly in response to criticism and blocking measures.
Still, the fundamental question remains: is this crawling pattern fair? Website owners invest time and money creating content, and many feel that AI companies should either:
- Send more referral traffic back to sources
- Compensate content creators through licensing agreements
- Reduce crawl rates to more sustainable levels
- Provide clear opt-in mechanisms rather than opt-out
Understanding web scraping ethics can help frame these debates in terms of broader internet norms and responsibilities.
What Is PerplexityBot and Why Is It the Most Controversial?
PerplexityBot is the web crawler operated by Perplexity AI to index content for their AI-powered search engine. Unlike GPTBot and ClaudeBot, which primarily collect training data, PerplexityBot aims to retrieve and index information that appears in real-time search results.
But here’s where the story gets interesting—and controversial. PerplexityBot has been accused of using “stealth crawling” techniques that ignore robots.txt directives and deliberately hide its identity to bypass website blocks. These allegations have made PerplexityBot the most controversial AI crawler among website owners and publishers.
PerplexityBot’s Official Identification
When operating normally, PerplexityBot identifies itself with this user agent:
PerplexityBot/1.0 (+https://perplexity.ai/bot)
The company also operates a variant called PerplexityBot-Search that specifically handles search indexing:
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot-Search/1.0; +https://perplexity.ai/bot)
These official identifiers make it easy to detect PerplexityBot in your logs—when the bot is actually using them.
The Stealth Crawling Controversy
In mid-year reports, Cloudflare published a detailed investigation that accused Perplexity of using deceptive crawling practices. Here’s what they discovered:
Rotating user agents – Perplexity allegedly modified their user agent strings to hide their crawling activity. Instead of identifying as PerplexityBot, their crawlers would impersonate regular web browsers, particularly Google Chrome on macOS.
IP address rotation – The crawlers frequently changed IP addresses and autonomous system numbers (ASNs) to evade detection and blocking. This made it difficult for website owners to identify and stop the unwanted traffic.
Ignoring robots.txt – Cloudflare customers reported that even after adding PerplexityBot to their robots.txt disallow list, the crawling continued. The bots would either fail to fetch the robots.txt file or simply ignore its directives.
Bypassing WAF rules – Some website owners created Web Application Firewall (WAF) rules specifically targeting PerplexityBot, only to find that the crawler adapted its behavior to circumvent these blocks.
Perplexity’s Response to the Allegations
Perplexity AI pushed back strongly against these accusations. In their public response, they claimed that:
Cloudflare made errors – Perplexity argued that Cloudflare misidentified traffic and attributed crawling to them that actually came from other sources or user-initiated actions.
User-triggered crawling – They explained that some of the crawling occurs when actual Perplexity users ask questions, which triggers real-time information gathering. They contend this shouldn’t be classified as traditional crawling.
Following web standards – Perplexity maintains that they respect robots.txt and publish their IP addresses for verification, similar to other search engines.
Legitimate search engine behavior – The company argues that as an AI search engine, their crawling behavior is no different than what Google or Bing do—it’s necessary for their product to function.
The Trust Problem with PerplexityBot
Regardless of who’s right in this dispute, the controversy has created a trust problem. Many website owners now view PerplexityBot with suspicion, and blocking rates reflect this sentiment.
Recent research on news publisher blocking practices shows that 67% of major news sites block PerplexityBot for indexing. This is one of the highest block rates among AI crawlers, exceeded only by training-specific bots.
The trust issue extends beyond just technical crawling behavior. It’s about transparency, respect for website owner preferences, and whether AI companies should be allowed to operate under different rules than traditional search engines.
How to Verify if PerplexityBot Is Actually Blocked
If you decide to block PerplexityBot, don’t just implement the robots.txt rule and walk away. You need to verify that the block is actually working:
Monitor your server logs – Search for “PerplexityBot” in your access logs, but also look for unusual patterns of requests that might be stealth crawling with different user agents.
Check for browser user agents from unusual IPs – If you see lots of Chrome or Firefox user agents from data center IP addresses (rather than residential ISPs), these might be disguised crawlers.
Use Cloudflare or similar services – If you use Cloudflare or another web application firewall, they can help identify and block suspicious bot traffic beyond just checking user agent strings.
Look for referral traffic – Check your analytics to see if Perplexity.ai appears as a referral source. If you’re blocking the crawler but still seeing referrals, it might indicate that the crawler is accessing your content through other means.
Monitor bandwidth usage – Track your overall bandwidth consumption before and after implementing blocks. If you don’t see a decrease despite blocking multiple AI crawlers, some might be evading your directives.
Understanding common errors in web scraping detection can help you identify when crawlers are using sophisticated evasion techniques.
How Do These Three AI Crawlers Compare?
Now that we’ve examined each crawler individually, let’s put them side by side. Understanding the key differences helps you make strategic decisions about which crawlers to block and which to allow.
Crawl Volume and Server Impact Comparison
Each of these three crawlers affects your server differently:
GPTBot shows moderate crawling behavior with reasonable request rates. Website owners generally report that GPTBot doesn’t cause significant server problems, even on shared hosting. The crawler spaces out its requests and doesn’t typically create traffic spikes.
ClaudeBot exhibits the most aggressive crawling patterns among the three. It generates high request volumes in short bursts, which can overwhelm servers. The crawl-to-refer ratio of approximately 71,000:1 means you’re giving far more than you’re getting back.
PerplexityBot falls somewhere in the middle for volume, but the controversy around stealth crawling makes it harder to measure accurately. Official PerplexityBot traffic might be moderate, but if stealth crawling allegations are true, the actual impact could be much higher.
Respect for Robots.txt and Web Standards
How well do these crawlers follow the established rules of the web?
GPTBot has the best reputation for respecting robots.txt directives. Website owners consistently report that blocking GPTBot in robots.txt effectively stops the crawler. OpenAI also publishes their IP ranges, making verification straightforward.
ClaudeBot officially respects robots.txt according to Anthropic’s documentation. Most website owners confirm that robots.txt blocking works, though there have been scattered reports of continued crawling. This might be due to delayed implementation or caching rather than deliberate violations.
PerplexityBot has the most problematic reputation regarding robots.txt compliance. Multiple sources, including Cloudflare’s detailed report, have documented instances where PerplexityBot appeared to ignore robots.txt directives or use alternative methods to access blocked content.
Transparency and Documentation
Transparency matters when you’re deciding which crawlers to trust with your content:
OpenAI (GPTBot) provides clear documentation, publishes IP ranges, and openly explains what GPTBot does with collected data. They’ve also been proactive about signing licensing deals with major publishers, suggesting they recognize content has value.
Anthropic (ClaudeBot) offers decent documentation and explains their crawling practices. They provide a support page explaining how to block their crawlers and what each bot does. However, they’ve been less transparent about their licensing efforts compared to OpenAI.
Perplexity (PerplexityBot) provides basic documentation and publishes IP addresses, but the stealth crawling controversy raises questions about whether they’re fully transparent. The gap between what they claim and what security researchers have documented creates uncertainty.
Referral Traffic and Attribution
What do you get back from allowing these crawlers?
GPTBot primarily collects training data, so you won’t see direct referral traffic from ChatGPT in most cases. However, ChatGPT’s separate search crawler (OAI-SearchBot) can drive referral traffic when the AI cites your content in response to user queries.
ClaudeBot provides minimal referral traffic relative to its crawling volume. That 71,000:1 crawl-to-refer ratio means you’re essentially providing free training data with little return on investment.
PerplexityBot is specifically designed to index content for search, so it has better potential for driving referral traffic than the training-focused crawlers. However, blocking rates among publishers suggest many don’t find the referral traffic worth the resource consumption.
Commercial Relationships and Licensing
The business side of these crawlers affects the larger picture:
OpenAI has signed multiple high-profile licensing agreements with publishers like the Associated Press, Axel Springer, and others. These deals suggest OpenAI is willing to pay for premium content rather than just scraping everything for free.
Anthropic has been less visible in public licensing announcements, though they may have private agreements we don’t know about. Their approach seems less focused on formal content partnerships compared to OpenAI.
Perplexity has faced criticism for crawling content without adequate compensation or licensing agreements. Some publishers have complained publicly about Perplexity summarizing their paywalled content without permission or payment.
Which Crawler Poses the Biggest Risk?
The answer depends on what you consider a “risk”:
For server resources – ClaudeBot poses the highest risk due to its aggressive, bursty crawling patterns that can overwhelm hosting resources.
For content control – PerplexityBot represents the biggest concern if you value strict adherence to your crawling preferences, given the documented issues with stealth crawling.
For long-term strategy – Blocking GPTBot might be the riskiest move if you want to participate in the AI ecosystem, since OpenAI appears most active in forming legitimate partnerships.
Understanding how different types of web scrapers operate can help you contextualize these AI crawlers within the broader landscape of automated data collection.
Should You Block AI Crawlers? Understanding the Trade-offs
This is the million-dollar question that website owners are wrestling with right now. There’s no universal answer because the right decision depends on your specific situation, goals, and resources. Let’s break down the key considerations that should influence your choice.
Why You Might Want to Allow AI Crawlers
Before we jump to blocking everything, let’s consider the potential benefits of allowing AI crawlers to access your content:
Visibility in AI-generated responses – When AI systems train on your content, they can cite or reference your work when answering user questions. This represents a new form of visibility as more people use AI assistants instead of traditional search engines.
Future-proofing your traffic strategy – AI search is growing rapidly, with some traffic studies showing 527% year-over-year increases in AI referral traffic. Blocking AI crawlers today might mean missing out on this emerging traffic source tomorrow.
Positioning for licensing deals – Companies like OpenAI are actively signing content licensing agreements with publishers. If you allow their crawlers now and build a track record of valuable content, you might be better positioned to negotiate a licensing deal later.
Establishing authority in AI training data – Your content becoming part of major AI training datasets can reinforce your position as an authority in your niche. When AI models consistently reference concepts from your site, it indirectly validates your expertise.
Supporting the open web – Some argue that blocking AI crawlers goes against the spirit of the open internet where information is freely accessible and linked. If everyone blocks AI crawlers, these systems can’t function, which might not be the outcome we want.
Why You Should Consider Blocking AI Crawlers
Now let’s look at the compelling reasons to block these crawlers:
Bandwidth and server costs – AI crawlers consume real resources that you pay for. If you’re on shared hosting or have bandwidth limits, aggressive crawlers can lead to performance problems or overage charges. One major non-profit reported a 50% increase in bandwidth costs due to AI crawlers.
Content theft concerns – AI models reproduce information without always providing clear attribution or driving traffic back to your site. You’ve invested time and money creating valuable content, and AI companies are using it to train commercial products without compensation.
Competitive disadvantage – Your competitors might be negotiating licensing deals while you’re giving away content for free. Blocking crawlers gives you leverage to negotiate fair terms before allowing access.
Protecting proprietary information – If your site contains unique research, trade secrets, or competitive intelligence, you probably don’t want AI models trained on this data, potentially making it accessible to competitors through AI queries.
Declining organic traffic – As AI systems answer questions directly, fewer users click through to websites. Research shows that approximately 93% of AI search sessions end without a website click. Allowing crawlers might accelerate the decline of your traditional search traffic.
Server performance for real users – Every resource consumed by bots is a resource unavailable for actual human visitors. Blocking AI crawlers ensures your hosting resources prioritize paying customers or engaged readers.
Ethical stance – Some website owners block AI crawlers on principle. They believe AI companies should ask permission and offer compensation before using content for commercial AI products that generate billions in revenue.
The Middle Ground: Selective Blocking Strategy
You don’t have to make an all-or-nothing decision. Many website owners are adopting nuanced approaches:
Block training crawlers, allow search crawlers – You might block GPTBot (which collects training data) while allowing OAI-SearchBot (which powers real-time search). This lets you appear in AI search results without contributing to ongoing training.
Allow reputable crawlers, block controversial ones – You could allow GPTBot and ClaudeBot while blocking PerplexityBot due to the trust issues around stealth crawling.
Time-based strategy – Allow crawlers initially to establish presence in AI systems, then implement blocks once your content is indexed. This is risky because you can’t undo training that’s already happened.
Section-based blocking – Use robots.txt to block certain sections of your site while allowing others. For example, you might protect your premium research reports while allowing crawlers to access your general blog content.
Monitor and adjust – Start by allowing all crawlers while carefully monitoring your server metrics and referral traffic. If you see excessive resource consumption without corresponding benefits, implement selective blocks.
Industry-Specific Considerations
Your industry affects this decision significantly:
News publishers – Most major news organizations are blocking AI training crawlers. Recent data shows 79% of top news sites block AI training bots via robots.txt. Publishers invested heavily in original reporting and don’t want AI systems reproducing their scoops without compensation.
E-commerce sites – If you sell products, blocking AI crawlers might hurt you. When users ask AI assistants for product recommendations, you want your offerings to appear. The traffic potential might outweigh the bandwidth costs.
Educational content creators – Teachers, course creators, and educational platforms face a dilemma. Having AI systems trained on your educational content spreads knowledge but potentially reduces course enrollments and subscription revenue.
Technical documentation – Developer documentation sites might benefit from AI training because when programmers ask coding questions, AI assistants can provide helpful references. This drives awareness even if it doesn’t drive immediate clicks.
Local businesses – Small local businesses should probably allow AI crawlers. When someone asks an AI assistant “best Italian restaurants near me,” you want to appear in that response. The visibility benefits likely outweigh any resource concerns.
Content creators and bloggers – This depends on your monetization model. If you rely on ad revenue from pageviews, blocking crawlers makes sense. If you’re building authority and offering paid services, AI visibility might attract clients.
Understanding various web scraping use cases helps you see how data collection serves different purposes across industries.
Questions to Ask Before Making Your Decision
Work through these questions to clarify your thinking:
- What’s your hosting situation? Are you on shared hosting with limited resources, or do you have dedicated servers with bandwidth to spare?
- What’s your primary business goal? Do you need pageviews for ad revenue, or are you building authority to attract consulting clients?
- How unique is your content? If you have truly proprietary research or data, protection might matter more than visibility.
- Are you seeing actual AI referral traffic? Check your analytics for traffic from chatgpt.com, perplexity.ai, or other AI platforms. If you’re already getting referrals, blocking might hurt you.
- Can you afford to negotiate from strength? If you have premium content that AI companies would want, blocking might give you leverage to negotiate better licensing terms.
- What are your competitors doing? Check their robots.txt files to see their approach. Being the only site in your niche that blocks crawlers could put you at a visibility disadvantage.
How to Block AI Crawlers Using Robots.txt
If you’ve decided to block some or all AI crawlers, robots.txt is your primary tool. This simple text file tells automated crawlers which parts of your site they can and cannot access. Let’s walk through exactly how to implement these blocks effectively.
Understanding Robots.txt Basics
Your robots.txt file lives in the root directory of your website at yourwebsite.com/robots.txt. It’s a plain text file that follows a simple syntax that most legitimate crawlers respect.
The basic structure uses two key directives:
User-agent – This line specifies which crawler the rule applies to. You can use specific bot names or the wildcard “*” for all bots.
Disallow – This line tells the crawler which URLs or directories it cannot access. An empty Disallow means the crawler can access everything.
Allow – This line (optional) explicitly permits access to specific paths, which can be useful when you have a disallow rule for a directory but want to allow certain files within it.
Here’s a simple example:
User-agent: *
Disallow: /private/
This tells all crawlers they cannot access anything in the /private/ directory. Understanding the fundamentals of robots.txt helps you implement more sophisticated blocking strategies.
Blocking GPTBot Specifically
To block OpenAI’s GPTBot from crawling your entire site, add these lines to your robots.txt file:
User-agent: GPTBot
Disallow: /
The forward slash after “Disallow:” means the entire site is off-limits to GPTBot.
If you want to block GPTBot from specific sections while allowing it elsewhere, you can do this:
User-agent: GPTBot
Disallow: /premium-content/
Disallow: /private/
Allow: /blog/
This blocks GPTBot from the premium-content and private directories but explicitly allows access to the blog section.
Remember that OpenAI operates multiple crawlers. If you want to block their search crawler as well, add:
User-agent: OAI-SearchBot
Disallow: /
Blocking ClaudeBot Specifically
To block Anthropic’s ClaudeBot, use this syntax:
User-agent: ClaudeBot
Disallow: /
Anthropic actually operates several bots, and you might want to block all of them:
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-Web
Disallow: /
User-agent: anthropic-ai
Disallow: /
The additional user agents cover different crawlers that Anthropic uses for various purposes. Blocking all of them ensures comprehensive protection.
Blocking PerplexityBot Specifically
For PerplexityBot, use this directive:
User-agent: PerplexityBot
Disallow: /
However, given the controversy around stealth crawling, you might want to add additional protection. Some website owners also block these related user agents:
User-agent: PerplexityBot
Disallow: /
User-agent: PerplexityBot-Search
Disallow: /
Keep in mind that if the stealth crawling allegations are accurate, robots.txt alone might not be sufficient to fully block Perplexity’s crawlers. You may need additional measures, which we’ll cover in the next section.
Blocking All AI Crawlers at Once
If you want to take a comprehensive approach and block all known AI crawlers, you can list them all in your robots.txt file. Here’s a more complete example that blocks most major AI crawlers:
User-agent: GPTBot
Disallow: /
User-agent: OAI-SearchBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-Web
Disallow: /
User-agent: anthropic-ai
Disallow: /
User-agent: PerplexityBot
Disallow: /
User-agent: PerplexityBot-Search
Disallow: /
User-agent: Omgilibot
Disallow: /
User-agent: FacebookBot
Disallow: /
User-agent: Applebot
Disallow: /
User-agent: Applebot-Extended
Disallow: /
User-agent: Bytespider
Disallow: /
User-agent: Diffbot
Disallow: /
User-agent: ImagesiftBot
Disallow: /
User-agent: cohere-ai
Disallow: /
User-agent: Google-Extended
Disallow: /
This comprehensive list covers OpenAI, Anthropic, Perplexity, Meta, Apple, ByteDance, and Google’s AI training crawler. Note that this doesn’t block regular Googlebot or Bingbot, which are important for traditional search visibility.
If you want to learn about blocking other crawlers like ByteSpider or understand which bots are most commonly crawling websites, those resources provide additional context.
Common Robots.txt Mistakes to Avoid
Even experienced webmasters make errors when implementing crawler blocks. Here are the most common mistakes:
Blocking all bots with wildcard – Using User-agent: * and Disallow: / blocks every crawler, including Googlebot. This tanks your SEO and makes your site invisible to regular search engines.
Syntax errors – Robots.txt is picky about formatting. Each user-agent needs its own section. Putting multiple disallow rules for different bots in one block won’t work.
File location errors – Your robots.txt must be at the root domain (yoursite.com/robots.txt), not in a subdirectory. If it’s in the wrong location, crawlers won’t see it.
Case sensitivity issues – User-agent names are case-sensitive in some implementations. Use the exact capitalization that the bot’s documentation specifies.
Testing failures – Many website owners implement blocks without testing. Use robots.txt testing tools to verify your rules work as intended.
Forgetting to crawl delay – While not universally supported, adding a crawl delay can help manage aggressive crawlers without completely blocking them:
User-agent: ClaudeBot
Crawl-delay: 10
This asks the bot to wait 10 seconds between requests, which reduces server load.
How to Test Your Robots.txt Changes
After you update your robots.txt file, verify it’s working correctly:
Check the file is accessible – Navigate to yoursite.com/robots.txt in a browser to ensure the file loads and shows your new rules.
Use robots.txt testing tools – Google Search Console offers a robots.txt tester. While it’s designed for Googlebot, it validates syntax errors that would affect other crawlers too.
Monitor your server logs – After implementing blocks, watch your access logs for a few days. Search for the user-agent strings you blocked to confirm they’re no longer appearing.
Check your crawl stats – If you use Cloudflare or another CDN, check their bot analytics to see if the blocked crawlers have disappeared from your traffic.
Wait for cache expiration – Some crawlers cache robots.txt files for hours or even days. Don’t panic if you still see some crawling immediately after implementing blocks—it might take time for the changes to propagate.
Allowing Specific Sections While Blocking Others
Sometimes you want a more nuanced approach. Here’s how to block AI crawlers from your premium content while allowing them to crawl your public blog:
User-agent: GPTBot
Disallow: /members/
Disallow: /premium/
Disallow: /courses/
Allow: /blog/
Allow: /about/
This blocks access to members-only areas, premium content, and courses, but explicitly allows the blog and about sections.
You can even get more granular by blocking specific file types:
User-agent: GPTBot
Disallow: /*.pdf$
Disallow: /*.doc$
This blocks PDF and DOC files while allowing HTML pages to be crawled.
Beyond Robots.txt: Advanced Blocking Methods
While robots.txt is your first line of defense, it relies on crawler cooperation. Reputable bots like GPTBot and ClaudeBot will respect your robots.txt directives, but not all crawlers play by the rules. If you want stronger protection—especially against crawlers that ignore robots.txt—you need additional technical measures.
Why Robots.txt Isn’t Always Enough
Robots.txt is a request, not a command. It’s like putting up a “No Trespassing” sign. Well-behaved visitors will respect it, but it won’t physically stop someone determined to ignore it.
The PerplexityBot controversy highlights this limitation. When crawlers rotate IP addresses, change user agents, or simply ignore robots.txt directives, you need enforcement mechanisms that actually block the traffic at the server or network level.
Server-Level Blocking with .htaccess
If you’re running an Apache web server (common with shared hosting and WordPress sites), you can use .htaccess rules to block specific user agents. This provides enforcement that doesn’t rely on crawler cooperation.
Here’s how to block AI crawlers using .htaccess:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} GPTBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ClaudeBot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} PerplexityBot [NC]
RewriteRule .* - [F,L]
This code checks the user agent of incoming requests and returns a 403 Forbidden error if it matches GPTBot, ClaudeBot, or PerplexityBot. The [NC] flag makes it case-insensitive.
For Nginx servers, you’d add this to your server configuration:
if ($http_user_agent ~* (GPTBot|ClaudeBot|PerplexityBot)) {
return 403;
}
Server-level blocking is more effective than robots.txt because it actually prevents access rather than just asking politely. However, it still has a limitation: crawlers can spoof or change their user agent strings.
IP Address Blocking
When crawlers use undeclared user agents or rotate through different identities, IP address blocking becomes necessary. This works best when the AI company publishes their IP ranges.
OpenAI publishes their GPTBot IP ranges, which makes IP blocking straightforward. You can add these IPs to your firewall rules or server configuration to block all traffic from those addresses, regardless of what user agent they claim to be.
For Apache .htaccess:
Order Allow,Deny
Allow from all
Deny from 23.98.142.176/28
Deny from 23.102.140.112/28
These IP ranges are examples—you’d need to check OpenAI’s current published ranges and update them periodically as they change.
The downside? IP blocking is maintenance-intensive. AI companies can add new IP ranges, and you need to keep your block list updated. For websites operating at scale, this becomes impractical without automation.
Web Application Firewall (WAF) Rules
If you use a service like Cloudflare, AWS WAF, or Sucuri, you can create sophisticated firewall rules that go beyond simple user agent or IP blocking. These tools let you:
Analyze traffic patterns – WAFs can detect bot-like behavior even when the user agent claims to be a regular browser. They look at request rates, navigation patterns, and other behavioral signals.
Implement rate limiting – Rather than blocking AI crawlers completely, you can limit them to a certain number of requests per minute. This reduces resource consumption while still allowing some crawling.
Challenge suspicious traffic – WAFs can present CAPTCHA challenges to requests that look like bots. While this won’t work for all AI crawlers, it adds another layer of defense.
Create composite rules – You can combine multiple conditions. For example: “Block requests that have an AI crawler user agent AND come from a data center IP range AND make more than 10 requests per minute.”
Cloudflare recently introduced AI Crawl Control, which automatically manages AI bot traffic based on your preferences. This provides a much simpler interface than manually managing robots.txt and firewall rules.
Understanding how to handle rate limits from the scraper’s perspective helps you design more effective defensive rate limiting on your own site.
HTTP Header-Based Protection
A newer approach involves HTTP response headers that communicate AI training preferences. This is similar to robots.txt but uses a different mechanism.
You can add this header to your HTTP responses:
X-Robots-Tag: noai, noimageai
This tells AI crawlers not to use your content for training. Some AI companies have indicated they’ll respect these headers, though adoption isn’t universal yet.
You can implement this in your .htaccess file:
<FilesMatch "\.(html|php)$">
Header set X-Robots-Tag "noai, noimageai"
</FilesMatch>
Or in your PHP files:
header('X-Robots-Tag: noai, noimageai');
This approach is still emerging, and not all AI companies have committed to honoring these headers. But it’s worth implementing as part of a layered defense strategy.
CAPTCHA and Bot Challenge Systems
For sites that want to allow human visitors while blocking bots, CAPTCHA systems offer a solution. However, this approach has trade-offs:
Protects against unauthorized crawlers – Systems like hCaptcha, reCAPTCHA, or Cloudflare Turnstile can effectively block automated traffic.
Hurts user experience – Legitimate visitors may find CAPTCHAs annoying. Modern alternatives like Friendly Captcha or honeypot CAPTCHAs reduce friction.
May impact SEO – If your CAPTCHA system challenges legitimate search engine crawlers, you could damage your traditional search visibility. Make sure to whitelist Googlebot and other important crawlers.
Not suitable for all sites – E-commerce sites, news publishers, and content-heavy websites generally can’t use aggressive CAPTCHA systems without harming their business metrics.
For most website owners, CAPTCHA makes sense only for specific sections like login pages, form submissions, or premium content areas—not for your entire site.
Monitoring and Verification
Whatever blocking methods you implement, continuous monitoring is essential:
Regular log analysis – Review your server logs weekly to identify suspicious patterns. Look for unusual user agents, high-frequency requests from single IPs, or other bot-like behavior.
Bandwidth tracking – Monitor your bandwidth usage trends. If you implement AI crawler blocks, you should see measurable bandwidth reduction within a few weeks.
Referral traffic analysis – Track whether you’re still getting referral traffic from AI platforms. If you’re blocking crawlers but still seeing referrals, something might be wrong with your implementation.
Performance metrics – Watch your server performance metrics like CPU usage, memory consumption, and response times. Effective bot blocking should improve these numbers.
Periodic testing – Every few months, use curl or similar tools to test whether your blocks are working:
curl -A "GPTBot" https://yourwebsite.com/
This command simulates a request from GPTBot. If your blocking is working, you should receive a 403 error or other blocked response.
Understanding how to protect your website from AI training provides additional perspectives on implementing these defensive measures effectively.
The Legal Landscape: Copyright and AI Crawling
Beyond the technical decisions about blocking crawlers, there’s a legal dimension to this issue. Website owners are increasingly asking: “Do I have legal rights to stop AI companies from using my content?” The answer is complicated and rapidly evolving.
Current Copyright Law and AI Training
Copyright law gives content creators certain exclusive rights, including the right to control who can reproduce and create derivative works from their content. The question is whether AI training on copyrighted content violates these rights.
AI companies generally argue that training on publicly available content falls under “fair use”—a legal doctrine that allows limited use of copyrighted material without permission for purposes like criticism, education, and research. They claim that:
Transformative use – AI training transforms original content into something fundamentally different (statistical patterns in a model), rather than simply copying it.
No market substitution – Training on content doesn’t directly compete with the original work. The AI model doesn’t contain copies of the training data.
Public benefit – AI systems provide broad societal benefits, which courts often consider when evaluating fair use.
Content creators counter that:
Commercial purpose – AI companies use training data to build commercial products worth billions. This commercial exploitation should require permission and compensation.
Market harm – AI systems that reproduce or summarize content reduce traffic to original sources, causing measurable economic harm.
Scale matters – While fair use might excuse a small amount of copying, the mass-scale scraping of entire websites goes far beyond traditional fair use boundaries.
Understanding copyright issues in web scraping helps frame these debates in legal terms.
Recent Lawsuits and Legal Developments
Multiple lawsuits are currently working their way through courts around the world:
The New York Times vs. OpenAI and Microsoft – The prestigious newspaper sued both companies for copyright infringement, claiming they used millions of Times articles to train AI models without permission or compensation.
Authors Guild vs. OpenAI – Prominent authors including John Grisham and George R.R. Martin sued OpenAI, arguing that training on their books violates copyright and harms their livelihoods.
Getty Images vs. Stability AI – The stock photo giant sued the image generation company for training on their copyrighted images without licensing them.
Various news publishers – Outlets including The Intercept, Raw Story, and others have filed lawsuits alleging copyright infringement and unfair competition.
These cases haven’t been resolved yet, so we don’t have definitive legal answers. However, they signal that content creators are taking the fight seriously and may eventually establish precedents that change how AI companies must operate.
The Robots.txt Legal Question
Here’s a fascinating legal gray area: Does blocking a crawler in robots.txt create a legal basis for action if the crawler ignores your directive?
Some legal experts argue that robots.txt creates something like a “Terms of Service” for your website. If a crawler violates your robots.txt file, they’re accessing your site without permission, which could potentially violate:
Computer Fraud and Abuse Act (CFAA) – This U.S. law prohibits accessing computer systems without authorization. However, courts have interpreted it narrowly in web scraping cases.
Trespass to chattels – This legal theory treats unauthorized server access as trespassing on your digital property. It’s been used in some web scraping disputes but isn’t universally accepted.
Terms of Service violations – If your site has terms that prohibit automated scraping, violating those terms might create legal liability, though this is also legally uncertain.
The PerplexityBot controversy brings these questions into sharp relief. If Cloudflare’s allegations are accurate and Perplexity deliberately circumvented blocks, does that cross a legal line? We don’t have clear answers yet.
The Opt-In vs. Opt-Out Debate
A growing movement argues that the current system is backward. Instead of requiring website owners to opt out of AI crawling (by adding robots.txt rules), some advocates believe AI companies should implement opt-in systems.
Under an opt-in model:
Default is no access – AI crawlers would be blocked from all websites by default.
Explicit permission required – AI companies would need to negotiate agreements before accessing content.
Compensation standard – The opt-in process would include discussions about fair compensation.
Transparency – Website owners would know exactly how their content is being used.
Proponents argue this would be more fair and aligned with privacy principles like GDPR, which requires opt-in consent for personal data collection. AI companies naturally resist this model because it would dramatically reduce available training data and increase costs.
International Variations
Copyright law varies significantly by jurisdiction:
European Union – The EU’s Copyright Directive includes specific provisions about text and data mining. There’s an exception for research, but commercial AI training may not qualify. The GDPR also creates privacy obligations that affect crawling.
United Kingdom – UK law includes text and data mining exceptions but requires that content not be subject to technical protection measures. This might mean that robots.txt blocking could strengthen legal claims.
Japan – Japanese law is relatively permissive toward AI training, with broad exceptions for non-expressive uses of copyrighted works.
United States – As discussed, U.S. law relies heavily on fair use analysis, which remains unsettled in the AI context.
If you operate an international website, you might have stronger legal protections in some jurisdictions than others.
Practical Implications for Website Owners
Given this legal uncertainty, what should you do?
Document your preferences – Implement clear robots.txt rules, Terms of Service clauses, and copyright notices. While these might not guarantee legal protection, they strengthen your position if disputes arise.
Monitor for violations – Keep records of crawler activity, especially if you’ve implemented blocks. If you later pursue legal action, you’ll need evidence of unauthorized access.
Consider licensing opportunities – Rather than relying solely on legal remedies, explore whether AI companies would pay for licensed access to your content.
Join collective efforts – Some industry groups and publishers are banding together to negotiate with AI companies or pursue legal action collectively. There’s strength in numbers.
Stay informed – The legal landscape is changing rapidly. Follow developments in major lawsuits and regulatory proposals that could affect your rights.
Understanding whether web scraping is legal in general provides useful context for understanding AI-specific scraping questions.
Making Money from AI: Licensing and Partnerships
Instead of just blocking AI crawlers and walking away, some website owners are exploring ways to turn their content into a revenue stream through licensing agreements with AI companies. This represents a potential middle path between total blocking and free access.
The Emerging Content Licensing Market
AI companies need high-quality training data, and they’re starting to pay for it. Recent months have seen numerous licensing deals announced:
OpenAI partnerships – OpenAI has signed content licensing agreements with the Associated Press, Axel Springer (publisher of Politico and Business Insider), News Corp, and others. While specific terms aren’t publicly disclosed, these deals reportedly range from millions to tens of millions annually.
Google licensing – Google has signed deals with publishers to license content for their Gemini AI system, though on a smaller scale than OpenAI.
Perplexity’s publisher program – After facing criticism for crawling without permission, Perplexity launched a publisher program that shares advertising revenue with content partners.
Meta and Wikipedia – Meta signed a deal with Wikimedia Foundation to license Wikipedia content for AI training and retrieval.
These deals signal that premium content has value, and AI companies recognize they can’t just take everything for free indefinitely.
What Makes Content Valuable for Licensing
Not all content is equally attractive for licensing deals. AI companies prioritize:
Original reporting and research – Unique information that isn’t available elsewhere commands premium value. News organizations with investigative journalism teams have strong negotiating positions.
Authoritative expertise – Content from recognized experts in medicine, law, finance, or technical fields is more valuable than generic information.
Regular updates – AI companies want current information, not just historical data. Sites that publish frequently and cover breaking news are more attractive partners.
Exclusive access – Paywalled or members-only content that isn’t freely available for scraping gives you leverage in negotiations.
High production quality – Well-edited, fact-checked content is more valuable than user-generated or low-quality material.
Scale – Larger content libraries have more negotiating power. Individual bloggers will have a harder time securing deals than major publishers.
How to Position Your Site for Licensing Deals
If you want to explore licensing opportunities rather than just blocking crawlers, consider these strategies:
Document your value – Create a one-sheet explaining your site’s traffic, authority metrics, content volume, update frequency, and unique value proposition.
Implement strategic blocking – Block AI crawlers to demonstrate you control access to valuable content. This creates leverage for negotiations.
Build industry relationships – Connect with other content creators in your niche. Collective negotiations or industry-wide agreements might be more successful than individual approaches.
Monitor your content’s AI appearances – Search for your content in AI responses. If AI systems are already citing your work frequently, that demonstrates value you can point to in negotiations.
Create contact channels – Make it easy for AI companies to reach you about licensing. Some publishers add specific contact information for AI partnership inquiries.
Consider intermediaries – Some companies are emerging as intermediaries that help content creators collectively negotiate with AI companies.
The Revenue-Sharing Alternative
Not everyone can negotiate big licensing deals. Perplexity and some other AI companies are experimenting with revenue-sharing models instead:
Ad revenue sharing – When AI systems include ads alongside responses that use your content, you receive a percentage of the ad revenue.
Per-use compensation – Some proposals suggest paying content creators each time their content is accessed or referenced by an AI system.
Subscription splits – If users pay for AI services, a portion of subscription revenue could be distributed to content sources.
Attribution bonuses – Content that receives prominent attribution in AI responses might earn additional compensation.
These models are still experimental, and the economics haven’t been proven. The fundamental question is whether AI companies will generate enough revenue from these services to meaningfully compensate content creators.
The Collective Action Problem
Individual website owners face a challenge: AI companies prefer to negotiate with large publishers who control vast content libraries. A single blogger or small business website has little leverage.
This is creating interest in collective approaches:
Industry associations – Publishers in specific industries (news, academic journals, technical documentation) might negotiate collectively.
Content coalitions – Groups of websites band together to negotiate as a bloc, similar to how musicians form collectives to negotiate with streaming services.
Standard licensing frameworks – Some organizations are developing standard licensing frameworks that make it easier for smaller content creators to participate without individual negotiations.
Blockchain and rights management – Some proposals involve blockchain-based systems for tracking content usage and automatically distributing compensation.
These collective approaches are still developing, but they represent a potential path for smaller content creators to monetize their contributions to AI training.
Should You Pursue Licensing or Just Block?
For most website owners, the practical answer right now is probably “block first, license later.” Here’s why:
Leverage – You have more negotiating power if you’re blocking access than if you’ve already given everything away for free.
Uncertain market – The licensing market is still immature. Terms, pricing standards, and best practices are still being established.
Limited bandwidth – Unless you’re a major publisher, AI companies probably aren’t actively seeking you out for licensing deals. Blocking protects you while the market develops.
Portfolio approach – Block training crawlers (like GPTBot) while allowing search crawlers (like OAI-SearchBot). This preserves licensing leverage while maintaining visibility in AI search.
That said, if an AI company approaches you about licensing, it’s worth exploring. Just make sure any agreement:
- Compensates you fairly for your content’s value
- Allows you to maintain control over how content is used
- Includes ongoing payments, not just one-time fees
- Preserves your ability to license to multiple platforms
- Includes audit rights to verify usage
Understanding web scraping for AI training and its legal issues provides important context for these licensing discussions.
Step-by-Step: Implementing Your AI Crawler Strategy
Now that we’ve covered the context, comparisons, and considerations, let’s walk through the practical steps to implement your decision about AI crawlers. Whether you’re blocking all of them, some of them, or none of them, this section gives you a clear action plan.
Step 1: Audit Your Current Situation
Before making changes, understand your baseline:
Check your current robots.txt – Navigate to yoursite.com/robots.txt to see what crawler directives you already have in place. You might be surprised to find you’re already blocking or allowing certain bots without realizing it.
Analyze your server logs – Look through your access logs for references to GPTBot, ClaudeBot, PerplexityBot, and other AI crawler user agents. This tells you which bots are currently visiting and how often. If you’re not comfortable reading raw log files, ask your hosting provider if they offer bot traffic reports.
Review your bandwidth usage – Check your hosting dashboard to see your current bandwidth consumption trends. This establishes a baseline you can compare against after implementing blocks.
Check for AI referral traffic – Look in your analytics platform (Google Analytics, Matomo, etc.) for referral traffic from chatgpt.com, perplexity.ai, claude.ai, or other AI platforms. This shows whether you’re already benefiting from AI visibility.
Document your traffic patterns – Note your current monthly pageviews, server load statistics, and any performance issues. This helps you measure the impact of your changes.
Step 2: Define Your Blocking Strategy
Based on everything we’ve discussed, decide on your approach:
Option A: Block all AI training crawlers – This protects your content and preserves licensing leverage. Block GPTBot, ClaudeBot, and all training-focused crawlers, but consider allowing search crawlers like OAI-SearchBot.
Option B: Selective blocking – Block the most resource-intensive or controversial crawlers (perhaps ClaudeBot and PerplexityBot) while allowing more cooperative ones (perhaps GPTBot).
Option C: Section-based blocking – Block AI crawlers from premium content, courses, or member areas, but allow them to access your general blog or public pages.
Option D: Allow all with monitoring – If you want AI visibility and have adequate hosting resources, allow all crawlers but carefully monitor their impact.
Write down your specific decision so you can reference it later when monitoring results.
Step 3: Update Your Robots.txt File
Now implement your decision in your robots.txt file:
Locate your robots.txt file – This file is in your website’s root directory. If you use cPanel, look in File Manager. For WordPress, it’s typically at the same level as wp-config.php. If you don’t have a robots.txt file, create one.
Back up the existing file – Before making changes, save a copy of your current robots.txt. If something goes wrong, you can quickly restore it.
Add your blocking directives – Based on your strategy, add the appropriate User-agent and Disallow lines. We covered specific examples in earlier sections for each crawler.
Test your syntax – Use a robots.txt validation tool to check for errors. Google Search Console offers one, or you can use online validators.
Upload the updated file – Save your changes and upload the file to your server if necessary. Make sure it’s accessible at yoursite.com/robots.txt.
Verify it’s working – Open yoursite.com/robots.txt in a browser to confirm your changes appear correctly.
Step 4: Implement Additional Protections
If robots.txt alone isn’t sufficient for your needs:
Add .htaccess rules – For Apache servers, create or update your .htaccess file with user-agent blocking rules. Place this file in your site’s root directory, same location as robots.txt.
Configure your firewall – If you use Cloudflare, Sucuri, or another WAF service, create firewall rules that block or rate-limit AI crawler user agents.
Set up rate limiting – Even if you’re not completely blocking crawlers, implement rate limits to prevent them from overwhelming your server during traffic bursts.
Add HTTP headers – Implement X-Robots-Tag headers to communicate your preferences through an additional channel beyond robots.txt.
Consider IP blocking – For maximum protection against stealth crawling, implement IP-based blocks using published IP ranges from AI companies.
Step 5: Monitor the Results
After implementation, track whether your changes are having the desired effect:
Week 1: Immediate verification – Within the first week, check your server logs to see if the blocked crawlers have stopped appearing. Remember that some crawlers cache robots.txt, so you might see a few lingering requests.
Week 2-4: Bandwidth monitoring – Track your bandwidth usage to see if it decreases after blocking resource-intensive crawlers. Calculate the percentage change from your baseline.
Month 1-2: Performance assessment – Monitor your server performance metrics. Are page load times faster? Is CPU usage lower? Are you experiencing fewer resource limit warnings?
Month 2-3: Traffic analysis – Check whether your traditional search traffic from Google and Bing has been affected. Blocking AI crawlers shouldn’t impact regular search traffic, but verify this.
Ongoing: Referral tracking – Keep watching your analytics for AI platform referrals. If you blocked crawlers but still see significant referral traffic, you might want to reconsider your strategy.
Step 6: Adjust Based on Results
Your initial implementation doesn’t have to be permanent:
If blocking is working well – You’re seeing bandwidth savings, no downside to traditional SEO, and you’re comfortable with your decision, maintain your current approach.
If you’re losing AI visibility – If referral traffic from AI platforms drops significantly and you miss that traffic source, consider selectively re-enabling some crawlers.
If resource consumption is still high – If bandwidth hasn’t decreased as expected, investigate whether some crawlers are ignoring your robots.txt. You may need server-level blocking or WAF rules.
If licensing opportunities arise – If an AI company contacts you about a licensing agreement, you can adjust your robots.txt to allow their crawler as part of the deal.
If new crawlers appear – The AI landscape is evolving rapidly. New crawlers will emerge. Review your logs quarterly and update your robots.txt to block new AI bots as they appear.
Step 7: Stay Informed and Adapt
This is an evolving situation, so ongoing attention is important:
Follow industry news – Subscribe to SEO news sites, web development blogs, and tech news sources that cover AI crawler developments.
Monitor legal developments – Keep track of lawsuits and regulations that might change the rules around AI crawling and content licensing.
Network with peers – Join web development forums, SEO communities, or industry associations where people discuss their experiences with AI crawlers.
Review quarterly – Every three months, revisit your strategy. Check your data, assess whether your approach is still working, and adjust if needed.
Document your approach – Keep notes about what you’ve implemented and why. This helps when you need to explain your decisions to stakeholders or remember your reasoning months later.
Conclusion: Taking Control of Your Content in the AI Era
We’ve covered a lot of ground in this guide, from the technical details of how GPTBot, ClaudeBot, and PerplexityBot operate, to the strategic considerations around blocking them, to the step-by-step implementation of your chosen approach. Now it’s time to bring it all together and help you make a decision.
The rise of AI crawlers represents a fundamental shift in how content circulates on the internet. For decades, the web operated on an implicit bargain: search engines could crawl your content for free, and in exchange, they sent traffic back to your site. This arrangement powered the growth of the open web and made it possible for content creators to build audiences and businesses.
AI crawlers are breaking this bargain. They take your content to train models or generate responses, but they send minimal traffic back. The data is stark: crawl-to-refer ratios of 71,000:1 mean you’re getting almost nothing in return for the bandwidth and resources you’re providing. That’s not a sustainable relationship.
At the same time, we can’t ignore the reality that AI assistants are changing how people find information. AI search traffic has grown 527% year over year, and Gartner predicts traditional search engine volume could drop 25% as users shift to AI platforms. If you completely block all AI crawlers, you might be invisible in this emerging channel.
So what should you do? Here’s our recommendation for most website owners:
Start by blocking AI training crawlers. Implement robots.txt rules that block GPTBot, ClaudeBot, and other bots specifically used for model training. This protects your content, reduces resource consumption, and preserves your leverage if licensing opportunities emerge.
Consider allowing AI search crawlers. Bots like OAI-SearchBot that power real-time search features might drive referral traffic. Allowing these while blocking training bots gives you a presence in AI search without contributing to permanent training datasets.
Block PerplexityBot entirely. Given the documented issues with stealth crawling and ignoring robots.txt directives, PerplexityBot represents the highest risk with the least clear benefit.
Implement beyond just robots.txt. For sites with valuable content or limited resources, add server-level blocking or WAF rules to ensure your directives are actually enforced.
Monitor and adjust. This isn’t a set-it-and-forget-it decision. Review your approach quarterly based on actual data about traffic, resource consumption, and referrals.
Stay informed about licensing opportunities. As the content licensing market matures, opportunities may emerge for smaller content creators beyond just major publishers.
The most important thing is to make an intentional decision rather than doing nothing by default. Inaction means you’re providing free training data and bandwidth to companies building billion-dollar AI products while seeing little benefit yourself.
Whatever you decide, you’re not alone. Website owners across the internet are wrestling with these same questions. Some are blocking aggressively, others are allowing everything, and many are finding middle-ground approaches. There’s no single right answer—your decision should align with your specific goals, resources, and content strategy.
The good news is that you have options. You can block crawlers, negotiate for licensing deals, implement selective strategies, or change your approach as the landscape evolves. Understanding your options and taking action puts you in control.
If you want to dive deeper into related topics, DataPrixa offers comprehensive resources about web scraping fundamentals, crawler behavior patterns, and data collection ethics. You can also learn about specific crawlers like PetalBot or AhrefsBot to understand the broader landscape of automated web crawlers beyond just AI bots.
The web is changing, and AI crawlers are just one part of that transformation. By understanding these tools, making informed decisions, and implementing the right technical measures, you can protect your content while positioning yourself strategically for whatever comes next in the evolution of the internet.
Take action today. Check your robots.txt file, analyze your server logs, and implement the blocking strategy that makes sense for your situation. Your content has value—make sure you’re getting fair treatment in the AI era.
