Intellectual property · Overview

Text and data mining: when texts, images and data may be copied and analysed in bulk for research and to train AI

The text and data mining exceptions: definition, articles 3 and 4 of Directive 2019/790, articles 70-ter, 70-quater and 70-septies of the Italian copyright act, lawful access, reservation of rights, scientific research and commercial uses, the AI Act and the code of practice, the LAION, GEMA v OpenAI and v Suno, Like Company, Getty and US cases, risks, compliance, sanctions and frequently asked questions.

Text and data mining is the automated analysis of large amounts of digital content to extract information from it: trends, correlations, statistical patterns. Researchers do it when studying millions of scientific articles, companies when analysing reviews and documents and, above all, artificial intelligence developers, who copy and analyse billions of pages, images and tracks to train a model.

Because it almost always requires copying protected works, European law allows it thanks to two exceptions introduced in 2019: one for scientific research, which rightholders cannot exclude, and one for any purpose, including commercial ones, which rightholders can instead reserve. This is where the great AI lawsuits come from: whether training really falls within the exception, how the reservation must be expressed, what happens when a model memorises and returns the works.

2019year of the European directive that introduced the two text and data mining exceptions
5.85 bnimage-text pairs in the LAION dataset, at the centre of the first European case on AI training
31 Jul 2026date of the Munich judgment that largely found for GEMA against the Suno music generator

The main questions

What it is
Which automated analyses count as text and data mining?
Lawful access
Where may the copied content come from?
Research or market
Which exception applies and who can rely on it?
Reservation
How do you exclude your works and when is the reservation valid?
Training
Is training a generative model text and data mining?
Memorisation
What happens if the model keeps and reproduces the works?

The general framework is in copyright and AI; for opt-outs see rights reservation, for providers’ obligations general-purpose AI models and training data. The basic entries are text and data mining, rights reservation and training data summary.

Text and data mining

The pages of this topic

01 What the law says

Text and data mining: the rules

The rules on text and data mining: definition and articles 3 and 4 of Directive 2019/790, Italian Legislative Decree 177/2021, articles 70-ter, 70-quater and 70-septies and the offence in art. 171, the AI Act and the code of practice, the review of the directive and the 2026 European Parliament resolution.

02 Scope

Text and data mining: where the exceptions apply

When the exceptions apply: analysis for scientific research, commercial analysis, dataset creation, training generative models, memorising and returning works, piracy sites and paywalls, training outside the Union, the United States.

03 People's rights

Text and data mining: the rights

The rights of rightholders and miners: reserving commercial uses, no reservation against research, lawful access, retention of copies, information on the data used, complaints, licences, legal action.

04 Concrete examples

Text and data mining: concrete cases

The cases on text and data mining: LAION in Hamburg up to the German Federal Court of Justice, GEMA v OpenAI and v Suno in Munich, Like Company v Google at the Court of Justice, Getty v Stability AI in London, Bartz, Kadrey and Ross in the United States.

05 Risks

Text and data mining: the risks

The risks of text and data mining: ignored reservations, unlawful access, memorisation in models, outputs similar to works, personal data, databases, different legal systems, uncertainty from pending cases.

06 Compliance steps

Text and data mining: what to do

Compliance for miners and rightholders: check access, read and respect reservations, document collection, keep copies only as long as needed, exclude piracy sites, limit memorisation, publish the summary, declare the reservation.

07 Penalties

Text and data mining: the sanctions

The consequences of violations: the offence in art. 171, letter a-ter, more serious cases for profit, civil remedies, orders on models and outputs, AI Act penalties for model providers, GDPR penalties.

08 FAQ

Text and data mining: frequently asked questions

Short answers to the most common questions about text and data mining.

↑