DSM Copyright Directive

Also known as: Directive (EU) 2019/790

On this page 8

The DSM Copyright Directive, formally Directive (EU) 2019/790 on copyright and related rights in the Digital Single Market, is the European Union law that modernized copyright exceptions, licensing and platform liability for the online environment. In the field of Copyright & AI, it matters above all because its text and data mining exceptions and the rights reservation (opt-out) mechanism define when developers may copy protected works to train machine learning models without asking permission.

The Directive was adopted in April 2019, and Member States had to transpose it into national law by 7 June 2021. As a directive rather than a regulation, it works through national statutes, so the precise wording, remedies and procedures differ from country to country, while the core obligations remain harmonized across the Union.

The Directive is a package of targeted reforms rather than a complete copyright code. It sits on top of earlier instruments, especially the InfoSoc Directive of 2001, and adds new mandatory exceptions, new rights for certain rightholders and new duties for large online platforms.

The following table summarizes the provisions that practitioners consult most often and the actors each one affects.

ProvisionSubjectMain addressees
Article 3Text and data mining for scientific researchResearch organizations, cultural heritage institutions
Article 4General text and data mining exception with opt-outAny user with lawful access, including AI developers
Article 5Digital and cross-border teaching usesSchools, universities
Article 6Preservation copies of collectionsLibraries, archives, museums
Articles 8 to 11Out-of-commerce worksCultural heritage institutions, collecting societies
Article 15Related right for press publishersNews publishers, aggregators
Article 17Liability of content-sharing platformsLarge user-upload services
Articles 18 to 23Fair remuneration and transparency in contractsAuthors, performers, their contractual partners
Main provisions of Directive (EU) 2019/790

Two further provisions are frequently overlooked. Article 14 states that reproductions of public domain visual art are not protected unless the reproduction itself is original, and Article 7 makes the research and teaching exceptions resistant to contractual override.

How the text and data mining exceptions work

Text and data mining (TDM) is defined in the Directive as any automated analytical technique aimed at analyzing text and data in digital form to generate information, including patterns, trends and correlations. Training a large language model or an image generator involves copying works into datasets, which is a reproduction that would otherwise require authorization.

Article 3 and Article 4 create two distinct routes. The research route is narrow in beneficiaries but strong in protection, while the general route is open to everyone but yields to the rightholder’s reservation. The table compares them.

FeatureArticle 3 research exceptionArticle 4 general exception
BeneficiariesResearch organizations and cultural heritage institutionsAnyone, including commercial firms
PurposeScientific research onlyAny purpose
Lawful access requiredYesYes
Rightholder opt-outNot availableAvailable through express reservation
Contractual overrideProhibitedPossible through the reservation
Retention of copiesWith appropriate security, including for verification of resultsOnly as long as necessary for mining
Comparison of the two TDM exceptions

Both exceptions require lawful access, which means the miner must obtain content through a subscription, an open license or free public availability. Circumventing a paywall or using pirated collections does not satisfy this condition, regardless of the downstream use.

The opt-out under Article 4(3)

The Article 4(3) reservation lets rightholders exclude their works from the general exception. For content made publicly available online, the reservation must be expressed in an appropriate manner, and the Directive names machine-readable means as the example. In practice, this sentence has become the central legal hinge of AI training in Europe.

No single technical standard is mandated, so several mechanisms coexist. Their legal weight is still being clarified by courts and by guidance under the AI Act.

MethodWhere it sitsPractical strength
robots.txt directivesWebsite root file addressing specific crawlersWidely honored by major crawlers, but crawler-specific
TDM Reservation ProtocolHTTP headers or a well-known filePurpose-built for TDM, adoption still growing
Metadata flagsEmbedded in files such as imagesTravels with the file, may be stripped
Terms of service textWebsite legal pagesLegally relevant, but harder for automated systems to parse
Licensing contractsBilateral agreementsStrongest clarity, limited to the parties
Common ways to express a TDM reservation

