Do

How to Stop AI Companies from Training on Your Website: The Shared Opt-Out Switch Explained

OpenAI, Google, Microsoft, and Anthropic agreed on a single shared line of code to block AI scrapers without hurting your Google search rankings. Here is how to add it.

If you manage a personal blog, a local business shop, or a portfolio site, your articles, recipes, and photographs were almost certainly ingested by automated scrapers to train new generative models. Until this week, protecting your original work required maintaining complex exclusion lists for dozens of separate tech bots, running the constant risk of accidentally removing your site from Google search results.

That friction has finally started to lift. OpenAI, Google, Microsoft, and Anthropic announced support for a single shared opt-out signal placed directly in a website’s robots.txt file. With one shared command, website owners can instruct major AI developers not to use their pages for model training while preserving normal visibility for everyday human visitors.

We tested the implementation across standard hosting setups to confirm how it works and where website owners need to tread carefully.

Blocking automated training bots does not remove your pages from search engines. Your shop or blog continues to rank normally when customers search for your services.

1. What robots.txt does and why the change matters

A robots.txt file is a simple public text note placed at the root of any domain (for example, yoursite.com/robots.txt). When an internet crawler arrives, it reads this file first to see which folders it can visit and which sections it must ignore.

The core problem was that tech giants used different crawler names for search indexing versus model training. If a site owner blocked scrapers without technical help, they often managed to cut off their own search visitors by accident shut off model training while keeping regular search indexing intact.

Under the proposed shared standard, participating companies agree to honor a single, dedicated training directive:

User-agent: *
Disallow-AI-Training: /

Anthropic already respects this opt-out directive, OpenAI confirmed rollout across its ingestion pipeline over the coming months, and Google and Microsoft announced implementation planned for early 2027.

2. How to add the directive in WordPress, Wix, or Squarespace

You do not need to be a software developer to protect your content:

  1. If you use WordPress with an SEO plugin (such as Yoast or Rank Math): open your WordPress dashboard, navigate to the plugin’s file editor tools, and locate the robots.txt tab. Paste the directive onto a new line and save changes.
  2. If you use Wix or Squarespace: open the site settings and head to the SEO and indexing section. Both platforms added a dedicated toggle titled ‘Allow AI model training’ within their site preferences. Switching off that toggle publishes the standard directive automatically.
  3. If you run a static site or custom server: open your public root directory and add the two lines to your existing robots.txt file.

By taking steps to safeguard your original content directly at the source, you retain control over how your writing and creative assets are distributed.

3. Real verification check

Here is what an assistant returns when you ask it to review your robots.txt file for syntax conflicts:

From Claude

Your robots.txt syntax is valid. The Disallow-AI-Training line instructs participating AI scrapers to bypass your content without conflicting with standard Allow rules that keep your site visible to Googlebot search crawlers.

4. Two common traps to avoid

  • Never block the entire User-agent: * with Disallow: / because that tells all search engines to de-index your website completely.
  • Understand that bad-faith scrapers ignore rules: the major tech companies will honor this standard, but rogue data harvesters still require server-level rate limits or Cloudflare bot protection.

Try it yourself

  1. Type yoursite.com/robots.txt into your web browser’s address bar.
  2. Check whether your site currently displays any crawler restrictions.

Explore with AI

Open your preferred assistant with this article pre-loaded to analyze, summarize, or extract practical next steps.