Skip to content
Until end of January: 90 days free
Legal & privacy

Pseudonymisation: Definition, Examples & Difference from Anonymisation

Pseudonymised data looks anonymous but is not: with extra information it can be linked back to a person. That is why the GDPR still applies to it. Here is how pseudonymisation works, where the line to anonymisation lies and how to use both in a shop.

mystamp editorial teamUpdated: 4 min readAuf Deutsch lesen

Quick answer

Under Article 4(5) GDPR, pseudonymisation means processing personal data so that it can no longer be attributed to a specific person without additional information. That additional information, such as a lookup table, is kept separately and protected. Unlike anonymised data, pseudonymised data remains personal data, so the GDPR still applies – but the risk to individuals is significantly reduced.

Key takeaways

  • Definition: pseudonymisation replaces names and other direct identifiers with codes that can only be resolved using separately stored information.
  • Still covered by the GDPR: pseudonymised data remains personal data; anonymised data does not.
  • Anonymisation is only reached when a person can no longer be identified by means reasonably likely to be used.
  • Benefit: pseudonymisation is a recognised safeguard under Articles 25 and 32 GDPR and lowers the impact of a data breach.
  • In a shop: customer numbers instead of names, separate lists and group-level reports are simple ways to apply it.

Pseudonymisation (Pseudonymisierung) means replacing names and other direct identifiers in a dataset with a code, such as a customer number. The information about which code belongs to which person is kept separately and securely. Without that extra information, nobody can attribute the data to an individual.

The key point in practice: under the GDPR, pseudonymised data is still personal data. Only when re-identification is no longer possible at all do we talk about anonymisation – and only then does the GDPR stop applying.

What is pseudonymisation?

The GDPR defines the term in Article 4(5), roughly as follows: personal data is processed in such a way that it can no longer be attributed to a specific person without the use of additional information, provided that this additional information is kept separately and is subject to technical and organisational measures.

So three elements are involved:

  • Replace: direct identifiers such as name, email or phone number disappear from the working dataset.
  • Separate: the lookup table is stored elsewhere, with different access rights.
  • Protect: only a few people are allowed to make the link.

The GDPR explicitly names pseudonymisation as a safeguard, for instance in Article 25 (privacy by design) and in Article 32 on security of processing.

How pseudonymisation works

A simple process you can apply to a customer list:

  1. Assign a code: each customer gets a random number, e.g. C-4821.
  2. Move the mapping out: a small table saying “C-4821 = Anna Berger, +49 171 …” is password-protected and only accessible to the owner.
  3. Work with codes: reports, stamp history or reward lists contain only the code.
  4. Resolve only when needed: the mapping is used only when necessary, for example to answer a subject access request.

Pseudonymisation vs anonymisation

Pseudonymisation Anonymisation
Link to the person Possible with extra information Not possible by reasonable means
GDPR applies Yes No
Reversible Yes, for authorised people No
Typical example Stamp history under a customer number “42 rewards redeemed in March”
Benefit Lower risk, data stays usable Free analysis without personal reference

Recital 26 GDPR makes clear that, to decide whether someone is identifiable, all means reasonably likely to be used must be considered – including cost, time and available technology.

Example from a shop

A nail studio in Salzburg wants to know which treatments regulars book most often. Before handing the appointment export to her tax advisor or a temp for analysis, the owner replaces names with customer numbers. She keeps the lookup table herself.

The result: the analysis works just as well, but anyone who gets hold of the list cannot tell which client booked which treatment. Finally she summarises the findings (“gel extensions make up 40% of appointments”). That summary is anonymous.

Pros and cons

Pros:

  • Lower risk in a data breach, because lost data reveals little without the mapping
  • Data stays usable for analysis and service
  • A recognised measure that counts in your favour in a risk assessment
  • Supports data minimisation day to day

Cons:

  • GDPR duties remain in place
  • Extra effort for separate storage and permissions
  • Weak methods, such as unsalted hashes of phone numbers, offer little protection

What it means for small shops

You do not need to master cryptography. For most shops, a few habits are enough:

  • Customer numbers instead of names in lists that several people can see
  • Strip names and contact details from exports before sharing them
  • Report at group level where possible, not per person
  • Store contact details only where you genuinely need them

