Training, search and user fetches are separate crawlers
OpenAI, Anthropic and Perplexity each run one crawler for model training or indexing and another that fetches pages when a user asks about them. Blocking GPTBot keeps your content out of OpenAI training but leaves OAI-SearchBot free to list you in ChatGPT search. Decide per crawler: should I block GPTBot?
How to block GPTBot and keep ChatGPT search
Give GPTBot its own group in robots.txt and leave OAI-SearchBot out of it. Your pages stay out of OpenAI training, and ChatGPT search can still list them:
OAI-SearchBothas no group of its own here, so it follows your*group, including any/admin/or/cart/rules. A separateAllow: /group for it would drop those rules. The robots.txt generator blocks GPTBot and the other training crawlers this way.- OpenAI says search changes can take about 24 hours to apply after you update robots.txt.
ChatGPT-Userfetches a page only when a person asks for it, and OpenAI says robots.txt rules may not apply to it.
Blocking GPTBot in nginx or Cloudflare
robots.txt asks. A server or CDN rule refuses the request. In nginx, add this inside the server block:
- The match is on the user agent, which anyone can fake. OpenAI publishes GPTBot's IP addresses at
openai.com/gptbot.jsonif you need to check that a request really came from it. OAI-SearchBotandChatGPT-Usersend different user agents, so this rule leaves ChatGPT search alone.- In Cloudflare, go to Security Settings, then Configure AI bot policies. Set Training to Block and leave Search on Allow. Cloudflare says a crawler used for both training and search is blocked by the Training setting too. New domains since 15 September 2026 start with Training and Agent bots blocked on pages that show ads.
- This checker only reads robots.txt, so it will not see server or CDN blocks.
Does Cloudflare block AI crawlers by default?
On some sites, yes. Cloudflare has two separate settings, and only one of them shows up in robots.txt. Both are under Security Settings, then Configure AI bot policies.
| Setting | What Cloudflare does | Does this checker see it? |
|---|---|---|
| AI bot policies (Training, Agent, Search) | Refuses the request at the edge. New domains since 15 September 2026 start with Training and Agent bots blocked on pages that show ads; Search stays allowed. Options: block on all pages, block on pages with ads, or allow. | No. The crawler gets an error before it reads robots.txt. |
| Bot Preference Sync (managed robots.txt) | Adds Disallow: / groups for Amazonbot, Applebot-Extended, Bytespider, CCBot, ClaudeBot, Google-Extended, GPTBot and meta-externalagent, plus a Content-signal: search=yes, ai-train=no, use=reference line. You have to switch it on. | Yes. Those groups show up in the results above as if you had written them. |
- Cloudflare puts its managed lines before your own robots.txt and serves both as one file. If you have no file, it serves its own.
- If your file already has a
GPTBotgroup withAllow: /, the two groups are merged and yourAllowwins over Cloudflare'sDisallow, because a tie goes to the less restrictive rule (RFC 9309). Google's own parser reads it this way too. Cloudflare's file then lets GPTBot in, even though the dashboard says Disallow. - robots.txt only asks. Cloudflare's docs say that to really stop a crawler you need the blocking policy, not the managed file.
Blocking AI crawlers on WordPress
WordPress has no robots.txt file out of the box. It answers /robots.txt itself with three lines, and plugins add theirs to that same answer:
| Your setup | Where to block AI crawlers | What it covers |
|---|---|---|
| WordPress.com | Settings, then Reading. Under Site Visibility choose Public and tick Prevent third-party sharing. | Adds known AI bots to the Disallow list in robots.txt. One site at a time. |
| Yoast SEO | Yoast SEO, then Settings, Advanced, Crawl optimization, Block unwanted bots. | Free: Google AdsBot only. Premium adds Google-Extended, GPTBot and CCBot. Other AI crawlers are not on the list. |
| Self-hosted, no plugin | Upload your own robots.txt to the site root, or add lines in code with the robots_txt filter. | Whatever you write. The robots.txt generator builds the AI crawler groups. |
- A real robots.txt file in the site root replaces the WordPress one. The standard WordPress .htaccess only hands a request to WordPress when no file exists at that path, so plugin settings stop showing up in robots.txt. Run this checker after any change to see what crawlers really get.
- Discourage search engines (Settings, then Reading) does not block AI crawlers. Since WordPress 5.3 it adds a noindex tag instead of
Disallow: /. More in our guide to that setting.
Do AI crawlers ignore robots.txt?
The crawlers that collect pages for training and search say they follow it. The fetchers that open a page because a user asked for it often don't. This is what each company's own crawler docs say (checked 21 October 2026):
| User agent | What it does | robots.txt, in the operator's words |
|---|---|---|
GPTBot, OAI-SearchBot | OpenAI training; ChatGPT search | Opt out by disallowing them. Sites that block OAI-SearchBot are not shown in ChatGPT search answers. Changes take about 24 hours. |
ChatGPT-User | Opens a page a ChatGPT user asked for | "Because these actions are initiated by a user, robots.txt rules may not apply." |
ClaudeBot, Claude-SearchBot, Claude-User | Anthropic training; search; pages a Claude user asked for | Anthropic says its bots "respect 'do not crawl' signals by honoring industry standard directives in robots.txt." Crawl-delay is supported too. |
PerplexityBot | Perplexity search results | Perplexity asks you to allow it in robots.txt to appear in its results. |
Perplexity-User | Opens a page a Perplexity user asked for | "Since a user requested the fetch, this fetcher generally ignores robots.txt rules." |
| Google-Agent and Google's other user-triggered fetchers | Pages a person asked a Google product to fetch | "Because the fetch was requested by a user, these fetchers generally ignore robots.txt rules." Google lists them apart from Googlebot. |
- So a
Disallow: /for ChatGPT-User or Perplexity-User is a request, not a lock. To refuse those fetches, block the user agent on the server or CDN, as in the nginx example above. - A user agent is just a header, and anyone can send GPTBot's name. A request that ignores robots.txt while claiming to be a crawler that follows it may not come from that company. OpenAI publishes its crawlers' IP ranges so you can check.
- This checker reads robots.txt, so it shows what you asked for, not what a crawler did. Your server or CDN logs show what really came.
GPTBot user agent and other AI crawler user agents
robots.txt matches the short name (the token), not the full string. Your server logs show the full string. These are the strings the operators publish, with the IP lists they offer for checking that a request is real (checked 21 October 2026):
| Token | Full user agent, as published | IP list |
|---|---|---|
GPTBot | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot | openai.com/gptbot.json |
OAI-SearchBot | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36; compatible; OAI-SearchBot/1.4; +https://openai.com/searchbot | openai.com/searchbot.json |
ChatGPT-User | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot | openai.com/chatgpt-user.json |
PerplexityBot | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot) | perplexity.com/perplexitybot.json |
Perplexity-User | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Perplexity-User/1.0; +https://perplexity.ai/perplexity-user) | perplexity.com/perplexity-user.json |
ClaudeBot, Claude-SearchBot, Claude-User | Anthropic's crawler page names the tokens but does not print full strings. | claude.com/crawling/bots.json |
- OpenAI says the version number in GPTBot and OAI-SearchBot may change. Match on the token (
GPTBot), not onGPTBot/1.4, or your rule stops working at the next version. - When GPTBot or OAI-SearchBot fetch robots.txt itself, OpenAI says they may add
robots.txt;to the string, so you can tell those requests apart in logs. - Anthropic says blocking its IP addresses may not work as an opt-out, because then its bots cannot read your robots.txt. Use a
Disallowgroup for ClaudeBot instead.
Google-Extended does not affect Google Search
Google-Extended and Applebot-Extended are tokens, not crawlers. Googlebot and Applebot do the fetching; the token only controls whether the content may be used for AI. Blocking them leaves your search rankings alone. Blocking Googlebot does not.
What robots.txt cannot tell you
- robots.txt is a request. Crawlers that ignore it are not stopped by it.
- A CDN or firewall rule (for example Cloudflare's AI bot blocking) can refuse AI crawlers before robots.txt is read. This checker does not see those blocks.
- Most crawlers match only the most specific group that names them. If
GPTBothas its own group, the*rules do not apply to it. Test any path with the robots.txt tester.
We fetch robots.txt once, as NoindexWatchBot. Results are not stored.