Can robots.txt Block AI Training? OpenAI and Google’s New Rules for 2026 Explained
Can you stop ChatGPT, Google Gemini, and other AI systems from using your website’s content for AI training?
The short answer is yes, to a certain extent. Website owners can use robots.txt to communicate their preferences about AI training. OpenAI and Google already provide separate controls for this purpose.
However, a major development was announced on October 30, 2026. OpenAI and Google revealed plans to support a shared AI training opt-out signal, potentially allowing website owners to communicate their preferences to multiple AI providers through a single rule.
There is an important distinction: blocking AI training does not necessarily mean blocking your website from AI-powered search results.
This guide explains the new 2026 rules, how GPTBot and Google-Extended work, and how WordPress website owners can manage AI training without unnecessarily sacrificing search traffic.
Last updated: October 31, 2026. This article is based on official documentation from OpenAI, Google, and the Internet Engineering Task Force (IETF).
Can robots.txt Prevent AI From Training on Your Website?
The robots.txt file is a set of instructions that tells automated crawlers how they may access specific parts of a website.
It can also be used to communicate restrictions on certain uses of website content, including AI training, when supported by the relevant AI provider.
Here is a summary of the controls available as of October 31, 2026.
| Feature | Current status |
|---|---|
| Block OpenAI model-training crawler | Supported through GPTBot |
| Control ChatGPT search crawling | Supported through OAI-SearchBot |
| Restrict Google’s AI training uses | Supported through Google-Extended |
| Opt out of Google AI Overviews and AI Mode | Available through Search Console |
| Shared AI training opt-out signal | Announced October 30, 2026 |
| OpenAI shared signal implementation | Planned within the coming months |
| Google shared signal implementation | Planned for 2027 |
| Guaranteed protection from every AI provider | Not available |
The key takeaway is that AI training restrictions, AI search visibility, and traditional search indexing are three different matters.
Website owners should choose their settings based on what they actually want to restrict.
What Changed on October 30, 2026?
OpenAI and Google Announced Support for a Shared AI Training Signal
On October 30, 2026, OpenAI and Google announced plans to support a shared mechanism that allows websites to express AI training preferences through robots.txt.
Previously, website owners generally needed to identify individual AI crawlers and create separate instructions for each provider.
For example, OpenAI uses GPTBot, while Google provides the Google-Extended control token.
The newly proposed approach aims to reduce the need to manage different rules for every AI company.
It is based on work being developed by the AI Preferences (AIPREF) Working Group at the Internet Engineering Task Force.
The proposal introduces a special policy token that can appear in the User-agent field of robots.txt.
An example is:
User-agent: __usage_ai-training
Disallow: /
In this example:
__usage_ai-trainingidentifies the AI training purpose.Disallow: /expresses a preference against using content from the entire website for that purpose.
Unlike a traditional crawler identifier, this policy token represents a usage preference rather than a particular bot.
The proposal does not introduce new robots.txt directive names. It uses the existing User-agent, Allow, and Disallow structure.
Can Website Owners Make Exceptions?
Yes. The draft also describes how website owners can express different preferences for specific paths.
For example:
User-agent: __usage_ai-training
Disallow: /
Allow: /press-kit/
This expresses a preference against AI training use across the website, while allowing content under /press-kit/ to be used for that purpose.
The approach could be useful for publishers who want to protect original articles while allowing certain public resources to be used in AI training.
However, the proposed behavior depends on the AI provider implementing and respecting the shared signal.
Official technical documentation:
Read the IETF Machine-Readable Training Preference Signal draft
Is the New AI Training Opt-Out Rule Already Active?
Not universally.
As of October 31, 2026, OpenAI and Google have announced their support plans, but the implementation timelines are different.
| Company | Announced implementation plan |
|---|---|
| OpenAI | Aiming to implement the signal within the coming months |
| Aiming to support the new control in 2027 |
OpenAI has stated that its existing crawler controls will remain available alongside the new mechanism.
Google has also explained how the shared signal is expected to work with Google-Extended.
Under Google’s announced approach, if a website opts out through the shared policy token and does not explicitly specify Google-Extended, Google plans to treat the preference as though Google-Extended were disallowed.
Company-specific instructions will remain available for website owners who want more detailed control.
The IETF proposal is still an Internet-Draft, not a finalized internet standard. Its technical details may change.
For now, website owners should continue using the existing GPTBot and Google-Extended controls rather than relying entirely on the newly proposed shared signal.
Official announcements:
OpenAI: Helping websites express their AI training preferences
Google: Supporting a shared AI training control for websites
How to Block OpenAI AI Training With robots.txt
OpenAI distinguishes between different web crawlers based on their intended purposes.
The most important distinction for website owners is between GPTBot and OAI-SearchBot.
| OpenAI crawler | Primary purpose | What restricting it affects |
|---|---|---|
| GPTBot | Crawling content that may be used to train AI models | AI model-training use |
| OAI-SearchBot | Crawling websites for ChatGPT search | Visibility in ChatGPT search answers |
| ChatGPT-User | Accessing websites in response to certain user requests | User-initiated website access |
How to Block GPTBot
To indicate that OpenAI should not use your website’s content for training its generative AI foundation models, add the following rule to robots.txt:
User-agent: GPTBot
Disallow: /
This tells OpenAI that GPTBot should not crawl the website for the relevant training purpose.
OpenAI’s official documentation states that GPTBot and OAI-SearchBot are controlled independently.
This means a website can disallow GPTBot while continuing to allow OAI-SearchBot.
Such a configuration can help website owners express an AI training opt-out preference without automatically excluding their content from ChatGPT search.
However, allowing OAI-SearchBot does not guarantee that a website will appear in ChatGPT responses.
What Happens if You Block OAI-SearchBot?
OAI-SearchBot is used to surface websites in ChatGPT search features.
If you block this crawler, your website will generally not be shown in ChatGPT search answers, although it may still appear as a navigational link in certain circumstances.
This distinction is particularly important for publishers that depend on search visibility.
A website owner who only wants to restrict AI training may not need to block OAI-SearchBot.
Does ChatGPT-User Follow robots.txt?
ChatGPT-User is different from an automated search crawler.
It is used for certain actions initiated by ChatGPT users, such as retrieving information from a webpage in response to a request.
According to OpenAI, robots.txt rules may not apply to these user-initiated interactions.
As a result, blocking GPTBot is not the same as preventing every possible form of website access through ChatGPT.
Official documentation:
OpenAI Crawlers: GPTBot, OAI-SearchBot, and ChatGPT-User
How to Restrict Google AI Training With Google-Extended
Google provides a control token called Google-Extended.
Website owners can add the following rule to robots.txt:
User-agent: Google-Extended
Disallow: /
Google-Extended allows publishers to manage whether content crawled by Google may be used for certain AI-related purposes.
According to Google’s official documentation, these purposes include training future generations of Gemini models that power Gemini Apps and the Vertex AI API for Gemini.
It also covers grounding in Gemini Apps and certain Vertex AI services.
Grounding refers to providing external information to an AI model when generating a response, helping improve factual accuracy and relevance.
Importantly, Google-Extended is not a separate crawling user agent in the same sense as Googlebot.
It is a product control token used to specify how content may be used.
Will Blocking Google-Extended Hurt Google Search Rankings?
Google states that Google-Extended does not affect a website’s inclusion in traditional Google Search and is not used as a Google Search ranking signal.
Therefore, blocking Google-Extended does not automatically mean that your website will disappear from Google search results.
However, restricting this control can also affect opportunities for your content to be used for grounding and linked in supported Gemini experiences.
Another important limitation is that Google-Extended is not the same as Google’s separate control for AI Overviews and AI Mode.
Official documentation:
Google’s Common Crawlers: Google-Extended
Google’s 2026 Update: Website Owners Can Opt Out of AI Overviews and AI Mode
Another major development arrived earlier in 2026.
Google states that, as of August 31, 2026, its Search generative AI control became available to websites worldwide.
This feature allows website owners to manage whether their content can appear in selected generative AI features within Google Search.
These currently include:
- Google AI Overviews
- Google AI Mode
- Generative AI features in Google Discover
Unlike Google-Extended, this control focuses on whether website content and links can appear in these AI-powered search experiences.
How to Opt Out Using Google Search Console
Website owners can manage the setting through Google Search Console.
Follow these steps:
- Sign in to Google Search Console.
- Select the relevant website property.
- Open Settings.
- Find Search generative AI.
- Choose whether to include or exclude your site’s content and links from supported generative AI features.
Official instructions:
Google Search Console Help: Search generative AI control
Google provides options to include or exclude website content.
Properties can also inherit settings from a parent property, depending on how the website is configured.
What Happens When You Exclude Your Website?
If you choose to exclude your site, Google states that its links and content will not appear in the covered generative AI features.
Your content will also be ineligible to be used as an input for generating AI responses or previews within those features.
This can help publishers who do not want their content presented through Google’s generative AI search experiences.
However, there is a trade-off.
Your website will no longer receive impressions or traffic from those excluded AI features.
Google states that the setting is not used as a ranking or inclusion signal for other parts of Google Search.
The setting also does not independently control AI model training. For the training-related uses covered by Google-Extended, the separate Google-Extended control is required.
Google says changes generally take a few days to take effect, although some content may take longer because of caching and system propagation.
Recommended robots.txt Configuration for Website Owners
Suppose your goal is to restrict AI model training while keeping traditional Google Search and ChatGPT search visibility available.
You can consider the following configuration:
User-agent: GPTBot
Disallow: /
User-agent: Google-Extended
Disallow: /
User-agent: OAI-SearchBot
Allow: /
Here is what each rule means.
| Rule | Intended outcome |
|---|---|
| Block GPTBot | Restrict OpenAI foundation model-training use |
| Block Google-Extended | Restrict covered Google AI training and grounding uses |
| Allow OAI-SearchBot | Preserve eligibility for ChatGPT search |
| Leave Googlebot unrestricted by these rules | Preserve ordinary Google crawling eligibility |
This example does not block traditional Googlebot.
It is intended for website owners who want to distinguish between AI training and AI-powered search discovery.
However, the actual effect will depend on other rules already present in robots.txt and the relevant providers’ policies.
Do not replace your entire robots.txt file with this example without checking existing rules.
Your website may already contain important instructions for search engines, administrative paths, or XML sitemaps.
How to Edit robots.txt in WordPress
WordPress website owners can usually manage robots.txt through their hosting environment or an SEO plugin.
The exact process depends on the website configuration.
Step 1: Find Your Existing robots.txt File
Open your website’s robots.txt URL.
For example:
https://example.com/robots.txt
Replace example.com with your domain.
Review the existing rules and save a backup before making changes.
Step 2: Edit robots.txt With Rank Math
If you use Rank Math SEO, the file may be managed through the WordPress dashboard.
Navigate to:
Rank Math SEO → General Settings → Edit robots.txt
Rank Math’s Advanced Mode may need to be enabled.
If a physical robots.txt file already exists on your server, the plugin’s virtual robots.txt editor may not control the file currently being served.
Check the hosting configuration before making changes.
Official instructions:
Rank Math: How to Edit robots.txt
Step 3: Edit robots.txt With Yoast SEO
Yoast SEO also provides tools for managing robots.txt on supported WordPress configurations.
Depending on the plugin and hosting setup, the relevant option can be found through:
Yoast SEO → Tools → File Editor
Some installations may not display this feature.
In that case, use your hosting provider’s file manager or another supported server management method.
Official instructions:
Yoast SEO: How to Edit robots.txt
Step 4: Verify Your Changes
After saving your changes, reopen your public robots.txt URL.
Confirm that the intended instructions appear correctly.
Also check for accidentally restrictive rules such as:
User-agent: *
Disallow: /
This rule can block ordinary search crawlers from accessing the entire website.
For a website that depends on organic search traffic, such an error could have serious visibility consequences.
Why robots.txt Cannot Guarantee Complete Protection From AI Training
Although robots.txt provides useful controls, it is not an absolute technical barrier against all AI-related uses of public website content.
There are three major limitations.
1. Not Every AI Provider Follows the Same Rules
robots.txt communicates preferences and instructions to crawlers and services that recognize them.
It does not physically prevent every automated system from accessing publicly available pages.
The proposed shared AI training signal also depends on participating AI companies implementing and respecting it.
As of October 31, 2026, universal adoption cannot be assumed.
2. Previously Collected Data Is Not Automatically Deleted
Updating robots.txt does not automatically remove website content that may already have been collected or incorporated into an AI training dataset.
Nor does it reverse training that has already taken place.
A training opt-out primarily concerns the provider’s future handling of content under the applicable policy.
Questions about previously collected information or data deletion require separate consideration under the relevant company’s policies.
3. Blocking Crawling Is Not the Same as Removing a Page From Search
A robots.txt Disallow rule controls crawling access.
It is not a universal removal mechanism for search engine indexes.
Google explains that preventing crawling does not necessarily prevent a URL from being discovered or appearing in search results.
If the goal is to prevent a webpage from appearing in traditional Google Search, a noindex directive or another appropriate indexing control may be required.
Also, if a page is blocked by robots.txt, Google may be unable to crawl the page and see its noindex directive.
Official reference:
Google Search Central: Introduction to robots.txt
Should Bloggers Block AI Training in 2026?
The answer depends on the website’s goals.
For publishers primarily concerned with controlling how original content is used for AI model training, restricting GPTBot and Google-Extended may be appropriate.
For websites that rely on search discovery, however, blocking every AI-related crawler or search feature may create unnecessary trade-offs.
AI Training Restrictions vs. AI Search Visibility
These choices should be evaluated separately.
| Website goal | Control to consider |
|---|---|
| Restrict OpenAI model training | GPTBot |
| Restrict covered Google AI training uses | Google-Extended |
| Keep the possibility of ChatGPT search visibility | Allow OAI-SearchBot |
| Exclude content from Google AI Overviews and AI Mode | Search generative AI control |
| Prevent ChatGPT search answer visibility | Restrict OAI-SearchBot |
| Remove a page from traditional Google search results | noindex or another appropriate indexing method |
For informational websites and blogs monetized through advertising, visibility in search can be an important source of traffic.
Blocking AI training does not necessarily require removing the website from every AI-powered discovery experience.
However, some controls affect both training-related and grounding-related uses, so the impact should be reviewed carefully.
A practical approach is to define separate policies for AI training, AI search visibility, and traditional search indexing.
This can help website owners protect their content preferences while retaining the discovery opportunities they value.
Frequently Asked Questions
Can robots.txt Completely Stop AI Training?
No. robots.txt can communicate an opt-out preference to AI providers that recognize and honor the relevant rules, but it cannot guarantee that every AI system will comply.
Is the New Shared AI Training Signal Already Supported?
As of October 31, 2026, OpenAI and Google have announced plans to support it. OpenAI aims to implement the signal within the coming months, while Google has announced a 2027 implementation target.
If I Block GPTBot, Will My Website Disappear From ChatGPT?
Not necessarily. OpenAI manages GPTBot and OAI-SearchBot independently. Blocking GPTBot does not automatically block crawling for ChatGPT search.
Does Blocking Google-Extended Remove My Content From AI Overviews?
No. Google-Extended and the Search generative AI control serve different purposes. To exclude content from supported Google Search generative AI features, use the separate Search Console control.
Will Blocking AI Training Hurt My Google Rankings?
Google states that Google-Extended is not used as a traditional Google Search ranking signal. However, blocking Googlebot or applying a noindex directive can affect ordinary search visibility.
Can I Stop AI Training but Still Get Traffic From AI Search?
In some cases, yes. For example, a website can disallow GPTBot while allowing OAI-SearchBot. However, restrictions on Google-Extended also cover certain Gemini grounding uses, so the effects differ by provider and product.
Can robots.txt Remove Content Already Used for AI Training?
No. Changing robots.txt does not automatically remove previously collected data or reverse existing model training. Any separate deletion process depends on the provider’s policies.
Final Thoughts: What Website Owners Should Do in 2026
The October 30, 2026 announcements from OpenAI and Google represent an important step toward more standardized AI training controls for website owners.
The proposed shared signal could make it easier for publishers to express their preferences across participating AI providers without maintaining a long list of company-specific crawler rules.
However, the new mechanism is still being developed, and implementation is not yet universal.
For now, GPTBot and Google-Extended remain important existing tools for communicating AI training restrictions.
Website owners should also recognize that AI training, AI search visibility, and traditional search indexing involve different controls.
For WordPress publishers and SEO-focused websites, the most important step is to decide what they want to restrict before modifying robots.txt.
A carefully configured policy can express content-use preferences without unnecessarily blocking valuable search discovery opportunities.
As the shared AI training standard develops through 2027, publishers should continue checking official OpenAI, Google, and IETF documentation for implementation updates before changing their website settings.