Common pseudonymisation mistakes

  • Mapping in the same file: the customer number is in column A and the name sits on a hidden sheet of the same spreadsheet. That is not separation.
  • Guessable codes: IDs like “ANBE-1987” for Anna Berger, born 1987, are easy to work out.
  • Too many extra attributes: a list with customer number, street, date of birth and job makes the person recognisable despite the number.
  • Wrong expectations: pseudonymised data is not anonymous, so you cannot keep it indefinitely or reuse it for new purposes.
  • Unprotected lookup table: if it sits unencrypted on a shared till computer, the protection is gone.

Even simpler is not collecting data in the first place. A digital stamp card can work without a name: with mystamp, customers scan a QR code and save the card to their wallet, and they need no account or password. Which duties still apply to customer data is covered in our guide to GDPR and customer data, and for Wallet cards specifically in Wallet pass privacy.

Legal position in DACH: in Germany and Austria, the GDPR applies directly. In Switzerland, the revised Federal Act on Data Protection follows the same logic: anything that can be linked to an identifiable person is personal data, while anonymised data falls outside its scope.

Note: this article is general information and not legal advice.

Frequently asked questions

What is the difference between pseudonymisation and anonymisation?

Pseudonymisation replaces direct identifiers with codes, but linking the data back to the person remains possible with additional information. Anonymisation means identification is no longer possible by reasonable means. The consequence: pseudonymised data is still subject to the GDPR, while truly anonymised data falls outside it.

Is pseudonymised data still personal data?

For whoever can make the link, yes. Recital 26 GDPR states that pseudonymised data which could be attributed to a person using additional information should be considered information on an identifiable person. If you hold the lookup table, all GDPR duties apply to you, although the risk is lower.

Is a customer number a form of pseudonymisation?

A customer number can act as a pseudonym if the name is not in the same record and the mapping is stored separately and securely. If the customer number sits right next to the name and phone number in the same spreadsheet, it offers no protection. What matters is keeping the code and the mapping apart.

What pseudonymisation techniques are there?

Common methods include random IDs with a separate lookup table, keyed hashing (such as HMAC) and encrypting individual fields. Plain hashes without a secret key are weak for short values such as phone numbers, because they can be reversed by trying every combination. For small shops, customer numbers and separate lists are usually enough.

When is data truly anonymous?

Data is anonymous when no one can identify a person using means reasonably likely to be used, taking into account cost, time and available technology. Aggregated figures like "42 rewards redeemed in March" are usually anonymous. Individual records containing postcode, date of birth and gender often are not.

Does the same apply in Switzerland?

In principle, yes. Switzerland's revised Federal Act on Data Protection (FADP) follows the same logic as the GDPR: data that can be linked to an identified or identifiable person is personal data, even when stored under a code. Anonymised data falls outside the FADP. In Austria and the Netherlands, the GDPR applies directly.

Sources & further reading

  1. Art. 4 GDPR – Definitions – General Data Protection Regulation
  2. Recital 26 – Not applicable to anonymous data – General Data Protection Regulation
  3. Art. 32 GDPR – Security of processing – General Data Protection Regulation

About this guide

Written by the mystamp editorial team in Mannheim, Germany. We build digital stamp cards for local shops, and our guides bring together what actually works day to day in small businesses. We back numbers and legal statements with sources and update the article when things change.

Published: 1 December 2026 · Updated: 1 December 2026 · Spotted a mistake or have a question? Write to us

Free-forever plan available

Recognise regulars without interrogating them

With mystamp customers scan a QR code and save the card to their wallet – no account, no password. Your dashboard still shows your return rate.

  • Free-forever plan
  • Ready in 10 minutes
  • Back to Free any time – cards stay
  • No app needed

Try the card

Live preview: build your card in 30 seconds.

Café Sonnenschein

now

Fancy a cappuccino? Double stamps today.

Tap the card to collect a stamp

Stamps until the reward
Colour
Logo

Your logo stays on your device and is not uploaded.

Just a preview – you create your real card yourself in 10 minutes.

Even more design options in the dashboard: There you can also customise icons, font colours and background patterns – this preview only shows the basics.

Create this card for free & win regularsCreate this card for free
Launching January 2027

We go live in January 2027

Sign-up isn’t open yet – but you can be first in line. Leave your email and we’ll let you know as soon as we launch.

Your giftAll plans free for 90 days for everyone who signs up now.