AI State of the Art
MLOps/Training Data: Market, Value and Rights/31 min
Section 343

Opt-Outs and Access Protocols: robots.txt, TDMRep, Pay per Crawl, RSL

Listen as a podcast →

The sign on the door

Picture a shop with no locked door: anyone can walk in. To tell passers-by what is allowed, the owner has only a sign on the door: "Come in", "Staff only", "No photos". The sign does not physically stop anyone. It relies on visitors' good faith.

The web has worked this way for thirty years. Any program can download a public page; websites post their wishes in small files that well-behaved bots read before visiting. For a long time the question was simple: "Search engine, may you index this page?" With generative AI it has become much finer-grained: may you train a model on it? Quote it in a real-time answer? And if so, on what terms?

This lesson walks through the ways a website can answer "yes", "no" or "pay first", and what each is really worth.

The starting point: robots.txt (1994)

A text file at the root of the site

In 1994, Dutch engineer Martijn Koster proposed a convention: every site places a file named robots.txt at its root (for example example.com/robots.txt) telling crawlers (the programs that roam the web by following links) what they may visit. Each bot announces itself with a name, its user-agent, and the file gives instructions per name:

User-agent: GPTBot
Disallow: /

User-agent: *
Allow: /

This file says: "the bot named GPTBot may access nothing; every other bot may access everything".

For almost thirty years this remained an informal convention, honored by all the major search engines. It only became a written standard in September 2022, when the IETF (Internet Engineering Task Force, the body that standardizes Internet protocols) published RFC 9309, written by Koster and Google engineers among others.

Purely declarative

The crucial point: robots.txt is declarative. It expresses a wish; it blocks nothing technically. A bot that ignores it downloads pages exactly like the others. RFC 9309 says so itself: it is not a form of access authorization. Its effectiveness rests on the reputation of the companies running the bots and, in some places, on the law (see Europe below).

Dedicated AI agents

From 2023 onward, AI companies published the names of their bots so that sites could target them one by one. A distinction took hold: training a model is not the same as fetching a page in real time to answer a question (and often citing it with a link).

Name (user-agent or token)OperatorStated purpose
GPTBotOpenAICollection for training
OAI-SearchBot, ChatGPT-UserOpenAISearch for ChatGPT; user-triggered visits
ClaudeBotAnthropicCollection for training
Claude-SearchBot, Claude-UserAnthropicSearch; user-triggered visits
Google-ExtendedGoogleToken (not a separate crawler): controls use for training Gemini and grounding its answers, no effect on Google Search
Applebot-ExtendedAppleToken: controls use for training Apple's models, no effect on search
CCBotCommon CrawlOpen web archive, widely used to train models
BytespiderByteDanceCollection; several analyses accuse it of not always honoring robots.txt
PerplexityBot, Perplexity-UserPerplexityIndexing for search; user-triggered visits
Meta-ExternalAgentMetaCollection for training and other uses

