Skip to content
Byteboat
NoTrain Stamp · by Byteboat5 min readUpdated

Opt your images out of AI training

You can write a refusal of AI training into your image files, in a form machines can read. It is not a technical lock, but it is the form EU law provides for.

What the law says

EU Directive 2019/790 on copyright allows “text and data mining” (TDM), which covers training AI models, on content that is lawfully accessible online. Its Article 4 lets rightsholders opt out, provided the reservation is expressed “in an appropriate manner, such as machine-readable means” for content made publicly available online. France transposed it as Article L.122-5-3 of its Intellectual Property Code.

In practice: an “all rights reserved” line on your website is hard for a robot to read. A standard metadata field is not.

Fields to write into the image

These are written into the file’s XMP block, which photo software and many crawlers read. Pixels do not change.

Which value to choose

Your intentData Mining value
Refuse all AI trainingProhibited for AI/ML training
Refuse generative AI onlyProhibited for generative AI/ML training
Stay in search engines, refuse the restProhibited except search engine indexing
Offer a paid licenceProhibited, see Other Constraints (and say how to reach you)

How to do it

  1. Open NoTrain Stamp.
  2. Pick the Data Mining value, keep the TDMRep reservation ticked, and optionally fill in creator, copyright and licence page.
  3. Drop your JPEG, PNG or WebP files, click Stamp all, then download them one by one or as a ZIP.

Processing happens in your browser: your images are not uploaded. The tool also shows any reservation already in a file, so you can check the result.

Limits to know about

This guide is general information, not legal advice.

Guides

Other tools