The One-Line robots.txt Change That Opts Sites Out of AI Training

2026-11-09
One line replaces four crawler rules. The catch: wildcard blocks do not count, old scrapes stay, and nothing changes for search rankings.
On October 30, four companies that normally compete on everything agreed on a string of text. Google, Anthropic, OpenAI, and Microsoft said they will honor a new robots.txt directive that tells crawlers not to use a site's content for AI training.
The directive is one line. The consequences are narrower than most headlines suggest, and a few of the details decide whether it works for your site at all.
If you run a blog, a documentation site, or a store with product copy, this is worth ten minutes. If you run a scraper, it is not a wall.
What the New AI Training Opt-Out Directive Does
The mechanism comes from an Internet-Draft called "Machine-Readable Training Preference Signal," published October 30 and authored by Kevin Kelley, Anthropic's technical lead for standards. Think of it as a single AI crawler opt out that every major provider has agreed to read.
Until now, opting out meant naming each crawler. GPTBot for OpenAI, ClaudeBot for Anthropic, Google-Extended for Google, Bingbot controls for Microsoft. Four companies meant four rule sets, and a new provider meant a new rule.
The shared token collapses that into one group. A site states its training preference once, and every participating provider reads the same block. It is the difference between four separate unsubscribe forms and one.
The draft does not invent new syntax. It reuses the existing robots.txt grammar from RFC 9309, including path matching and longest-match precedence, and adds a policy token in the User-Agent line.
The robots.txt Syntax, Line by Line
A full opt-out looks like this, and it is the usage_ai-training directive in its simplest form:
User-agent: __usage_ai-training
Disallow: /
A partial opt-out, with press assets left available for training, looks like this:
User-agent: __usage_ai-training
Disallow: /
Allow: /press-kit/
Three details matter in that block.
The two leading underscores are deliberate. They keep the token from colliding with a real crawler name, so no product can accidentally match it.
The token follows product-token syntax, so it can sit alongside normal crawler names in an existing group. You do not have to restructure a long robots.txt file.
The Allow line is an active statement, not a gap. Under the draft, an allowed path signals that training is acceptable there, rather than merely leaving it undecided.
What the AI Training Opt-Out Does Not Do
Four limits, and each one gets misread somewhere.
It does not block crawling. A crawler that respects the token may still fetch your pages for search, for answer engines, or for indexing. The token governs what happens to the content afterward.
It does not change search ranking. Google's documentation says Google-Extended is not used as a ranking signal, and the shared token inherits that behavior.
It does not undo past scraping. Content already collected is already collected. The signal affects future collection only, and none of the four companies has said whether earlier data will be removed.
It is not a legal duty, and it is not a security control. robots.txt has always been a coordination mechanism between site owners and well-behaved crawlers. A scraper that ignores robots.txt today can ignore this token tomorrow. Enforcement still lives at the server, the CDN, or in a contract.
The draft's own standing is modest. It is an individual Internet-Draft, not an IETF standard, and it expires May 3, 2027 unless revised. The commitments come from four companies, not from a finished specification.
When Each Company Will Honor It
The announcements landed the same day. The implementations did not.
| Company | Status | Timing | Existing control |
|---|---|---|---|
| Anthropic | Implementing | Started | ClaudeBot |
| Microsoft | Planned | February 1, 2027 | Bing crawler controls |
| Planned | Early 2027 | Google-Extended | |
| OpenAI | Planned | Coming months | GPTBot |
Anthropic wrote the draft and moved first. Microsoft gave a specific date. Google and OpenAI gave windows.
Until each implementation ships, the per-crawler rules remain the only thing that works, and that is also the answer to how to block AI crawlers today. Keep them. A site that swaps its GPTBot block for the new token today loses protection from OpenAI until OpenAI ships support.
Microsoft also plans a separate setting that distinguishes training from grounding, the retrieval step that pulls live pages into chat answers. That distinction does not exist yet in the shared token, and it is the direction the whole debate is moving.
Why the Wildcard Rule Catches People Out
Here is the detail that will burn a lot of sites.
A wildcard group does not express a training preference. If your robots.txt says User-agent: * and Disallow: /, the draft does not read that as an opt-out from AI training. It reads it as no preference at all.
You need a group that names __usage_ai-training explicitly. Token matching is exact, and case does not matter, but a near miss or a wildcard does nothing.
That surprises people who assume a full block covers everything. A wildcard block still tells crawlers not to crawl. It just does not speak to the training question under this mechanism.
The Google-Extended Trap for Publishers
Google's implementation has a side effect worth understanding before you copy a snippet from a blog.
Google says it will interpret the shared token as if the site had disallowed Google-Extended, unless the site addresses Google-Extended directly. That sounds like a convenience. It also means the shared token inherits everything Google-Extended controls.
Google-Extended governs training for Gemini models, and it also governs grounding in Gemini Apps and Grounding with Google Search on Vertex AI. A publisher who wants to refuse training but stay eligible for grounding may end up outside both.
The fix is to write a Google-Extended rule yourself and keep the shared token for everyone else. That is more work than one line, and it is the difference between opting out of training and opting out of being cited.
Should You Add It to Your robots.txt?
If you want out of AI training and you can accept the limits, yes, and add it alongside your existing rules rather than replacing them.
- Download a copy of your current robots.txt, then open it at the domain root.
- Add a group with
User-agent: __usage_ai-trainingon its own line. - Add
Disallow: /for a full opt-out, or list the paths you want excluded. - Add
Allow:lines for anything you want explicitly available, such as a press kit. - Keep your GPTBot, ClaudeBot, and Google-Extended rules in place until 2027.
- If grounding matters, write an explicit Google-Extended rule so the shared token does not make that decision for you.
Publish the change and check it with a robots.txt tester. A typo in the token is silent, and silence reads as consent. Keep the backup until the new file parses cleanly, because a broken robots.txt can take your search visibility with it.
If your goal is hard enforcement rather than a stated preference, robots.txt is the wrong tool. Rate limiting, login walls, and CDN rules stop crawlers that ignore instructions. The token stops the ones that do not.
For everyone else, the value is coordination. One line, read by four companies, replacing a growing pile of per-bot exceptions. That is a modest win, and after two years of chasing crawler names one at a time, modest is still progress.