Pseudonymization vs anonymization under the GDPR
Pseudonymization replaces the details that identify a person with codes or tags, such as [PERSON_1], and keeps the key that reverses them somewhere else. Anonymization removes the link to the person for good. Under the GDPR, anonymous data falls outside the law, while pseudonymized data stays personal data for anyone who can reverse it. Before an AI reads a file, pseudonymization is usually what you want.
We build GoPrivate, which pseudonymizes files so that you can use any AI on them and swap the real values back. The last section explains how it applies the rules below.
How does the GDPR define pseudonymization?
Article 4(5) of the GDPR sets two conditions. The data can no longer be tied to a specific person without additional information, and that additional information is kept separately, under technical and organizational measures that stop anyone from tying it back. In a document, the additional information is the mapping, the list that says [PERSON_1] stands for Claire Martin.
The recitals explain how the law treats it. Recital 26 says that pseudonymized data, which the additional information can tie back to a person, should be considered information about an identifiable person. Recital 28 says pseudonymization can reduce the risks for the people concerned and help controllers and processors meet their obligations, and that naming it in the regulation does not rule out other protection measures. Recital 29 allows general analysis of pseudonymized data within the same controller, as long as the additional information is kept separately and the controller names the people allowed to access it.
The articles then cite pseudonymization as a safeguard in four places, listed in the table. None of them makes it a way out of the GDPR.
| Provision | What it uses pseudonymization for |
|---|---|
| Article 4(5) | Defines it as data that cannot be tied to a person without separate, protected information |
| Article 6(4)(e) | A safeguard when data is reused for a purpose other than the one it was collected for |
| Article 25(1) | An example of data protection by design |
| Article 32(1)(a) | A security measure, next to encryption |
| Article 89(1) | A safeguard for archiving, research and statistics |
| Recitals 26, 28 and 29 | Still personal data; reduces risk; allowed for analysis inside one controller |
What counts as anonymization?
Recital 26 places anonymous information outside the GDPR: data that does not relate to an identifiable person, or that has been made anonymous so the person can no longer be identified. To judge identifiability, it asks which means are reasonably likely to be used, such as singling someone out.
The reference text for a decade was Opinion 05/2014 on Anonymisation Techniques, adopted by the Article 29 Working Party on April 10, 2014. It tests anonymization against three risks:
- Singling out. Isolating the records that belong to one person.
- Linkability. Connecting two records about the same person, in one dataset or across several.
- Inference. Deducing a value about a person from other values with significant probability.
The opinion groups anonymization techniques into two families. Randomization changes the data, with noise addition, permutation and differential privacy. Generalization makes it coarser, with aggregation, k-anonymity, l-diversity and t-closeness. It states that pseudonymization is not anonymization. Pseudonymization is a security measure that reduces linkability, and each person can still be singled out.
The European Data Protection Board is replacing that opinion. It adopted draft Guidelines 02/2026 on Anonymisation for public consultation on July 7, 2026, and the consultation closed on October 30, 2026. According to a DLA Piper summary, the draft says anonymity is not absolute and that an assessment must account for reasonably foreseeable technology, not only today’s. As of November 24, 2026, the EDPB has not published a final version.
What did the EDPB and the EU Court of Justice add?
EDPB Guidelines 01/2025 on pseudonymization
The EDPB adopted Guidelines 01/2025 on Pseudonymisation at its January 2025 plenary and opened them to public consultation, announced until February 28, 2025 (EDPB press release, January 17, 2025). Its plain-language summary makes two practical points. Pseudonymizing data needs no legal basis of its own, because the legal basis of the original processing covers it. And pseudonymization can make it easier for an organization to rely on legitimate interest as its legal basis.
The SRB judgment of September 4, 2025
In Case C-413/23 P, EDPS v SRB, the EU’s Single Resolution Board had replaced the names in written comments with alphanumeric codes and sent the comments to Deloitte, which had no way to re-identify the authors. The Court of Justice held that pseudonymized data is not automatically personal data for every recipient. It depends on whether that recipient can re-identify the people concerned. The SRB, which kept the key, still had to tell the authors, when it collected their comments, that Deloitte would receive them (Covington, Inside Privacy). The Court sent the case back to the General Court.
For anyone who pseudonymizes a file, the practical reading is narrow. You hold the mapping, so the data stays personal data for you, with every obligation that comes with it. Whether it is personal data for an AI provider that receives only tags is a case-by-case question. Treat the tags as a way to reduce what the provider sees, not as a way to leave the GDPR.
Which techniques pseudonymize data?
Opinion 05/2014 reviews several pseudonymization techniques, among them hash functions, encryption with a secret key, deterministic encryption or a keyed hash whose key is then deleted, and tokenization (Bird & Bird). They differ in what the output looks like and in who can reverse it.
| Technique | Example output | Who can reverse it | Can an AI follow the text? |
|---|---|---|---|
| Tags with a mapping | [PERSON_1] | Whoever holds the mapping | Yes, each person keeps a distinct name |
| Tokenization | tok_8f3a91 | Whoever holds the token table | Yes, but tokens carry no type |
| Salted or keyed hash | 3b6e…c41d | No one directly, though known value sets raise the risk | Barely, hashes are long and opaque |
| Encryption with a secret key | U2FsdGVk… | Whoever holds the key | No, the text becomes unreadable |
Tags and tokens work for documents because the AI still sees a short, consistent name for each person. Encryption protects storage well, but an AI cannot reason about a sentence full of ciphertext. A hash cannot be reversed by the person who made it either, which rules it out when you need the names back in the AI’s answer.
Should you pseudonymize or anonymize before an AI reads a file?
Anonymization suits data you publish or share for statistics, where nobody needs the names again. It removes or coarsens details, and Opinion 05/2014 expects it to be irreversible. Applied to a contract, it turns “Claire Martin will pay Halden & Co” into “a person will pay a company”, and the AI can no longer say who owes what.
Pseudonymization keeps the structure. The AI reads [PERSON_1] will pay [COMPANY_1], works on the document, and you put the real values back in its answer. Article 4(5) then asks you to keep the mapping separate and protected. Our guide on how to anonymize data before giving it to an AI gives the step-by-step method, and swapping the real names back into an AI’s answer covers the return trip.
How GoPrivate pseudonymizes files
GoPrivate applies the definition of Article 4(5) to Word, Excel, CSV, PDF, text and Markdown files of up to 4 MB.
- Tags with a mapping. Rules in code find emails, phone numbers, IBANs, national ID numbers, web and IP addresses. Mistral AI finds names, companies, addresses, client and case numbers and dates of birth. Each value gets a typed, numbered tag, and the same value gets the same tag everywhere in the file.
- A mapping you check. You see the full mapping before anything is replaced. You can remove a line, add a value it missed, or rename a tag. Code then replaces the values, so nothing else in the file is rewritten.
- The mapping kept apart. GoPrivate encrypts the mapping and saves it in your account, separately from the anonymized file, and you can delete it at any time. GoPrivate reads the file in memory and keeps nothing once you have the result. Under zero data retention, Mistral keeps nothing once it has answered. The privacy policy gives the details.
- Reversal on demand. Upload the AI’s answer as a file, pick the mapping, and each tag comes back as the full form of its value.
- Price. The preview is free. One credit covers 1,000 words, paid once, from $9 for 60 credits, and the swap back costs the same. See the packs.
Drop a file below to see a page of it pseudonymized, before you pay anything.