Glossary

What is robots.txt for AI crawlers?

robots.txt for AI crawlers is the same robots exclusion file every other crawler is asked to read, with one group per product token you have actually decided about. It is not a new file format, and a disallow of one named token is not a statement that the site blocks AI search.

Check this on your site

The checker fetches robots.txt and reports each named AI crawler as allowed, blocked or not mentioned.

An example from our own work

audacian.eu allows every crawler by default and then names Googlebot, Bingbot, GPTBot, OAI-SearchBot, ChatGPT-User, PerplexityBot, ClaudeBot and Google-Extended, so the policy can be read rather than guessed. A comment points at the sitemap, llms.txt and llms-full.txt. The checker reports each named AI crawler as allowed, blocked or not mentioned, and it reports the * group separately. A site that answers our research crawler with 403 or 429 is recorded as having refused a crawler it did not recognise. That is not a robots.txt block, and it is not a claim that the site blocks AI search.

RFC 9309 is the robots exclusion protocol. A file at /robots.txt lists groups. Each group starts with one or more User-agent lines and then Allow and Disallow rules for paths. The group that matches the crawler’s token is the one that applies. If no group matches, the * group applies. If there is no * group either, nothing is disallowed by the file. Matching is by token, not by a marketing category called “AI”. There is no User-agent: AI that covers GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended at once.

Each token means what its owner documents, and the owners do not agree with each other because they are different products. OpenAI says GPTBot is the training opt-out and OAI-SearchBot is the ChatGPT-search opt-out, and that the settings are independent. Google says Google-Extended controls Gemini training and grounding and does not affect Google Search, while Googlebot is the control for Search including AI Overviews and AI Mode. Copying one company’s token into a sentence about another company’s product is how the file gets misread.

Write a group only for a token you have chosen. An explicit Allow: / under User-agent: GPTBot is a written allow. Silence is not the same sentence: the bot is then not mentioned, and the * group, if any, is the fallback. Report those as two facts. Our checker does. “Not mentioned” means no group names that bot. The wildcard is recorded on its own. We do not upgrade a * allow into “GPTBot is allowed by name”, and we do not upgrade a GPTBot disallow into “this company blocks AI search”.

The file has to be a robots file. A 404 means there is no file, so there are no rules. A 5xx, a timeout, or a network failure means the file could not be read. RFC 9309 tells crawlers to assume they are not allowed when they cannot fetch the file, which is why an unreachable robots.txt is not the same finding as a 404 and not the same finding as a Disallow. An HTML challenge page, a cookie wall or a soft 404 with a 200 status is not a list of rules. Our checker refuses to parse HTML as robots even if the content-type header says text/plain.

Redirects are part of reading the file. A robots.txt that 302s to another host is not this host’s rules. Following that redirect and then fetching robots.txt on the other host, or a consent page, spends requests that were meant for the site itself. The rule we use in our own research crawler is to stop at the edge of the registrable domain and record that the file left the site, rather than audit the other host and call it this one. A redirect loop, the same URL answering 301 or 302 to itself, is an unreachable file, not a puzzle to retry until a budget runs out.

What to write, if you write anything: one group per token, the path you mean, and no token you have not looked up. Keep Googlebot if you want Search to crawl. Add GPTBot only if you have decided about OpenAI training. Add OAI-SearchBot only if you have decided about ChatGPT search. Add Google-Extended only if you have decided about the Gemini use Google describes. Leave a comment that points at the sitemap if you want humans to see it. Comments are not rules. Then fetch the file back and read it as a crawler would, group by group.

If you want this done on your site, start with Generative engine optimization.

Tell us what you're launching.

Book a 20-minute intro call, or email a few lines about what you're launching. We'll reply with a rough plan and a price range, whether or not we end up working together.

We reply within one working day.