Rightshold™ Sign up

Answers · AI crawlers

Do AI companies have to obey robots.txt and other AI opt-outs when they crawl sites for training in the EU, under the AI Act and its General-Purpose AI Code of Practice, and what can a site owner do if they don't?

Last updated

TL;DR: For the companies that train general-purpose AI models and offer them in the EU, increasingly yes, though through copyright compliance rather than a rule that names robots.txt. Article 53(1)(c) of the AI Act requires every provider of a general-purpose AI model to have a policy to comply with EU copyright law, in particular to identify and comply with, including through state-of-the-art technologies, a reservation of rights under Article 4(3) of the 2019 Copyright Directive, the opt-out from the commercial text-and-data-mining exception. Recital 106 says this applies wherever the training takes place. The General-Purpose AI Code of Practice, published on July 10, 2025 and assessed by the Commission as adequate, is how most large providers show compliance: in its Copyright chapter, signatories commit to use crawlers that read and follow robots.txt as specified in RFC 9309, to honor other machine-readable opt-out protocols that are standardized or widely adopted, not to get around paywalls, to publish information about their crawlers, and to take complaints. Signatories include Amazon, Anthropic, Google, IBM, Microsoft, Mistral AI and OpenAI; xAI signed only the Safety and Security chapter. The obligations have applied since August 2, 2025, and since August 2, 2026 the Commission can fine providers up to 3% of worldwide annual turnover or EUR 15 million, whichever is higher; models placed on the market before August 2, 2025 have until August 2, 2027. A site owner doesn't get a direct claim under the AI Act, though: you complain to the provider or the AI Office, or sue under copyright law, where a German appeals court found in December 2025 that an opt-out written only in plain-language terms of use wasn't enough.

What should I check, step by step?

1. Put your reservation in robots.txt with groups that name each training crawler you want out (for example GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, meta-externalagent). robots.txt per RFC 9309 is the one protocol the Code names.

  1. Consider adding the shared "User-Agent: __usage_ai-training" group too, which Google, Microsoft, OpenAI and Anthropic said in October 2026 they would honor; Google's announcement says the approach is consistent with the Code. It isn't read by anyone yet.
  2. Don't rely on terms of use alone. The Hamburg Higher Regional Court held in December 2025 that a reservation written only in natural language on a website wasn't a machine-readable one for a 2021 crawl. Keep the terms, but also publish a machine-readable signal.
  3. If you publish files or images that get copied elsewhere, consider an asset-based signal as well (for example TDMRep or embedded metadata). The Code mentions asset-based and location-based metadata, but commits signatories only to protocols that are standardized or widely adopted, so robots.txt remains the safest base.
  4. Keep paywalled or members-only content behind a real login. Measure 1.2 commits signatories not to circumvent effective technological measures such as paywalls; a hidden page isn't one.
  5. Find each provider's published crawler information and subscribe to updates. Measure 1.3(4) commits signatories to publish their crawlers, robots.txt features and other opt-out measures, with a way for rightsholders to be notified automatically when it changes.
  6. Keep dated copies of your robots.txt and other signals, and evidence of any crawling after you opted out (server logs with verified crawler IPs).
  7. If you think a signatory ignored your opt-out, use its designated point of contact and complaint mechanism (Measure 1.5) and keep the reply. Copyright claims go to national courts; talk to an EU copyright lawyer before relying on any of this.

Does the EU AI Act require AI companies to respect robots.txt opt-outs?

Article 53(1)(c) applies to providers of general-purpose AI models, the companies that train and offer models such as large language models, not to every website scraper. It requires a policy to comply with EU copyright law and in particular to identify and comply with, including through state-of-the-art technologies, a reservation of rights expressed under Article 4(3) of Directive (EU) 2019/790. That article lets rightsholders opt out of the commercial text-and-data-mining exception, and says that for content made publicly available online the reservation should be made in an appropriate manner, such as machine-readable means.

What does the EU General-Purpose AI Code of Practice say about robots.txt?

Measure 1.3 of the Copyright chapter: signatories that crawl the web for text and data mining and training commit to employ crawlers that read and follow robots.txt as specified in RFC 9309 (and later versions the IETF shows are feasible), and to identify and comply with other appropriate machine-readable protocols for rights reservations, for example asset-based or location-based metadata, that are adopted by international or European standards bodies or are state of the art, widely adopted by rightsholders and generally agreed through an inclusive process. It adds that this doesn't limit rightsholders' right to reserve their rights in any appropriate manner.

Is a terms-of-use AI opt-out enough in the EU, or does it have to be machine-readable?

The commitments are framed around crawling to compile data for text and data mining and training. They don't say anything about an AI assistant fetching your page in real time for a user, and they bind providers of general-purpose models, not every company that runs a scraper. They also don't reach models trained on content collected before you published your opt-out.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “What does example.com's robots.txt tell GPTBot, ClaudeBot, Google-Extended, Applebot-Extended, CCBot, meta-externalagent and the AI search and user-fetch bots? Is AI training opted out for every training crawler, and is there a TDMRep reservation?”

One-click setup

{
  "tool": "read_ai_policy",
  "arguments": {
    "domain": "example.com"
  }
}

Rightshold reads a site's public crawl and AI-use signals. It isn't affiliated with the European Commission, the AI Office or any AI provider, doesn't verify any provider's compliance, and can't remove content from datasets or models. The Code commitments and AI Act provisions are summarized from the texts cited; the LAION case is still pending. Not legal advice; talk to an EU copyright lawyer about your situation.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'