This split allows a nuanced choice: a newspaper can block GPTBot (no training) but allow OAI-SearchBot (being cited, with a link, in ChatGPT's answers, which brings it visitors).

The problem of 'mixed' crawlers

The choice is not always available. Googlebot serves both classic search and the AI-generated summaries shown at the top of results (AI Overviews). Google-Extended does not cover those summaries: until recently, the only way out was to leave search too, which no news outlet can afford. In June 2026, the UK competition authority (CMA) ordered Google to offer a separate opt-out from its search engine's AI features, with no ranking penalty; Google began testing it.

"User-triggered" visits are a gray zone: when a person asks an assistant to read a specific page, some companies take the view that the user is the one browsing, and that robots.txt, designed for autonomous bots, does not apply.

Other proposals: ai.txt, llms.txt, content signals

Several files have been proposed to say more than "come in" or "keep out":

  • ai.txt (Spawning, 2023): a robots.txt-style file focused on AI use, with rules per media type (text, images, audio). Spawning also runs a "Do Not Train" registry where creators list their works.
  • llms.txt (2024): the opposite, an invitation. The site provides a summary readable by language models so assistants understand it better. It is not a refusal mechanism.
  • Content Signals (Cloudflare, September 2025): three signals added to robots.txt, search (classic indexing), ai-input (use in a generated answer) and ai-train (training), each set to yes or no.

None of these is a recognized standard, and none is systematically honored.

In Europe: the "machine-readable" reservation

The 2019 directive

The European Union has a specific rule. Directive 2019/790 on copyright creates two exceptions for text and data mining (TDM: the automated analysis of large volumes of content to extract patterns, which under the prevailing interpretation includes training models):

  • Article 3: research organizations and cultural heritage institutions may mine content they lawfully access, for scientific research, and rights holders cannot opt out.
  • Article 4: anyone, including a company, may mine lawfully accessible content, unless the rights holder has reserved those rights "in an appropriate manner, such as machine-readable means" for content made publicly available online.

This is the heart of the European opt-out system: mining is allowed by default; rights holders can refuse, but they must do so in a way a program can read. The AI Act (2024) then requires providers of general-purpose AI models to put in place a policy to identify and respect these reservations.

What counts as "machine-readable"?

The directive does not say. A German dispute illustrates the problem: a photographer objected that the nonprofit LAION had used one of his photos to build a dataset, even though the stock agency site that distributed it prohibited scraping in its terms of use, written in plain language. At first instance (2024), the Hamburg Regional Court suggested such a notice might be enough. On appeal, on 10 December 2025, the Hamburg Higher Regional Court held that a reservation written only in natural language was not machine-readable. The question could end up before the Court of Justice of the European Union.

The TDMRep protocol

To give this reservation a precise format, a W3C community group (the W3C standardizes web technologies) published the TDM Reservation Protocol (TDMRep) in February 2022, driven mainly by publishers. It boils down to two pieces of information:

  • tdm-reservation: 1 if the rights holder reserves mining rights, 0 otherwise;
  • tdm-policy: the address of a page describing how to obtain a license.

These can be placed in a /.well-known/tdmrep.json file at the site root, in HTTP headers (the metadata sent with each page), or in the metadata of an HTML page or an e-book. The advantage over robots.txt: the reservation targets a use (mining), not a named bot, so it also covers bots nobody knows about yet. The limit: it is a community group report, not an official W3C standard, and few crawlers publicly say they read it.

The AI Act Code of Practice (July 2025)

On 10 July 2025, the European Commission published the Code of Practice for general-purpose AI models, a document companies sign voluntarily to show they comply with the AI Act. Its copyright chapter asks signatories, among other things:

  • to honor robots.txt as defined in RFC 9309 (and future versions) when crawling the web;
  • to also honor other machine-readable protocols adopted by a standards body or widely used;
  • not to circumvent paywalls, and to exclude sites recognized as distributing pirated content at scale;
  • to provide information about their crawlers and a contact point for complaints.

In 2025-2026 the Commission ran a consultation to draw up a list of "generally agreed" protocols, announced for late 2026. As of early November 2026, we found no published version. Preparatory studies list around ten candidates (robots.txt, TDMRep, ai.txt, "Do Not Train"-style registries, metadata embedded in files), and industry associations note that none apart from robots.txt has reached mass adoption.

What are websites actually doing? In 2024, the Data Provenance Initiative, a research collective led by Shayne Longpre (MIT), studied 14,000 domains that feed the big training corpora (C4, RefinedWeb, Dolma), comparing their robots.txt files and terms of service over time.

Consent in Crisis: The Rapid Decline of the AI Data Commons

The results show a very rapid closing:

  • In a single year (2023-2024), about 5% of all tokens in C4, and over 28% of its most active and important sources (major media, reference sites), became fully off-limits to AI crawlers via robots.txt.
  • Looking at terms of service, 45% of C4 is now subject to restrictions.
  • The rules are often inconsistent: a site bans AI in its terms but not in its robots.txt, or blocks one company's bot but not another's.

The authors see this as a symptom: tools designed for search engines cannot express preferences about AI. And they point to an unintended consequence: these blocks also hurt academic research and open projects, which lack the means to negotiate licenses.

Cloudflare: block by default, then charge

July 2025: flipping the default

Cloudflare protects and speeds up a considerable share of websites: it sits between the site and its visitors. On 1 July 2025 it changed the rules of the game: new sites joining it block known AI crawlers by default and can choose to let them through. Unlike robots.txt, this block is technical: the request is refused.

At the same time it launched pay per crawl, in private beta. A site can set a price per page. A visiting bot then gets an HTTP 402 "Payment Required" response (a code reserved for payments since the early web but almost never used). If it agrees to pay, it gets the page; Cloudflare handles the billing. For this to work you need to know who is knocking: Cloudflare relies on bots that cryptographically sign their requests to prove their identity.

August 2025: the Perplexity affair

On 4 August 2025, Cloudflare accused Perplexity, an AI answer engine, of using undeclared crawlers to get around refusals. On domains created for the test and closed to all bots, Cloudflare says it saw visits disguised as an ordinary browser, from addresses outside Perplexity's official ranges. Perplexity disputed the analysis. Cloudflare removed Perplexity from its list of verified bots and added rules to block the behavior. The episode shows the weakness of a system based on names that each party declares for itself.

2026: "pay per use"

On 1 July 2026, Cloudflare announced a further step: from 15 September 2026, default settings allow search crawlers but block training crawlers and agents on pages that carry ads, including "mixed" crawlers that do not let sites tell those uses apart. Pay per crawl is evolving into pay per use, where publishers are paid when their content is actually used in an answer, not merely when it is downloaded. Accounts differ on exactly which sites and plans these defaults cover, and real-world adoption is not yet publicly documented.

RSL: a machine-readable license (September 2025)

Blocking or charging per page is only one option. The RSL standard (Really Simple Licensing), launched on 10 September 2025 by the RSL Collective, a nonprofit co-founded by one of the creators of the RSS format, proposes attaching a real license to a site, readable by programs.

The idea: a line added to robots.txt points to a file describing the terms of use. Those terms can be: free use, free with attribution, subscription, payment per page crawled, or payment each time the content is used to produce an answer. The RSL Collective also offers to collect and distribute these payments, much as a music collecting society does.

Version 1.0 became official on 10 December 2025. Its backers announced support from more than 1,500 organizations, including Reddit, Yahoo, Medium, Quora, O'Reilly and Ziff Davis, and web infrastructure companies such as Fastly and Akamai, which offer to enforce these licenses at the network level. The decisive question remains open: as far as we know, no major AI company had publicly committed to honoring RSL as of November 2026.

The IETF and the "AI Preferences" group

Faced with a proliferation of formats, the IETF set up a working group in early 2025, aipref (AI Preferences), to define a common vocabulary. Its latest draft (September 2026) distinguishes three categories of use:

  • train-ai: using content to modify the parameters of a generative AI model (training);
  • ai-use: feeding the content as input to a generative model, for example to write an answer;
  • search: using it in an engine whose purpose is to point users to the source, with a link.

Each category gets y (yes) or n (no), and the preference can go in robots.txt or in an HTTP header, as Content-Usage: train-ai=n. But the text is still a draft: it carries a note that its definitions do not yet have consensus, and the goal of finalizing it by August 2026 was missed. Debates stall in particular on the line between "search" and "generated answer".

Comparison table

MechanismWho is behind itWhat it can sayBinding?Status, late 2026
robots.txt + dedicated agents1994 convention, RFC 9309 (2022)Yes or no, bot by botNot technically; required by the AI Act Code of PracticeUniversal
Plain-language terms of useEach siteAnything, in sentencesNot machine-readable per the Hamburg appeal court (2025)Very widespread
ai.txtSpawning (2023)Yes or no for AI, per media typeNoMarginal
TDMRepW3C community group (2022)Mining reservation + link to a licenseDesigned for the EU directiveUsed mainly by publishers
Content SignalsCloudflare (2025)Search, AI answer, trainingNoSpread via Cloudflare
aiprefIETF working group (since 2025)Training, AI use, searchNoDraft without consensus
RSLRSL Collective (2025)License and payment termsContractual if accepted; depends on AI companies signing upVersion 1.0, adopted on the publisher side
Network blocking, pay per crawlCloudflare and other intermediariesBlock, allow, chargeYes, technically (for identified bots)Deployed; usage-based model announced in 2026

The limits, in plain terms

  1. Declarative. Most of these signals are signs on a door. They rely on good faith, reputation and, in Europe, the law.
  2. Not retroactive. Blocking GPTBot today does not erase pages collected yesterday, nor models already trained on them. Removing data from an existing model is the job of machine unlearning, which is still very imperfect.
  3. Easy to get around. A bot can change its name, use undeclared addresses, or fetch the page elsewhere (a copy on another site, an archive). Only technical blocks hold, and only against bots that can be identified.
  4. Too coarse or too complicated. robots.txt only knows "yes" or "no" per bot, and you have to track dozens of changing names. Richer formats exist, but nobody reads them all.
  5. In tension with archiving. Common Crawl and the Internet Archive preserve the web for research and collective memory. But their archives are also used to train models. In November 2025, The Atlantic accused Common Crawl of keeping paywalled articles despite removal requests, which the organization disputes. In 2026, several hundred news sites blocked the Internet Archive's crawler for fear it would serve as a back door, though no publisher has shown such use; the Internet Archive calls itself "collateral damage". The risk is losing part of the web's memory to close a door others get around anyway.

Why it matters

For twenty years, the web ran on an implicit bargain: sites let search engines read their pages and got visitors in return. AI assistants, which answer without necessarily sending people to the source, broke that balance. The protocols described here are an attempt to rebuild a machine-readable contract: who may read what, for which use, and at what price.

The stakes go beyond publishers. If the web closes, the open data available to train models shrinks (see The training data market and Training only on open or licensed data), and researchers and small players often lose the most. For collection itself, see Web scraping for ML datasets; for what judges have said, What the courts have said about training.

Key takeaways

  1. robots.txt (1994, standardized as RFC 9309 in 2022) says yes or no bot by bot, but it is purely declarative.
  2. AI companies publish separate bots for training (GPTBot, ClaudeBot, Google-Extended...) and for real-time search, so sites can refuse one and accept the other, except with mixed crawlers.
  3. In Europe, text and data mining is allowed unless reserved in a "machine-readable" way (Directive 2019/790, art. 4); TDMRep offers a format, and the AI Act Code of Practice (July 2025) requires honoring robots.txt.
  4. The "Consent in Crisis" study (2024) measured a very fast closing: in one year, over 28% of C4's most important sources became off-limits to AI crawlers.
  5. Cloudflare made refusal technical (default blocking and pay per crawl in 2025, pay per use announced in 2026), while RSL offers machine-readable licenses and the IETF is still looking for a common vocabulary.
  6. Shared limits: declarative, not retroactive, easy to get around, and in tension with web archiving.
Check your understanding0 / 4

1. What happens technically when a bot ignores a 'Disallow' line in robots.txt?

2. Why can a newspaper block GPTBot while allowing OAI-SearchBot?

3. What did the Hamburg Higher Regional Court decide in December 2025 in the LAION case?

4. Which of these limits does the page present as shared by almost all of these opt-out mechanisms?