IABIGFR · Français
Refreshed every hour

AI crawler blocklists

Ready-to-paste rules to stop AI companies from using your site to train their models, or to keep every AI crawler out. Built only from the companies' own documentation and official IP lists, never from guesswork.

Latest files: /blocklists/ai-bots.json

Choose a policy

FileBlock AI training onlyBlock all AI crawlers
robots.txt rules
Polite request, respected by the major crawlers
robots-ai-training.txtrobots-ai-all.txt
nginx User-Agent block (403)nginx-ai-training.confnginx-ai-all.conf
Apache .htaccesshtaccess-ai-training.txthtaccess-ai-all.txt
Cloudflare WAF expressioncloudflare-ai-training.txtcloudflare-ai-all.txt
Official IP ranges (one CIDR per line)ips-ai-training.txtips-ai-all.txt
nginx IP deny listnginx-deny-ai-training.confnginx-deny-ai-all.conf
  • Block AI training only: GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, meta-externalagent, Amazonbot, CCBot and Bytespider. Your pages can still be found and cited by ChatGPT Search, Claude, Perplexity and other AI search engines.
  • Block all AI crawlers: the training crawlers plus AI search crawlers and the agents that fetch pages when a user asks (ChatGPT-User, Claude-User, Perplexity-User…). Your site disappears from AI answers.
  • In both cases Googlebot, Bingbot and Applebot are never blocked: blocking them would remove you from Google, Bing and Apple search. Their AI use is controlled by the Google-Extended and Applebot-Extended robots.txt tokens, which the files include.

Which file should I use?

  1. Start with robots.txt. It is how the companies themselves ask you to opt out, and the major crawlers document that they respect it. Paste the rules into your existing robots.txt.
  2. Add a User-Agent block (nginx, Apache or Cloudflare) if you want a hard refusal instead of a request. It returns 403 to any request that announces itself as one of these crawlers.
  3. Use the IP lists to block at the firewall, or to check that a visitor claiming to be GPTBot really is (see verify a crawler IP). They contain only ranges published by OpenAI, Anthropic, Perplexity, Mistral AI, Common Crawl and DuckDuckGo.
Why the training IP list is shorter. Anthropic publishes a single IP list shared by ClaudeBot, Claude-SearchBot and Claude-User. Blocking those addresses would also block Claude's search, so that list is only in the “all AI crawlers” files. The same rule applies to any shared list.

Limits to know

  • robots.txt is a request, not a lock. A crawler that ignores it is better handled by the User-Agent and IP files.
  • A User-Agent can be faked; IP ranges cannot. But only some companies publish ranges, so a crawler without an official list is only blocked by name.
  • Blocking has no effect on content already collected. It applies from the moment the crawler next visits.

Fetch the files automatically (for example once a day with curl), or use the machine-readable ai-bots.json. See every crawler's profile in the AI crawler directory, or build your own rules with the robots.txt generator.

More free tools