cd /news/ai-crawlers/one-robots-txt-rule-to-opt-out-of-ai… · home › topics › ai-crawlers › article
[ARTICLE · art-161525] src=dev.to ↗ pub= topic=ai-crawlers verified=true sentiment=· neutral

One robots.txt Rule to Opt Out of AI Training: What Developers Need to Know (2027)

Google announced on October 30, 2026 that it will support a shared AI training control in robots.txt, built on work from the IETF's AIPREF working group, with Microsoft and OpenAI reported to honor it and Anthropic building support. The mechanism uses a policy token, __usage_ai-training, on the User-Agent line rather than a crawler name, so standard robots.txt path matching lets site owners opt out site-wide while allowing specific folders. Google said opting out via the shared token without explicitly naming Google-Extended will be treated as disallowing it, while sites that allow Google-Extended remain eligible for grounding and citations in Gemini Apps.

by read1 min views2 publishedOct 31, 2026

On October 30, 2026, Google announced plans to support a shared AI training control in robots.txt, based on work from the IETF's AIPREF working group. Coverage the same day reported that Microsoft and OpenAI will honour it too, and that Anthropic has started building support.

If you build or maintain websites, here's what it means and what to do (all free).

User-Agent: __usage_ai-training
Disallow: /

Instead of a crawler name, the User-Agent line holds a policy token. Normal robots.txt path matching applies, so you can opt out site-wide and still allow a folder:

User-Agent: __usage_ai-training
Disallow: /
Allow: /press-kit/

It's an IETF draft, so the exact token or details could still change.

Google says that if you use the shared token to opt out and don't explicitly specify Google-Extended, it will treat that as if you disallowed Google-Extended. Google also says sites that allow Google-Extended are eligible to appear and receive clicks via grounding in Gemini Apps.

So if you want to opt out broadly but still be cited in Gemini, you'd add an explicit allow, knowing that it also lets Google use the content for Gemini:

User-Agent: __usage_ai-training
Disallow: /

User-Agent: Google-Extended
Allow: /

yoursite.com/robots.txt and see what's already there. What would you choose for your projects: block, allow, or a mix by folder?

── more in #ai-crawlers 4 stories · sorted by recency
── more on @google 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/one-robots-txt-rule-…] indexed:0 read:1min 2026-10-31 · —