A 2024 German first-instance ruling concerning the LAION image dataset suggested that a reservation written in natural language in website terms might count as machine-readable, while deciding the case mainly on the research exception. Such views remain unsettled at appellate level, so careful developers treat any clear reservation as binding.

The AI Act turned the Directive’s opt-out into a compliance duty for model providers. Providers of general-purpose AI models must put in place a policy to comply with Union copyright law, including identifying and respecting Article 4(3) reservations, and must publish a sufficiently detailed summary of training content according to a template issued by the European Commission.

This link has a notable extraterritorial dimension. The AI Act expects compliance from providers placing models on the EU market regardless of where training occurred, although whether the Directive itself reaches training performed outside the Union is still debated among scholars. The voluntary Code of Practice for general-purpose AI published in 2025 describes concrete steps, such as honoring robots.txt and excluding known infringing sources.

Compared with fair use under United States law, the European model is rule-based rather than case-by-case. Fair use weighs four factors after the fact, while the Directive defines in advance who may mine, under which conditions, and how rightholders can refuse. Neither framework resolves whether model outputs infringe, which remains a question of reproduction and substantial similarity.

Platform liability and remuneration provisions

Article 17 made online content-sharing service providers directly liable for user uploads of protected works unless they make best efforts to obtain authorization, act expeditiously on notices and prevent future uploads of notified works. Newer, smaller services benefit from lighter obligations: those operating under three years with turnover below EUR 10 million face reduced duties, and further relief applies below five million monthly unique visitors.

The Court of Justice upheld Article 17 in 2022 against a challenge by Poland, stressing that filtering must not block lawful uses such as quotation and parody. For AI, Article 17 matters when platforms host generated content that reproduces protected material, while Article 15 affects services that reuse news snippets.

The remuneration chapter gives authors a right to appropriate and proportionate remuneration, an annual transparency report on exploitation, a contract adjustment mechanism when pay is disproportionately low, and a revocation right for unexploited works. These provisions increasingly shape negotiations over AI training licenses.

Common misreadings and compliance risks

Misunderstandings of the Directive create real legal exposure for both developers and rightholders. The following table lists frequent errors and the correct reading.

MisreadingCorrect positionConsequence of the error
Public availability means free useLawful access is necessary but does not override a valid reservationInfringing reproductions in training data
Research labels cover commercial workArticle 3 requires genuine scientific research by qualifying bodiesLoss of the non-overridable protection
One robots.txt rule suffices foreverReservations must address the crawlers actually usedUnintended inclusion of content
The Directive governs outputsTDM exceptions cover copying for analysis, not output reproductionFalse sense of security about generated content
National laws are identicalTransposition differs in wording and remediesGaps in cross-border compliance
Frequent errors in applying the Directive

In simple terms

The DSM Copyright Directive is a set of European copyright rules for the internet age. One of its most important parts decides when computers may copy books, articles, images and music in bulk to analyze them, which is exactly what happens when an AI system is trained.

Think of it like a public library with a sign on some shelves. Researchers may study every shelf. Everyone else may also study the books, unless the owner has put up a clear sign saying no. The key point is that creators can say no in a machine-readable way, and AI developers in Europe are expected to look for that sign and respect it.

A practical example

A mid-sized European software company plans to train a domain-specific language model on public web pages about engineering. Before crawling, its legal team reviews the Article 4 exception and concludes that the company is not a research organization, so the opt-out applies. Engineers configure the crawler to read robots.txt, TDM Reservation Protocol headers and common metadata flags, and to skip any site that expresses a reservation.

The crawl initially collects about 40 million pages, and roughly 18 percent are excluded because of reservations. The company records which signals it honored, keeps copies only for the duration of training, and drafts the public training content summary required by the AI Act. A national trade publisher that opted out later asks whether its archive was used; the company answers from its crawl logs within days, and the documented compliance prevents a dispute.