The Text and Data Mining (TDM) exception in the UK Copyright, Designs and Patents Act 1988 (Section 29A) allows researchers to make copies of copyright-protected material and analyse it using computational techniques.

This is provided they have lawful access to the content and the activity is for non-commercial research. This enables large collections of articles, reports, datasets and other materials to be analysed for patterns, trends and insights without needing permission from each copyright holder.

TDM is primarily about analysing existing content to identify patterns, relationships or evidence. The outputs are typically findings, statistics, datasets or research insights.  For NHS staff, this may support research, quality improvement and service evaluation projects where software is used to examine large amounts of published literature or data.

The content analysed needs to be legitimately accessible to the individual through open source or institutional procurement.  Additional charges maybe be levied to mine content.  There may be Technical Protection Measures (TPM) in place by publishers.  If that is the case, you may need to negotiate with the publisher citing the exception and your term of access.

Generative Artificial Intelligence (AI) tools, such as large language models, differ in that they are designed to create new content, for example text, images, code or summaries. Whilst it can technically be used to analyse data, its ability to generate and repurpose content means it is illegal to use it under the TDM exception.

If you or your organisation is using TDM as part of a commercial project, it will need to buy a licence from the Copyright Licensing Agency.

Page last reviewed: 16 November 2026
Next review due: 16 November 2028