Skip to main content

← Back to Insights

SpyderBot Team · November 25, 2026 · Insights

How to Opt Out of AI Training in robots.txt Without Leaving AI Search

This article explains published technical controls. It is not legal advice.

To opt out of AI training without leaving AI search, add a robots.txt group for the shared __usage_ai-training token with Disallow: /, and keep search and grounding crawlers allowed. Microsoft says it will honor the token from Feb 1, 2027, and Google plans support in 2027. Google-Extended still decides Gemini grounding.

What is the __usage_ai-training token?

It is a shared "policy token" that a site names in robots.txt like a user agent, so one rule can express an AI-training preference to every participating AI provider instead of one rule per crawler. It comes from work in the Internet Engineering Task Force (IETF) AI Preferences (AIPREF) working group and is described in an individual Internet-Draft, draft-kelley-aipref-training-preference-signal. Its status matters: it is an active individual draft (version -01, updated Nov 16, 2026), not an IETF standard, and drafts can change before anything is standardized.

Microsoft's example syntax (Bing Blog, Oct 30, 2026):

# Disallow AI training for the whole site
User-Agent: __usage_ai-training
Disallow: /

# Or only for one path
User-Agent: __usage_ai-training
Disallow: /example-path/

Microsoft treats the absence of a token rule as Allow; the draft itself says that without a __usage_ai-training group "no preference has been expressed." For where this fits in a wider AI visibility strategy, see what generative engine optimization is.

Which AI providers will honor it, and when?

Announced support for the shared AI-training token (sources read Nov 17, 2026)
ProviderWhat it has saidTimingProvider-specific control that still applies
Microsoft (Bing, Copilot)Will honor robots.txt AI Training preferences for a site or path, plus page-level overridesFrom Feb 1, 2027, as it crawls; NoArchive/NoCache stop counting as AI preferences after Mar 1, 2027Page-level AI Grounding preference (Allow, DisallowExtended, Disallow)
GoogleA token opt-out will be read as a Google-Extended disallow when Google-Extended is not specified"We aim to support this new control… in 2027"Google-Extended
OthersGoogle says other providers "can handle it similarly"Check each provider's crawler documentationTheir own crawler user agents

Sources: Google Search Central, Oct 30, 2026; Bing Blog, Oct 30, 2026.

Does opting out of training remove you from AI search answers?

Not by itself, and that is the point of the token. Training (building future models) and grounding (fetching your pages to answer a question now) are now separate preferences:

  • Microsoft: the training and grounding preferences "do not change eligibility for traditional Bing search results." Grounding is set per page only, and Microsoft warns that choosing DisallowExtended or Disallow "will significantly reduce your content's visibility in AI-generated experiences."
  • Google: "Websites that specifically allow Google-Extended are eligible to appear in responses and receive clicks via grounding in Gemini Apps." If you opt out with the shared token and do not mention Google-Extended, Google plans to treat that as a Google-Extended disallow, which affects Gemini grounding too.

So the trade-off is concrete: a blanket training opt-out is safe for Bing search and Microsoft grounding, but on Google it also reaches Gemini Apps grounding unless you declare Google-Extended separately. Measuring the effect is a job for prompt-level tracking; the AI access policies guide in SpyderBot AI Traffic shows how crawler policy and AI referrals connect.

How do you opt out of training but stay in Gemini answers?

Declare the shared token and Google-Extended as separate groups. Google says existing company-specific controls "will continue to function alongside this new joint signal," and that the token is read as a Google-Extended disallow only when Google-Extended "is not explicitly specified."

User-agent: *
Allow: /

# Shared AI-training opt-out (Microsoft from Feb 1, 2027; Google planned 2027)
User-Agent: __usage_ai-training
Disallow: /

# Explicit Google-Extended rule so Gemini grounding is decided separately
User-agent: Google-Extended
Allow: /

Know what the Google-Extended line means before you copy it. Google-Extended is Google's AI-training control, so allowing it keeps Gemini grounding and also allows Gemini training use of your content. There is currently no Google setting that allows grounding while refusing training. If Gemini citations matter more to you than keeping your content out of Gemini training, the explicit Google-Extended allow is the trade-off to accept; if they don't, leave Google-Extended unspecified or disallow it.

What changes for sites in the US, EU and UK?

  • EU: Google says the proposal "is consistent with the EU Code of Practice for General Purpose AI (GPAI) Model Providers under the EU AI Act that recognizes robots.txt as a primary method for web publishers to express machine-readable preferences." The Code itself is voluntary for signatories and commits them to crawlers that "read and follow instructions expressed in accordance with the Robot Exclusion Protocol (robots.txt), as specified in" RFC 9309, and to other appropriate machine-readable protocols; it does not name this token. Under Article 4(3) of the EU Copyright in the Digital Single Market Directive, rights holders can reserve text-and-data-mining use "in an appropriate manner, such as machine-readable means in the case of content made publicly available online," and the EU AI Act (Art. 53(1)(c)) requires general-purpose AI model providers to have a policy to identify and comply with such reservations. Whether a specific token is an effective reservation for a given use is a legal question for your counsel.
  • UK: robots.txt is a technical signal of your preference. How it interacts with UK copyright rules on AI training is a question for your counsel.
  • US: robots.txt is a voluntary standard. The token records your preference; enforcement depends on each provider's commitment.

What should you do now?

  1. Decide training and grounding separately. Write down which one you want, per section of the site.
  2. If you use NoArchive or NoCache on Bing, move to the new AI Training and AI Grounding preferences before Mar 1, 2027, the date Microsoft gives.
  3. Add the token group only if you want to opt out of training. The draft says wildcard groups (User-Agent: *) "MUST NOT be interpreted as matching the policy token."
  4. Declare Google-Extended explicitly if Gemini visibility matters to you.
  5. Measure before and after. Track AI answers for your key prompts and AI referral traffic from Feb 1, 2027; see AI referrals and outcomes.

Which option fits your site?

robots.txt options for AI training and AI search (Nov 2026)
GoalToken groupGoogle-ExtendedEffect on AI search
Maximum AI visibilityNoneNone (default allow)No change
No training anywhere, accept less Gemini visibilityDisallow: /NoneGoogle plans to treat as Google-Extended disallow
No training except Google, keep Gemini groundingDisallow: /Allow: /Gemini grounding kept; Google training allowed
Protect one section onlyDisallow: /section/As neededRest of site unchanged

FAQ

Is __usage_ai-training an official standard?

No. It is described in an active individual IETF Internet-Draft, which is not endorsed by the IETF and can change. Microsoft and Google have announced plans to honor it.

When does Microsoft start honoring the token?

Microsoft says it will honor the new preferences as it crawls starting Feb 1, 2027. NoArchive and NoCache stop being read as training or grounding preferences after Mar 1, 2027.

Will opting out of training remove my site from Bing or Google search?

Microsoft says the preferences do not change eligibility for traditional Bing search results. Google's token mapping concerns Google-Extended, which governs Gemini training and Gemini Apps grounding, not Google Search indexing.

Does a User-agent: * block opt me out of training?

Not through this mechanism. The token is a named group, so you must write a User-Agent: __usage_ai-training group to express the preference.

Can I allow Gemini grounding but refuse Gemini training?

Not today. Google-Extended covers both, so allowing it for grounding also allows training use. Microsoft offers a separate page-level grounding preference.

Is this legal advice?

No. This article describes published technical controls. Whether a robots.txt preference meets a legal opt-out requirement in the EU, UK or US is a question for your counsel.

Sources

Tags: ai-traffic, eu, global, uk