Pseudonymization swaps identifying details for a stand-in, such as a token or a code, and keeps a way back to the person. Anonymization removes the link for good. That one difference decides whether the law still treats your data as personal data, and so how much of your product has to be built around protecting it. In EU and UK law, pseudonymized data is still personal data and anonymized data is not. Most founders I talk to believe they have done the second when they have only done the first.
I build software products for founders and owner-operated businesses. This question comes up whenever a product touches customer records, patient notes, case files or shipment data. Here is the plain version, with the techniques, the limits and a way to decide.
Key Takeaways
- Pseudonymization is reversible by design: identifiers are replaced, and the key or mapping is stored separately. The result is still personal data under the GDPR.
- Anonymization means nobody can be identified, directly or indirectly, by you or by anyone else. If you can still reverse it, it is not anonymized.
- Calling a dataset "anonymized" when it is only pseudonymized is a common mistake, and regulators warn that it risks non-compliance.
- For most live product features (logins, accounts, billing, support), pseudonymization is the right tool. Anonymization suits analytics, reports and data you share outside the business.
- Decide this before you design your database, not after. Retrofitting it into a finished app costs far more than building it in.
Table of Contents
- The difference in plain words
- Why the label matters legally
- Pseudonymization techniques
- Anonymization techniques and their limits
- Why removing the name is not enough
- Which one your product needs
- Building this into a first version
- Where I can help
- My perspective
- FAQ
- Sources
The difference in plain words
Take a customer record: "Joe Smith, 12345678, studies nursing." The Irish Data Protection Commission gives this kind of example: pseudonymization turns the record into "Candidate 1, XXXXXXXX, nursing". The course of study is kept, the name and number are hidden. Someone who holds the original list can still map Candidate 1 back to Joe.
That is the whole idea. Pseudonymization produces two things: the transformed dataset, and the additional information that can reverse it. The UK regulator describes exactly this two-output structure and says the additional information must be held separately and kept secure. The Spanish data protection authority makes the same point: anonymization results in one new dataset, pseudonymization in two.

