{"id":69281,"date":"2026-11-01T19:32:00","date_gmt":"2026-11-01T14:02:00","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=69281"},"modified":"2026-11-01T16:51:45","modified_gmt":"2026-11-01T11:21:45","slug":"block-ai-crawlers","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/","title":{"rendered":"How to Block AI Crawlers From Scraping Your Website (robots.txt Guide)"},"content":{"rendered":"<p>Want to block AI crawlers from scraping your website, without disappearing from Google? You can, with a few lines in your robots.txt file. This guide lists the main AI bots and what each one does, gives copy-ready robots.txt rules, shows how to add them in WordPress and Cloudflare, and explains the new shared opt-out signal that OpenAI, Google, Microsoft and Anthropic say they will support.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/block-ai-crawlers-no-entry-sign.jpg\" alt=\"Red no entry sign against a blue sky, a symbol of blocking AI crawlers from a website\" width=\"1200\" height=\"630\" \/><\/p>\n<blockquote><p><strong>Quick answer:<\/strong> Add a <code>User-agent<\/code> group with <code>Disallow: \/<\/code> for each AI training bot you want to stop (GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, Meta-ExternalAgent) to the robots.txt file at the root of your site. This doesn&#8217;t affect Google or Bing search rankings. Keep search bots such as Googlebot, Bingbot and OAI-SearchBot allowed if you want to keep search traffic. robots.txt is a request, not a lock: reputable companies follow it, but bad scrapers may not, so add a firewall rule (for example Cloudflare&#8217;s AI bot settings) for stronger protection.<\/p><\/blockquote>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6ae7647866c0d\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ae7647866c0d\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#Training_bots_vs_search_bots_block_the_right_ones\" >Training bots vs search bots: block the right ones<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#robotstxt_rules_to_block_AI_training_crawlers\" >robots.txt rules to block AI training crawlers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#How_to_block_AI_crawlers_in_WordPress\" >How to block AI crawlers in WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#How_to_block_AI_bots_with_Cloudflare\" >How to block AI bots with Cloudflare<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#What_robotstxt_cant_do\" >What robots.txt can&#8217;t do<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#Should_you_block_AI_crawlers\" >Should you block AI crawlers?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#What_changed_in_2026_a_shared_AI_training_opt-out\" >What changed in 2026: a shared AI training opt-out<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#FAQ\" >FAQ<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#Does_blocking_AI_crawlers_hurt_SEO\" >Does blocking AI crawlers hurt SEO?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#What_is_GPTBot\" >What is GPTBot?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#How_do_I_check_which_AI_bots_visit_my_site\" >How do I check which AI bots visit my site?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2026\/11\/block-ai-crawlers\/#How_long_does_a_robotstxt_change_take_to_work\" >How long does a robots.txt change take to work?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Training_bots_vs_search_bots_block_the_right_ones\"><\/span>Training bots vs search bots: block the right ones<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>AI companies now run several bots with different jobs. Blocking all of them can cost you traffic, because some send visitors from AI search answers. The key is to separate training (your content teaches a model) from search and user requests (your page is fetched to answer a question, often with a link).<\/p>\n<table>\n<thead>\n<tr>\n<th>User-agent<\/th>\n<th>Company<\/th>\n<th>What it does<\/th>\n<th>Block to stop training?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>GPTBot<\/td>\n<td>OpenAI<\/td>\n<td>Collects content that may train OpenAI&#8217;s models<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>OAI-SearchBot<\/td>\n<td>OpenAI<\/td>\n<td>Shows sites in ChatGPT search answers<\/td>\n<td>No (blocking removes you from ChatGPT search)<\/td>\n<\/tr>\n<tr>\n<td>ChatGPT-User<\/td>\n<td>OpenAI<\/td>\n<td>Fetches a page when a user asks; robots.txt may not apply<\/td>\n<td>Not needed for training<\/td>\n<\/tr>\n<tr>\n<td>ClaudeBot<\/td>\n<td>Anthropic<\/td>\n<td>Collects content that may train Claude models<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>Claude-SearchBot \/ Claude-User<\/td>\n<td>Anthropic<\/td>\n<td>Search results and user-requested fetches<\/td>\n<td>No, unless you want out of Claude answers<\/td>\n<\/tr>\n<tr>\n<td>Google-Extended<\/td>\n<td>Google<\/td>\n<td>A control token (not a separate crawler) for Gemini training and grounding<\/td>\n<td>Yes; doesn&#8217;t affect Google Search<\/td>\n<\/tr>\n<tr>\n<td>Applebot-Extended<\/td>\n<td>Apple<\/td>\n<td>Control token for Apple&#8217;s AI model training<\/td>\n<td>Yes; doesn&#8217;t affect Apple search<\/td>\n<\/tr>\n<tr>\n<td>Meta-ExternalAgent<\/td>\n<td>Meta<\/td>\n<td>Crawls to train AI models and improve products<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>CCBot<\/td>\n<td>Common Crawl<\/td>\n<td>Builds an open web archive that many AI models train on<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td>PerplexityBot<\/td>\n<td>Perplexity<\/td>\n<td>Indexes sites for Perplexity search answers; not for training<\/td>\n<td>No (blocking removes you from Perplexity search)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>User-agent names come from each company&#8217;s official crawler pages: <a href=\"https:\/\/developers.openai.com\/api\/docs\/bots\" target=\"_blank\" rel=\"noopener\">OpenAI<\/a>, <a href=\"https:\/\/support.claude.com\/en\/articles\/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler\" target=\"_blank\" rel=\"noopener\">Anthropic<\/a>, <a href=\"https:\/\/developers.google.com\/crawling\/docs\/crawlers-fetchers\/google-common-crawlers\" target=\"_blank\" rel=\"noopener\">Google<\/a>, <a href=\"https:\/\/support.apple.com\/en-us\/119829\" target=\"_blank\" rel=\"noopener\">Apple<\/a>, <a href=\"https:\/\/developers.facebook.com\/docs\/sharing\/webmasters\/web-crawlers\/\" target=\"_blank\" rel=\"noopener\">Meta<\/a>, <a href=\"https:\/\/commoncrawl.org\/ccbot\" target=\"_blank\" rel=\"noopener\">Common Crawl<\/a> and <a href=\"https:\/\/docs.perplexity.ai\/guides\/bots\" target=\"_blank\" rel=\"noopener\">Perplexity<\/a>. Companies add bots from time to time, so check these pages once or twice a year.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"robotstxt_rules_to_block_AI_training_crawlers\"><\/span>robots.txt rules to block AI training crawlers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This set blocks the main AI training bots across your whole site while leaving search engines alone. Add it to your existing robots.txt; don&#8217;t delete your other rules or your sitemap line.<\/p>\n<pre><code># Block AI training crawlers\nUser-agent: GPTBot\nDisallow: \/\n\nUser-agent: ClaudeBot\nDisallow: \/\n\nUser-agent: Google-Extended\nDisallow: \/\n\nUser-agent: Applebot-Extended\nDisallow: \/\n\nUser-agent: Meta-ExternalAgent\nDisallow: \/\n\nUser-agent: CCBot\nDisallow: \/<\/code><\/pre>\n<p>To block only part of your site, replace <code>Disallow: \/<\/code> with a path such as <code>Disallow: \/premium\/<\/code>. To block AI search too (not usually recommended), add groups for OAI-SearchBot, Claude-SearchBot and PerplexityBot.<\/p>\n<p>Don&#8217;t put these bots under <code>User-agent: *<\/code> with <code>Disallow: \/<\/code>, because that would also block Googlebot and Bingbot and remove your site from search. If you are unsure your file is correct, our guide to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2013\/04\/bad-robots-txt-blocked-urls\/\">finding and fixing URLs blocked by robots.txt<\/a> shows how to test it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_block_AI_crawlers_in_WordPress\"><\/span>How to block AI crawlers in WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>WordPress creates a virtual robots.txt file unless a real file exists in your site&#8217;s root folder. You have three easy options:<\/p>\n<ol>\n<li><strong>Rank Math:<\/strong> go to <strong>Rank Math SEO<\/strong> &gt; <strong>General Settings<\/strong> &gt; <strong>Edit robots.txt<\/strong> (turn on Advanced Mode first), paste the rules and save. Rank Math says you must delete any physical robots.txt file in the root folder before its editor works (<a href=\"https:\/\/rankmath.com\/kb\/how-to-edit-robots-txt-with-rank-math\/\" target=\"_blank\" rel=\"noopener\">Rank Math help<\/a>).<\/li>\n<li><strong>Yoast SEO or another SEO plugin:<\/strong> most have a robots.txt or file editor under their Tools menu.<\/li>\n<li><strong>A real file:<\/strong> create a plain-text file named robots.txt, add your rules and upload it to the root folder (the same folder as wp-config.php) using your host&#8217;s file manager or FTP.<\/li>\n<\/ol>\n<p>Then open <code>yoursite.com\/robots.txt<\/code> in a browser to confirm the new lines appear. Clear any page cache or CDN cache if you still see the old version.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_block_AI_bots_with_Cloudflare\"><\/span>How to block AI bots with Cloudflare<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>robots.txt relies on bots choosing to obey it. If your site uses Cloudflare, its dashboard can block AI bots at the network edge. In <strong>Security Settings<\/strong>, Cloudflare&#8217;s <strong>Configure AI bot policies<\/strong> option lets you choose separately whether to allow or block AI search, AI agent and AI training bots, on all pages or only on pages with ads (<a href=\"https:\/\/developers.cloudflare.com\/bots\/additional-configurations\/block-ai-bots\/\" target=\"_blank\" rel=\"noopener\">Cloudflare docs<\/a>). Other hosts and firewalls, such as server rules in nginx or Apache, can also block by user agent, but verify bots by IP where the company publishes IP lists, because some scrapers fake their user agent.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_robotstxt_cant_do\"><\/span>What robots.txt can&#8217;t do<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>It doesn&#8217;t remove past data.<\/strong> Content already collected before you added the rule may still be in training sets.<\/li>\n<li><strong>It isn&#8217;t enforced.<\/strong> Well-known companies say they honour it, but unknown scrapers may ignore it.<\/li>\n<li><strong>User-requested fetches may bypass it.<\/strong> OpenAI, Meta and Perplexity say some user-triggered fetchers may not follow robots.txt.<\/li>\n<li><strong>It doesn&#8217;t stop copying.<\/strong> For classic content scrapers, see our tips to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2013\/03\/stop-rss-feed-scraping-content-theft\/\">stop RSS feed scraping and content theft<\/a>.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Should_you_block_AI_crawlers\"><\/span>Should you block AI crawlers?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It depends on what you publish. Blocking training bots makes sense if your writing, photos or research are your product and you don&#8217;t want them reused without a deal. Allowing AI search bots usually makes sense if you want to be cited and linked in ChatGPT, Claude, Perplexity and Gemini answers. Many publishers now do both: block training, allow search. Whatever you choose, review your robots.txt every few months, because bot names and company policies change.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_changed_in_2026_a_shared_AI_training_opt-out\"><\/span>What changed in 2026: a shared AI training opt-out<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><em>Updated 1 November 2026.<\/em><\/p>\n<p>On 30 October 2026, Anthropic&#8217;s Kevin Kelley published an IETF Internet-Draft called <a href=\"https:\/\/datatracker.ietf.org\/doc\/draft-kelley-aipref-training-preference-signal\/\" target=\"_blank\" rel=\"noopener\">Machine-Readable Training Preference Signal<\/a>, building on the IETF AI Preferences (AIPREF) working group. It defines one shared robots.txt token, <code>__usage_ai-training<\/code>, that tells every participating company at once whether your content may be used for AI training. Google, OpenAI and Microsoft said the same week that they would support it. The draft&#8217;s example looks like this:<\/p>\n<pre><code>User-Agent: __usage_ai-training\nDisallow: \/\nAllow: \/press-kit\/<\/code><\/pre>\n<p>That means &#8220;don&#8217;t use my site for AI training, except the press kit&#8221;. Important details:<\/p>\n<ul>\n<li><strong>It isn&#8217;t live yet.<\/strong> Google&#8217;s crawler documentation says it plans to support the signal in early 2027; Microsoft has said it will honour it from 1 February 2027; OpenAI says &#8220;in the coming months&#8221;; Anthropic says work has started. Until then, keep the per-bot rules above.<\/li>\n<li><strong>It is a draft, not a finished standard.<\/strong> It is an individual Internet-Draft and its details may change.<\/li>\n<li><strong>It covers training, not crawling or search.<\/strong> It doesn&#8217;t block crawling and doesn&#8217;t change search rankings. Google says that if you opt out with the shared token and don&#8217;t mention Google-Extended, it plans to treat that as a Google-Extended block.<\/li>\n<li><strong>Adding it now is harmless.<\/strong> You can add the group alongside your existing rules so it takes effect as each company switches it on.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"FAQ\"><\/span>FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Does_blocking_AI_crawlers_hurt_SEO\"><\/span>Does blocking AI crawlers hurt SEO?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Blocking AI training bots such as GPTBot, ClaudeBot, Google-Extended and Applebot-Extended doesn&#8217;t affect Google or Bing search rankings. Blocking AI search bots (OAI-SearchBot, PerplexityBot, Claude-SearchBot) can remove your site from those AI search answers.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"What_is_GPTBot\"><\/span>What is GPTBot?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>GPTBot is OpenAI&#8217;s crawler that collects public web content that may be used to train its AI models. OpenAI says disallowing GPTBot tells it your content shouldn&#8217;t be used for training.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_check_which_AI_bots_visit_my_site\"><\/span>How do I check which AI bots visit my site?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Look for their user-agent names in your server access logs, your host&#8217;s statistics, or Cloudflare&#8217;s analytics. Many security plugins also show bot visits.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_long_does_a_robotstxt_change_take_to_work\"><\/span>How long does a robots.txt change take to work?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Crawlers cache robots.txt, so changes can take up to a day or so to be picked up. Meta, for example, says up to 24 hours.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to block AI crawlers like GPTBot, ClaudeBot and Google-Extended with robots.txt, WordPress and Cloudflare, what each bot does, and the new shared AI training opt-out token.<\/p>\n","protected":false},"author":4,"featured_media":69280,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-69281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogging"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/69281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=69281"}],"version-history":[{"count":1,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/69281\/revisions"}],"predecessor-version":[{"id":69318,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/69281\/revisions\/69318"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/69280"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=69281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=69281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=69281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}