robots.txt keeps AI search out
Whether robots.txt keeps out the bots that answer — ChatGPT, Claude and Perplexity search — or Googlebot and Bingbot. Training bots are shown, not counted. An assistant cannot cite a page it is not allowed to read; blocking its search bot takes the site out of its answers altogether.
WarningAI-005 · AI readiness · checked once for the whole site
Who reads your site for AI answers, and how robots.txt shuts them out
Updated 14 October 2026.
An AI assistant can only cite what it may read, and for most of them the permission is in your robots.txt. Each company runs separate bots for search, for pages a person asks about, and for training, and each bot reads its own group in the file. That is what makes it possible to keep training out and stay in AI answers, and also what makes it easy to close the wrong door. This check looks for the doors that answer people: the search bots of ChatGPT, Claude and Perplexity, the fetchers that open a page when someone asks, and Googlebot and Bingbot.
What is at stake, bot by bot. In the operators’ own words:
- OAI-SearchBot: a site that keeps it out does not appear in ChatGPT search answers, and a change to robots.txt takes about a day to be followed (OpenAI).
- Claude-SearchBot: blocking it stops your content being indexed for Claude’s search, which Anthropic says may reduce your visibility in its answers (Anthropic).
- PerplexityBot: Perplexity uses it to surface and link sites in its results and asks sites to allow it to appear there (Perplexity).
- Googlebot: Google’s generative AI features use pages that are indexed and eligible for a snippet, with nothing extra to add (Google). Blocking Googlebot is leaving Google, AI Overviews included.
Three ways sites close the door without meaning to.
1. One group for every AI bot. A list of AI user agents copied from somewhere, above a single Disallow: /, written to stop training. If the list holds a search bot, that bot is out too. Our own demo shop does exactly this, on purpose:
User-agent: * Disallow: /cart/ # Keep AI out User-agent: GPTBot User-agent: OAI-SearchBot Disallow: /
The comment says “AI”, the intent was training, and OAI-SearchBot rides along. ChatGPT search can no longer read the shop, while Claude and Perplexity still can, which is the kind of uneven result nobody chose.

2. A wildcard that closes everything. User-agent: * with Disallow: /, then groups that let in Googlebot and Bingbot by name. Under the standard (RFC 9309), a crawler with no group of its own reads the * group, so every AI bot is out without one being named. Written to keep out scrapers, it also keeps out every assistant that answers.
User-agent: * Disallow: / User-agent: Googlebot Allow: / User-agent: Bingbot Allow: /
3. The edge, not the file. Cloudflare’s AI bot settings and other firewalls can refuse a bot before it reads robots.txt, so a correct file is no proof the bot gets in. This check reads robots.txt and says so; the edge you check in your CDN’s dashboard. What Cloudflare’s settings do.
How the audit decides.
- It reads your robots.txt the way the bots’ own parsers do (the longest matching rule wins, Allow wins a tie) and checks every page it crawled, plus the home page, for each bot.
- A bot kept out of the whole site and a bot kept out of some pages are told apart: “the whole site”, or “12 of 140 pages checked”.
- Googlebot kept out of the whole site is critical; the other bots are warnings.
- Training bots (GPTBot, ClaudeBot, Google-Extended, CCBot…) are shown on the site’s page and never counted against the grade: keeping them out is a choice.
- It does not send a request pretending to be GPTBot. Cloudflare and others recognise bots by their addresses, so a request from us with a bot’s name proves nothing about the real bot. robots.txt is what the site asks of each bot, and that can be read exactly.

Fixing it is usually one edit: give the training bots their own group, and leave the answer bots out of every group that disallows. The code is below, under “How to fix it”, and the validator’s “Rewrite my file” button does it for your own file, showing every changed line first. Then give it a day: OpenAI says about 24 hours for ChatGPT search, and Perplexity says up to 24 hours.
Sources, read on 14 October 2026: OpenAI, Overview of OpenAI Crawlers · Anthropic, Does Anthropic crawl data from the web? · Perplexity, Perplexity Crawlers · Google Search Central, Optimizing your website for generative AI features · RFC 9309, Robots Exclusion Protocol.
How common it is
In our study of 330 small sites, read from Common Crawl’s October 2026 archive (up to 100 pages a site), 0.6% of the 327 it could run on had this problem on one page or more.
Where it usually comes from
A rule meant to stop AI training written too broadly, a plugin's “block AI” switch, or a leftover Disallow: / for one bot.
How to fix it
- Answer bots and training bots have different names, so one can be let in and the other kept out.
- Take the AI bots out of the groups they are in now, and end the file with the two groups below: training bots kept out, answer bots let in.
- Give the answer bots the same Disallow lines as your User-agent: * group, so they keep to the limits every crawler does. The block below is for a site whose * group disallows /cart/.
- Or paste the live file into trakis.io/tools/robots-txt-validator and press "Rewrite my file": it does both and shows every line it changes. Googlebot and Bingbot are left as they are.
# AI crawlers — rewritten with trakis.io/tools/robots-txt-validator. # Training: kept out. This does not stop assistants from citing the site. User-agent: GPTBot User-agent: ClaudeBot User-agent: Google-Extended User-agent: Applebot-Extended User-agent: CCBot User-agent: Meta-ExternalAgent Disallow: / # Answers: search and pages opened at a person's request, under the same limits as everyone else. User-agent: OAI-SearchBot User-agent: ChatGPT-User User-agent: Claude-SearchBot User-agent: Claude-User User-agent: PerplexityBot User-agent: Perplexity-User Disallow: /cart/
Shown for an example shop at www.example.com. In a Trakis report the same fix comes with your own addresses and the list of your pages it applies to.
How to check it yourself
Open /robots.txt and look for a User-agent line naming the bot — or a User-agent: * group — with Disallow rules that cover your pages. A CDN can also block bots (Cloudflare's AI Crawl Control): check its dashboard too.
What it looks like in a report
Warning robots.txt keeps OAI-SearchBot (ChatGPT search) out of the whole site.
A blanket block written for AI training also caught the search bots; ChatGPT can no longer read or cite the site. (An example shop; the numbers are illustrative.)
How the audit counts it
AI-005 is a warning in the AI readiness category, and weighs moderately in that category’s score. It is a fact about the site as a whole, so it is reported once, not once per page.
If the finding is deliberate on your site, it can be accepted as intentional in the report. It then leaves the list and the score, and comes back on its own if what it shows changes.
Other AI readiness checks
- Content only appears through JavaScript · AI-001
- No short answer under the heading · AI-002
- Article without a named author · AI-004
Find it on your site
A free Trakis audit runs this check and the other 66 on your site, and tells you on how many pages each one sits. Or go back to all the rules.