---
title: "Text and data mining"
aliases: ["TDM", "text-and-data mining"]
category: "Risks and regulation"
description: "Automated analysis of large amounts of text and data. EU law allows it on lawfully accessible content, including for AI training, unless the rightholder reserves their rights in a machine-readable way."
updated: 2026-12-04T00:32:05.337Z
glossary: "https://www.jmcliment.com/en/glosario"
canonical: "https://www.jmcliment.com/en/glosario/text-and-data-mining"
---

# Text and data mining

- Also called: TDM, text-and-data mining
- Category: Risks and regulation

Automated analysis of large amounts of text and data. EU law allows it on lawfully accessible content, including for AI training, unless the rightholder reserves their rights in a machine-readable way.

## What it is

The 2019 EU copyright directive allows analyzing works you have lawful access to. Research organizations and cultural heritage institutions can do it for scientific research (Article 3); everyone else can if they have lawful access and the rightholder hasn't expressly reserved it (Article 4).

## In practice

Online, that reservation has to be machine-readable: a [robots.txt](https://www.jmcliment.com/en/glosario/robots-txt), a TDMRep file or clear terms. Outlets such as The New York Times and the BBC cite it in their robots.txt, and the [AI Act](https://www.jmcliment.com/en/glosario/ai-act) requires general-purpose model providers to respect it.

## Watch out for…

The boundary is still being argued in court. In November 2026, an Advocate General at the EU Court of Justice said training can fall under the exception if there's no reservation, but the ruling hasn't come yet.

Learn more: <https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32019L0790>

## Appears in

- [How big websites control AI](https://www.jmcliment.com/en/blog/ai-on-websites)
