Skip to content

How to mask personal data

Masking personal data means replacing or hiding whatever identifies a person, so that the text can still be used. You need it when you share a case with a supplier, get help from AI, show an example in a training session or send material to someone who does not need to know who it is about. It applies just as much to texts, screenshots and documents.

What should be masked?

KindExamples
Identifies directlyName, National Insurance number, NHS number, email address, phone number, address, sort code and account number, card number
Identifies with other informationEmployee number, customer number, order number, vehicle registration, IP address, date of birth
Identifies in combinationJob title, workplace and an event, for example "the finance director who was off sick in March"
Special category dataHealth, trade union membership, religion, political opinions, sexual orientation

Passwords and API keys are not personal data, but they should also be removed before a text is shared.

Mask, pseudonymise or anonymise?

What it meansDoes UK GDPR apply?
MaskThe details are replaced or hidden, for example with [NAME 1]Yes, as a rule
PseudonymiseThe details are replaced, but can be linked back with a key that is kept separatelyYes
AnonymiseNo one can link the details back any more, not even with other informationNo, but it is hard to achieve

Most of what is called masking is pseudonymisation in legal terms. It reduces the risk a great deal, but the rules still apply.

How to do it, step by step

  1. Decide what the recipient needs. To answer a support case, a supplier needs to understand the problem, not to know who the customer is.
  2. Replace instead of deleting. A label such as [NAME 1] keeps the context. Give the same person the same label throughout the text, or it becomes hard to follow.
  3. Go through what is left. Job titles, dates and places can identify someone together. Rewrite anything that gives too much away.
  4. Keep the key separate. If you need to put the details back later, do not store the link together with the masked text.
  5. Check before you send. Read the text once more as if you were the recipient.

With DataMask

DataMask finds names, ID numbers, contact details, account numbers and keys in a text, a screenshot or a Word or PDF file and replaces them with labels. UK, US and Swedish formats are recognised. When the AI tool has answered, you put the details back with one click. Everything happens in your browser, and the link between the labels and the details is never sent anywhere.

In screenshots

Cover the details with solid boxes. Blurred or pixelated text can sometimes still be read. DataMask reads the text in the image, suggests boxes with labels and lets you add your own, without the image leaving your browser.

In Word and PDF

  • Mask the whole file in DataMask. In the Document tab, the details are replaced in the Word file or PDF, including headers, footnotes and comments, and you download a masked file. Hidden information such as the author and tracked changes is removed. The file never leaves your computer.
  • A black box in a PDF is not enough. If the text is still underneath, anyone can select and copy it. Use a feature that removes the text, usually called redact, and check afterwards by trying to copy what you hid.
  • Check what you cannot see. Tracked changes, comments, the author and other metadata travel with the file. Remove them with MetaClean before you share it.
  • Does the recipient only need the text? Copy it out, mask it in DataMask and send the text instead of the file.

Frequently asked questions

What is the difference between masking and anonymising?

Masked details can usually be linked back, and then UK GDPR still applies. Anonymised details cannot, by anyone.

Is it enough to black out text in a PDF?

No, not if the text is still underneath. Remove the text and check that it cannot be copied.

Is my text sent to Zavanto when I use DataMask?

No. The text is masked in your browser.

Does it cost anything?

No. DataMask is free and needs no account.

Something went wrong. Reload 🗙