
You can opt out of AI training in the EU, but only if you reserve your rights in the right way. Under the EU’s text and data mining rules, commercial AI developers may copy lawfully accessible online content unless the rightsholder has expressly reserved its rights, and for online content that reservation should be machine-readable. In the UK, the position is different again: there is no general commercial text and data mining exception at all.
This guide explains what the law actually says, what a German court decided in Kneschke v LAION, and the practical steps publishers and brand owners in the UK, UAE and Iran can take.
The EU rules on text and data mining
The key law is the Copyright in the Digital Single Market Directive, Directive (EU) 2019/790. Article 2(2) defines text and data mining as any automated analytical technique that analyses text and data in digital form to generate information, such as patterns, trends and correlations.
The Directive contains two separate exceptions:
- Article 3 (scientific research): research organisations and cultural heritage institutions may mine works they have lawful access to, for the purposes of scientific research. Rightsholders cannot opt out of this one.
- Article 4 (any purpose): anyone may make reproductions and extractions of lawfully accessible works for text and data mining, and keep them for as long as necessary for that purpose.
The crucial condition is in Article 4(3). The Article 4 exception applies only if the use has not been expressly reserved by the rightsholder “in an appropriate manner”, such as machine-readable means for content made publicly available online. Recital 18 adds that, for online content, machine-readable means can include metadata and the terms and conditions of a website or service.
So the right to opt out of AI training exists, but it sits entirely on the rightsholder’s side. If you do nothing, the Article 4 exception can apply to your public content.
What Kneschke v LAION tells us
In a 2025 article in JIPITEC, Stepanka Havlikova analyses the Hamburg Regional Court’s judgment of 27 September 2024 (310 O 227/23). A photographer, Robert Kneschke, sued LAION, a non-profit that had built a dataset of image-text pairs used for AI training, which included one of his photos.
The court dismissed the claim under the Article 3 scientific research exception. However, it also discussed Article 4 at length in obiter remarks:
- It read “machine-readable” as closer to “machine-understandable”, judged by the technology available at the time of use.
- It suggested that a reservation written in natural language could qualify, because modern AI tools can understand ordinary text.
- It expressly said that the Article 4 point did not need to be conclusively decided, which limits its weight as precedent.
Havlikova is cautious about this. In her view, a reservation should be clear enough that machines can decode it reliably, ideally in a standardised form. She argues that vague website terms banning “scraping” or bots, without expressly reserving rights against text and data mining, will often fall short. The terms in the LAION case used generic anti-scraping wording and pre-dated Germany’s implementation of the Directive.
How to opt out of AI training in practice
Havlikova’s article reviews the main technical tools. None of them is perfect, which is why a layered approach is sensible.
Robots.txt and named crawlers
Robots.txt is the best-known method. It is a simple text file that tells named crawlers which parts of a site they may visit. Its weaknesses are significant:
- It is voluntary: it states your wishes but does not technically block access.
- It works by naming crawlers (user agents), not by banning a purpose such as AI training.
- Blocking all bots would also block search engines and harm your visibility.
- You must keep track of which crawler names each AI company uses.
The article records that several developers published their own crawler names for this purpose, including OpenAI’s GPTBot, Google’s Google-Extended control, Common Crawl’s CCBot and Anthropic’s ClaudeBot. It also cites an Originality.AI review finding that, as of June 2024, 35% of the top 1,000 websites blocked GPTBot.
Other machine-readable signals
Other options discussed include TDM fields in HTTP headers, TDM metadata in HTML, the W3C TDM Reservation Protocol (TDMRep), “noai” meta tags and metadata or watermarks embedded in individual files. File-level (“unit-based”) signals matter if your images or documents are likely to be copied onto other sites, where your robots.txt no longer reaches them.
Clear website terms
Your website terms should contain an express reservation of rights against text and data mining under Article 4(3), not just a general ban on bots. Some national guidance differs here: the Czech explanatory memorandum, as reported by Havlikova, doubts that general statements in terms of use are enough, while the German memorandum accepts terms or the site imprint if they are machine-readable.
The AI Act adds pressure on developers
The EU AI Act, Regulation (EU) 2024/1689, reinforces the opt-out. As Havlikova explains, Article 53(1)(c) requires providers of general-purpose AI models to put in place a policy to comply with EU copyright law and, in particular, to identify and respect reservations made under Article 4(3), including through state-of-the-art technologies. Providers must also publish a sufficiently detailed summary of the content used for training.
That summary obligation matters for enforcement: it should make it easier to find out whether your content was used. Havlikova also notes that the European Commission planned a feasibility study on a central registry of opt-outs.
Limits you should know about
Opting out is useful, but it does not solve every problem:
- Timing. The better view is that a reservation works for the future. Once a model is trained, content cannot easily be removed from it. Opt out as early as possible.
- Proof. In a dispute, you may need to show that your reservation existed on a specific date. Keep time-stamped records of your robots.txt, metadata and terms.
- Outputs. The text and data mining exceptions cover copying for analysis, not later reproduction. If a model reproduces verbatim extracts of your work, that falls outside the exception.
- Datasets passed along. Datasets are often built by one organisation and used by another. A research body relying on Article 3 does not automatically protect a commercial developer that later uses its dataset.
UK, UAE and Iran: different starting points
UK. Section 29A of the Copyright, Designs and Patents Act 1988 allows a person with lawful access to make a copy for computational analysis only for the sole purpose of non-commercial research, with sufficient acknowledgement. Contract terms that try to override this are unenforceable. There is no UK equivalent of the EU’s Article 4 commercial exception. In its Report on Copyright and Artificial Intelligence, published in March 2026, the government said a broad exception with an opt-out is no longer its preferred way forward and that it will not change the law until it is confident the change meets its objectives. As of October 2026, the UK therefore has no statutory AI training opt-out mechanism.
UAE and Iran. Do not assume that an EU-style exception or opt-out exists. Each country’s copyright law must be checked on its own terms. That said, if your content is online and AI developers serve the EU market, the AI Act gives them a reason to respect machine-readable reservations, so publishing one costs little and may help.
What to do next
- Audit your content. List the websites, image libraries, databases and documents you publish, and who owns the rights in them.
- Publish an express reservation. Add clear wording reserving rights against text and data mining under Article 4(3) of Directive (EU) 2019/790 to your website terms.
- Update robots.txt and metadata. Block the AI crawlers you can identify, keep search engines allowed, and add TDM metadata to pages and key files.
- Keep evidence. Archive dated copies of your terms, robots.txt and metadata so you can prove when your opt-out started.
- Check each jurisdiction. Get advice on intellectual property protection in Iran, the UK and the UAE before relying on any one rule.
- Review AI contracts. If you license content or use AI tools, check the training and output clauses with an AI law specialist.
PAD International Group advises publishers, brand owners and technology businesses on copyright, AI and cross-border content protection across the UK, UAE and Iran. Our intellectual property team can review your opt-out strategy and licensing position. Contact us to discuss your content.
This article is general information, not legal advice for a specific case.
Frequently asked questions
Can I opt out of AI training in the EU?
Yes, for the general text and data mining exception in Article 4 of Directive (EU) 2019/790. You must expressly reserve your rights in an appropriate manner, and for online content that should be machine-readable. You cannot opt out of the separate scientific research exception in Article 3.
Is robots.txt enough to stop AI training?
It helps, but it has limits. Robots.txt is voluntary, works by naming specific crawlers rather than banning a purpose, and blocking all bots would also block search engines. Combine it with express wording in your terms and TDM metadata.
Does the UK have an AI training opt-out?
Not as of October 2026. UK law only permits text and data mining for non-commercial research under section 29A CDPA 1988. In March 2026 the government said a broad exception with an opt-out is no longer its preferred approach.
Does an opt-out remove my content from models already trained?
Generally not. The prevailing view is that a reservation applies to future mining, and content cannot easily be removed from a trained model. Opt out early and keep dated evidence.
Sources
- Stepanka Havlikova, ‘Technical Challenges of Rightsholders’ Opt-out From Gen AI Training after Robert Kneschke v. LAION’, JIPITEC 16(1) 2025
- Directive (EU) 2019/790 on copyright and related rights in the Digital Single Market (EUR-Lex)
- Copyright, Designs and Patents Act 1988, section 29A (legislation.gov.uk)
- Report on Copyright and Artificial Intelligence (GOV.UK)
Insights & answers
Latest from PAD