Anonymization has no second output. The European Data Protection Board puts it simply: pseudonymization reduces linkability without cutting the link completely, while anonymization makes data unlinkable. CERN's privacy team describes anonymization as an irreversible process that removes or changes identifying information so the data can't be traced back to a person.
A quick test: if anyone, including you, could get back to the person with some extra file, key or lookup table, it is pseudonymized. The Irish regulator adds a practical warning: when data is anonymized, the original information should be securely deleted, and if it is not deleted the data is usually classed as pseudonymized and remains personal data.
Why the label matters legally
Under the EU GDPR, pseudonymized data that can be attributed to a person with additional information remains personal data, even if different parties hold the data and the additional information. Truly anonymized data falls outside EU data protection law. That means no consent basis, no deletion requests and no breach notification for that dataset, though other regulations may still apply, as the Spanish authority notes.
The UK regulator is blunt about the risk: it is common to call datasets anonymized when they are only pseudonymized, and that can lead to non-compliance. If you tell a customer, an investor or an auditor that your data is anonymized, you are making a legal claim, not a technical one.
You are probably in the US, so a note on scope. The GDPR applies when you handle personal data of people in the EU, whatever your own location. A 2024 review by the Office of the Privacy Commissioner of Canada found pseudonymization defined in the EU and UK GDPR, Japan's APPI and California's CCPA, with a consistent threshold: people cannot be re-identified unless the data is combined with other information. Anonymization definitions appear in the EU and UK GDPR, Japan's APPI, Quebec's laws and Canada's proposed federal bill, with Quebec and Japan requiring irreversibility. The wording differs by place, so check which regime your customers fall under.
What changed recently
The EDPB adopted guidelines on pseudonymization on 16 January 2025. They say the GDPR does not impose a general obligation to use pseudonymization, but you may need it to meet data minimization, data protection by design and default, or security requirements. They also say it can support reliance on legitimate interests, compatible further processing and safeguards for data exports. In practice, pseudonymization is the standard engineering measure that makes the rest of your compliance easier.
One more note on the legal climate: encryption is under political discussion in the EU right now, and if your product handles messages, EU rules on encrypted messaging are worth following alongside your data protection work.
Pseudonymization techniques
The UK regulator names three common techniques: hashing, encryption and tokenization. Each fits a different job.
| Technique | How it works | Reversible? | Typical use |
|---|---|---|---|
| Hashing | Turns an identifier into a fixed-length, one-way output | Not directly, but guessable if the input space is small | Matching records without storing raw emails or IDs |
| Encryption | Scrambles the value so only a protected key recovers it | Yes, with the key | Fields you must read back later, such as a patient name |
| Tokenization | Replaces the identifier with a random token, mapping kept in a separate store | Yes, through the mapping | Linking one customer's records across systems |
Hashing
A hash is only as strong as its inputs are unguessable. The ICO says to use salted or peppered, robust functions such as bcrypt and to avoid MD5 and SHA-1. The De-Identification Handbook explains why: cryptographic hashes can be inverted if the algorithm, key and full input space are known. Email addresses and phone numbers have a small, enumerable input space, so a plain unkeyed hash of one is weak protection. A keyed hash is the version to build.
Encryption
Encryption-based pseudonyms work because decryption is infeasible in reasonable time without the key, according to the same handbook. The key is the "additional information". Store it apart from the data, restrict who can use it and rotate it. The same discipline applies to the secrets your app uses to call other services, which I cover in a guide to API key management.
Tokenization
Tokenization replaces the identifier with a randomly generated token, with no mathematical relationship to the original. The ICO's example is a bank that replaces a customer's identifiers with one random token, keeps the mapping in a separate database, and reuses the token to link that customer's current account, savings account and mortgage records without exposing who they are. That pattern is useful in any product where you need to join records about the same person but most staff and most systems do not need to know who it is.
Anonymization techniques and their limits
Anonymization is much harder than it sounds, and the honest summary of the research is that it is a matter of reducing risk below a threshold, not reaching zero. The Privacy Commissioner's review notes that joint EDPB and Spanish authority guidance says a robust process aims to bring re-identification risk below a threshold, and that Quebec's regulation says zero risk need not be shown. The EU and UK also expect you to keep your technique effective as technology advances.
The main families of technique:
- Aggregation and generalization. Report counts, averages and age bands instead of rows. Replace an exact birth date with a decade, or a street address with a region.
- Suppression. Remove rare values and outliers that make a person stand out.
- k-anonymity. Make sure at least k records share the same combination of indirect identifiers such as age band, postal area and job. A 2024 review of anonymization research notes that this protection collapses if an attacker knows one extra attribute, and that it does not hold up across multiple releases of the data.
- Differential privacy. Add calibrated statistical noise to the results of queries, so the output barely changes whether or not any one person is in the data. The same review describes it as a formal guarantee that holds regardless of what else the attacker knows, with a parameter (epsilon) where a higher value means less protection.
- Synthetic data. Generate artificial records that mimic the statistics of the real ones. It still needs a risk check, because a generator can leak what it was trained on.
The trade-off is always utility. A peer-reviewed study found that basic k-anonymity tends to over-anonymize, losing more information than needed, especially with small samples. The 2024 review adds that for high-dimensional data, keeping the data useful while making it meaningfully anonymous is very difficult, and many researchers now favor differential privacy over simple de-identification.
For a small product, the pragmatic reading is this: anonymize at the level of aggregates and reports, where you control the output, instead of trying to anonymize a detailed row-level dataset and hand it out.
Why removing the name is not enough
The best-known cautionary tale is the Netflix Prize dataset. Netflix released about 100 million ratings with usernames removed. Researchers showed that knowing a few ratings was enough to pick out a person: three movies identified more than 80% of users, and eight ratings with some errors identified 99% of records, by matching against public reviews on another site. Netflix had even perturbed some ratings and dates, and it did not help.
The consequences were legal. A class action followed, it settled on undisclosed terms, and Netflix cancelled the planned follow-up contest and pulled the original dataset from its research repository.
The lesson holds for any business. A research guide from the University of Groningen, citing ISO 25237:2017, warns that de-identification is not the same as anonymization: a combination of attributes such as height, occupation and location can single someone out even after direct identifiers and the pseudonymization key are gone. A small clinic, a law practice or a regional trucking firm has even fewer people per combination than Netflix did, so "nobody could find out" is a risky assumption.
Which one your product needs
The UK regulator's retail example shows the split well. A retailer shares statistics about shopping patterns with outside consultants after anonymization, while its loyalty card scheme runs on pseudonymization with tokens, separately stored identifiers and data on spending and preferences. In the regulator's framing, anonymization reduces the amount of personal data you hold, while pseudonymization reduces the risks of the personal data you keep.
A simple way to decide, feature by feature:
- Does the feature need to know who the person is? Logins, invoices, bookings, case files and delivery addresses do. Use pseudonymization, access controls and encryption. The data stays personal.
- Does it only need patterns? Dashboards, management reports, investor metrics and product analytics usually do. Aggregate or anonymize, and then delete or never store the raw link.
- Does it need to leave your control? Sharing with a consultant, a researcher or a model provider is where mistakes get expensive. Anonymize properly, or strip identifiers before the data leaves.
- Is an AI model involved? Sending raw customer text to a language model is a data transfer. Removing names and IDs before the prompt is pseudonymization in practice, and I walk through it in a guide to keeping raw PII out of prompts.
A worked example
Say you run a physiotherapy practice and want an app for bookings and treatment notes, plus a monthly report for the owner. The booking and notes screens need names, so patient identifiers live in one table that is encrypted at the field level, and notes reference patients only by a random ID. Staff who write notes see names through the app. The analytics database holds only the random ID, visit counts and treatment categories, and the monthly report shows counts by category and age band, with any group smaller than a handful of people suppressed.
That design is pseudonymized in the live system (still personal data, fully protected) and aggregated in the report (not personal data in the practice's hands). You have used each technique where it fits, and you can explain it to a patient, an auditor or an investor in two sentences.
Keep less to begin with
The cheapest privacy technique is not collecting the field at all. Before you pseudonymize anything, list what you store and why. I wrote a short guide on data minimization for MVPs that follows this approach. If AI is part of the product, the wider picture is in my notes on GDPR for AI features, and a data protection impact assessment template helps you document the decisions.
Building this into a first version
This is where non-technical founders get caught. A prototype built quickly in a no-code or AI app builder tends to store everything in plain tables, with names, emails and notes sitting next to each other and the same keys used everywhere. It works for a demo. It does not survive a security review or a due-diligence question like "how is personal data separated?"
If you are rebuilding a prototype or starting from a spec, ask for these in the first version:
- Identifiers split from content, joined by a random ID.
- Field-level encryption for sensitive values, with keys kept outside the database.
- Separate access rights for people who see names and people who see only patterns.
- A deletion path that actually removes the original, so anonymized data stays anonymized.
- A short written record of which datasets are pseudonymized and which are aggregated.
None of this is exotic. It is ordinary engineering on a plain stack, done early, so the next developer can read it.
Where I can help
I build the first real working version of a product, or rebuild a prototype that has hit a wall, for a fixed price, with you owning the code from the first commit. Builds start from €12,000, and the work is done end to end by me, the senior engineer you speak to, in two to four weeks. If your product handles personal data and you want the separation described above built in from day one, start with the project overview on my site.
My perspective
I see the same pattern again and again: a founder says the data is anonymized because the names are gone. Then I look at the database and find an email address in one column and a user ID that maps to it in another. That is pseudonymized data, and it is fine, as long as everyone says so and protects it that way.
My view is that most small products should not chase anonymization of live data at all. They should pseudonymize what they must keep, collect less, and anonymize only the outputs that leave the building. That is cheaper, easier to explain and much easier to defend.
This is also why I work to a fixed scope and a deliberately boring stack. Separating identifiers, encrypting fields and writing down what is stored are small decisions when they are made in week one. They are expensive decisions when someone else has to untangle them after launch. You own the code from the first commit, and I design it so the next developer can pick it up and see how personal data is handled.
Hanad Kubat
FAQ
What is the main difference between pseudonymization and anonymization?
Pseudonymization replaces identifiers but keeps a separate way to reverse it, so the data remains personal data. Anonymization removes the link so that nobody can identify the person, and the data falls outside EU data protection law. The deciding question is whether anyone could get back to the individual.
Is pseudonymized data still personal data under the GDPR?
Yes. If the data can be attributed to a person using additional information, it stays personal data, even when different parties hold the data and the additional information. The EDPB's January 2025 guidelines confirm this, and add that pseudonymization can help you meet security, minimization and by-design requirements.
Can anonymized data be re-identified?
Poorly anonymized data can. The Netflix case showed that a handful of ratings was enough to single out users once the data was matched against public information. Regulators accept that anonymization is about reducing risk below a threshold, and they expect you to keep the technique effective as technology changes.
Which technique is best for a small business app?
For live features that need to know who the person is, use pseudonymization: random IDs, field-level encryption and separately stored keys. For reports and shared data, use aggregation with small-group suppression. Differential privacy and synthetic data matter more for large datasets released to outsiders.
Sources
- Anonymisation / pseudonymisation, European Data Protection Board
- Pseudonymisation, UK ICO
- Introduction to anonymisation, UK ICO
- Anonymisation and pseudonymisation, Irish Data Protection Commission
- Anonymisation and pseudonymisation, AEPD
- Anonymisation and pseudonymisation, CERN Data Privacy
- EDPB guidelines adopted 16 January 2025
- Reducing identifiability in cross-national perspective, Privacy Commissioner of Canada
- Techniques, De-Identification Handbook v2.0.0
- Anonymization: The imperfect science of using data while preserving privacy
- Protecting Privacy Using k-Anonymity
- Broken Promises of Privacy
- Defining Privacy and Utility in Data Sets, Cardozo faculty articles
- De-identification, anonymization and pseudonymization, University of Groningen
