Guides

Data anonymization: how personal data becomes truly anonymous

Data anonymization takes more than deleting names. This guide covers the common methods to anonymize data, what the GDPR requires and how to anonymize documents, spreadsheets and text in practice.

Microsoft ExcelClient_List_Q3.xlsx
StartEinfügenFormelnDatenAnsicht
A2fxJohn Smith
ABCDEF
1ClientDate of birthIBANEmailPhoneFees
2John SmithMarch 4, 1970GB82 WEST 1234 5698 7654 32j.smith@mail.com(212) 555-1234£4,250.00
3Jane DoeMarch 12, 1985GB33 BUKB 2020 1555 5555 55jane.doe@outlook.com(415) 555-0188£1,980.00
4Acme Construction Ltd–GB94 BARC 1020 1530 0934 59info@acme-build.co.uk(646) 555-0142£12,400.00
5Thomas BakerNov 21, 1962GB29 NWBK 6016 1331 9268 19t.baker@yahoo.com(312) 555-0199£760.00
6Emily ClarkeAug 7, 1979GB60 LOYD 3096 3412 3456 78emily.clarke@proton.me(617) 555-0123£2,315.00
7      
8      
ClientsFeesDeadlines

Your formats and the AI tools you work with afterwards

  • Word
  • Excel
  • PowerPoint
  • Outlook (emails)
  • PDF
  • Scans & photos
  • TXT Text & CSV
  • ChatGPT
  • Claude
  • Microsoft Copilot
  • Gemini
  • Mistral
  • DeepL
  • Perplexity

Key takeaways

  • Data is anonymous when the person can no longer be identified by means reasonably likely to be used (Recital 26 GDPR). The GDPR then no longer applies.
  • If a mapping list still exists, the data is only pseudonymized and remains personal data.
  • Common methods: removal, replacement with placeholders or fake values, generalisation (age instead of date of birth) and aggregation.
  • Indirect details such as job, place and date can identify a person together. Always check the context.

Data you need to remove or change when anonymizing

  • Direct identifiers: names, addresses, email addresses, phone numbers
  • ID numbers: passport, tax, social security, customer and employee numbers, bank accounts
  • Online identifiers: IP addresses, user names, device IDs
  • Exact dates: date of birth, admission or discharge date, accident date
  • Rare attributes: unusual jobs, small places, rare diagnoses
  • Hidden parts: metadata, comments, tracked changes, pictures

How it works

  1. 1

    Upload your data

    Upload documents, spreadsheets or text: Word, Excel, PowerPoint, PDF, scans, CSV or emails.

  2. 2

    Choose a method

    Placeholders such as [PERSON_1] for AI and analysis, fake values for testing, redaction for sharing. Dates and ages can be generalised.

  3. 3

    Review the result

    See what was replaced in the review view, add your own terms and download the anonymized result.

What is data anonymization?

Data anonymization changes personal data so that it can no longer be linked to a person. The yardstick is Recital 26 of the GDPR: all means reasonably likely to be used to identify someone count, taking into account cost, time and available technology.

If that succeeds, the data is anonymous and outside the GDPR. If a mapping remains anywhere, such as a list “K-4711 = John Smith”, it is pseudonymization, and the data is still personal data.

Data anonymization: how personal data becomes truly anonymous: example before and after
What the result looks like: original on the left, cleaned version on the right.

Data anonymization methods

The right method depends on what the data is needed for afterwards.

MethodExampleGood for
Removal / redaction“John Smith” → █████Sharing with third parties, disclosure
Placeholders“John Smith” → [PERSON_1]AI analysis, summaries
Fake values“John Smith” → “Paul Rivera”Test data, training, demos
Generalisation“12/03/1984” → “1984”, “43” → “40–49”Statistics, research
AggregationSingle values → totals per teamReports, KPIs

Anonymizing personal data in documents

In databases, personal data sits in fixed columns. In documents it hides in running text, headers, tables, comments, pictures and metadata. That is where Diskretio works: detection finds 27 categories in English and German, replaces each person consistently across the document and removes metadata, comments and tracked changes.

The result comes back in the original format. No mapping between original and replacement is stored, not even by us, so the process is irreversible.

When is data truly anonymous?

What matters is the risk of re-identification. Three questions help: can a person be singled out? Can records of the same person be linked? Can anything be inferred about a person? If the answer is no every time, anonymization has worked.

In documents, context is the biggest trap. “The mayor of Springfield” needs no name to be recognisable. That is why Diskretio also replaces places, companies and dates, and you can add custom terms for rare details.

General information, not legal advice. Whether a dataset counts as anonymous depends on the context and on what additional information is available.

Choosing a data anonymization tool

Look for these properties when you compare tools for anonymizing data in documents:

  • Works on your file formats, including scans, without converting them first
  • Finds hidden parts such as comments, tracked changes and metadata
  • Replaces the same person consistently across the whole document
  • Keeps no mapping, so the result cannot be reversed
  • Processes data in the EU and offers a data processing agreement

Data anonymization techniques vs data masking and synthetic data

The terms overlap. Data masking replaces personally identifiable information with masked values; if no key or mapping is kept and the context does not identify anyone, the result is anonymous. Synthetic data goes further: a model generates new records with the statistical properties of the original, without copying real individuals. Synthetic data suits large tabular datasets; for documents, contracts and correspondence, masking the identifiers while preserving the text is usually the practical approach.

Whatever the technique, the test is the same: can a specific person still be singled out, linked or inferred? Only if the answer is no for everyone does the data count as anonymous and fall outside the GDPR.

FAQ

Questions. Answered briefly.

Try it with your own document

10 pages per month are free. No subscription, no credit card.