How to stop AI training on your website: add the new __usage_ai-training rule to robots.txt, keep GPTBot and Google-Extended blocks, and know the limits.
Want to stop AI training on your website? The simplest way is your robots.txt file. You can block known AI training crawlers like GPTBot and Google-Extended today, and you can add the new shared __usage_ai-training rule that OpenAI, Google, Microsoft and Anthropic have promised to honor. This guide shows you exactly what to add, what each rule does, and what it will not protect.
The short version: it takes about five minutes, it does not hurt your normal Google ranking, and it only works on AI companies that choose to follow the rules.
What changed: one opt-out for four big AI companies
On October 30, 2026, OpenAI, Google, Microsoft and Anthropic said they will support one shared signal in robots.txt that tells them not to use your pages to train generative AI models. Until now, site owners had to write a separate rule for each company’s crawler and keep that list up to date.
The signal comes from an Internet-Draft written by Kevin Kelley of Anthropic and filed with the IETF, the group that works on internet standards. It adds a special “policy token” called __usage_ai-training. You use it in robots.txt just like a crawler name.
The companies are not all switching it on at once:
- Anthropic: says it has already started adding support.
- OpenAI: plans to implement it “in the coming months.”
- Microsoft: will honor it from February 1, 2027.
- Google: aims to support it in 2027 (its crawler documentation says early 2027).
Because of this staggered rollout, the smart move is to use both the new rule and the older crawler-specific blocks for now.
How to stop AI training on your website, step by step
Step 1: Find your robots.txt file
Type yourdomain.com/robots.txt into your browser. If you see a short text file, that is the one crawlers read. On WordPress, this file is often generated by WordPress or by your SEO plugin rather than sitting on the server as a real file, so check your plugin’s settings before you look for it in your hosting file manager. If there is a real (physical) robots.txt file on the server, some plugins cannot change it for you and you will need to edit the file itself.
Step 2: Add the new shared AI training rule
Add this group to your robots.txt. It says you do not want any of your site used for AI training:
User-Agent: __usage_ai-training
Disallow: /
You can also make exceptions. The draft’s own example blocks training on the whole site but allows it for a press kit folder:
User-Agent: __usage_ai-training
Disallow: /
Allow: /press-kit/
One detail matters a lot: a general User-agent: * rule does not count. If your file has no __usage_ai-training line at all, the draft says you have expressed no preference.
Step 3: Keep blocking the known AI crawlers
Until every company supports the shared rule, keep the company-specific blocks. OpenAI says its existing controls, such as GPTBot, will keep working alongside the new signal. Here are common training-related user agents:
User-agent: GPTBot
Disallow: /
User-agent: ClaudeBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: Applebot-Extended
Disallow: /
User-agent: Meta-ExternalAgent
Disallow: /
Keep each group together with no blank line between the User-agent line and its Disallow line, and leave a blank line between groups.
Step 4: Save, then check the live file
Open yourdomain.com/robots.txt again and make sure your new lines show up. If you use a caching plugin or a CDN, clear the cache. Do not touch your existing rules for Googlebot or Bingbot unless you mean to, because those control normal search crawling.
Will blocking AI training hurt my Google ranking?
For normal search results, no. Google’s documentation says Google-Extended does not affect whether your site is included or how it ranks in Google Search. Microsoft says the new preferences do not change where a page shows up in Bing search results.
AI answers are a different story. Google says it will treat the new shared opt-out as a block on Google-Extended if you do not mention Google-Extended separately, and sites that allow Google-Extended can appear in Gemini app answers and earn clicks. Microsoft is adding a separate control for “grounding,” which is when an AI answer pulls from a live web page, and it warns that blocking grounding will significantly reduce your visibility in AI-generated experiences.
So decide what you want first: no training only, or no training and no AI answers. For most small blogs and business sites, blocking training while staying visible in search is a sensible middle ground. If AI chat visibility matters to you, read each company’s own settings before blocking everything. Our guide What Is ChatGPT? The AI Chatbot Explained covers how these tools use web content.
What robots.txt cannot do
Be realistic about the limits:
- It is a request, not a lock. Robots.txt only works on bots that choose to follow it. Bad scrapers can ignore it.
- It is not a law or an official standard yet. The IETF lists the draft as an individual submission with no formal standing in the standards process.
- It is a preference, not a crawling rule. The draft says the token states how you want content used, not whether a bot may fetch the page.
- Private deals win. The draft says private agreements between a site and an AI company can override the signal.
- It is not payment. Microsoft says the new preferences do not create licensing or payment arrangements.
- It works from now on. The rule tells companies your current preference; it cannot pull back content already collected.
Extra ways to block AI scrapers (with trade-offs)
If you need stronger protection, TechRadar describes a few extra layers. Each has a cost:
- Login walls: requiring an account filters out most bots, but many real visitors will leave instead of signing up.
- Rate limiting by IP: limits how many requests one address can make, but some scrapers rotate IP addresses.
- CAPTCHAs: stop simpler bots, but annoy people, and some AI tools can now solve them.
- Plugin toggles: on WordPress, Yoast SEO Premium has a Bot Blocker feature that updates robots.txt for you with on/off switches.
Building a new site and want to set this up from day one? Start with our beginner guide on how to start a website, and if you still need a name for it, see how to choose a domain name for a small business.
FAQ
Does blocking GPTBot remove my site from ChatGPT?
Blocking GPTBot is about training. OpenAI runs other crawlers too, such as OAI-SearchBot for search and ChatGPT-User for user-requested visits, which have their own user agent names. Block only the ones that match what you want to stop.
Is User-agent: * with Disallow: / enough to stop AI training?
It would also block Google and Bing from crawling your site, which you almost never want. And under the new draft, a wildcard group does not count as an AI training preference. Use the specific __usage_ai-training token instead.
When will the new AI training opt-out start working?
It depends on the company: Anthropic has started, OpenAI says in the coming months, Microsoft from February 1, 2027, and Google during 2027. Adding the rule now means you are covered as each one switches it on.
Key takeaways
- Add
User-Agent: __usage_ai-trainingwithDisallow: /to robots.txt. - Keep blocking GPTBot, ClaudeBot, Google-Extended and other training bots while support rolls out.
- These rules do not affect normal Google or Bing search rankings, but they can reduce visibility in AI answers.
- Robots.txt is voluntary; add other protections only if you accept their trade-offs.
Sources
- IETF Datatracker – Machine-Readable Training Preference Signal (draft)
- OpenAI – Making it easier for websites to express AI training preferences
- The Next Web – Google, Microsoft, OpenAI and Anthropic back one AI training opt-out
- TechRadar – A new way to opt out of AI training
- Playwire – How to block AI bots with robots.txt
- Raptive – Blocking common AI crawlers (Google-Extended note)
- Yoast – Bot Blocker
