Know a company with years of records? Refer it and earn up to $50K
Guide

Anonymization vs pseudonymization: GDPR rules and examples

Anonymization vs pseudonymization under GDPR and UK GDPR: legal definitions, a comparison table, techniques with business examples and re-identification tests.

Pseudonymization
GDPR Article 4(5)Additional information kept separately and protected
Anonymous information
Outside the GDPRRecital 26
EDPB guidelines
01/2025Adopted 16 January 2025 for public consultation
UK starting test
Motivated intruderICO anonymisation guidance
An open loan file with a closing checklist and a house key
Short answer

Pseudonymization replaces the details that identify people, such as names, emails or customer numbers, with codes, while someone keeps the key or lookup table that can link them back. GDPR Article 4(5) requires that additional information to be kept separately and protected. Pseudonymized data is still personal data, so the GDPR keeps applying. Anonymization goes further: Recital 26 puts anonymous information, where people are not or no longer identifiable by any means reasonably likely to be used, outside the GDPR. Removing names is rarely enough on its own. Anonymization usually combines removal with generalization, aggregation or added noise, and the UK ICO recommends testing the result against a "motivated intruder". Deleting the key does not by itself make pseudonymized data anonymous, the EDPB says.

  • Pseudonymized data is still personal data: codes in place of names reduce risk but do not take records outside the GDPR.
  • Data is anonymous only when no one can identify people by means reasonably likely to be used, including by linking it to other data.
  • Masking names alone is not anonymization. Combine techniques, then test a sample as a motivated intruder would.

What is pseudonymization? What is anonymization?

Preparing records for a buyer or a license? Check what they're worth first: a free valuation needs only company-level answers, so no personal data moves.

The GDPR defines pseudonymisation in Article 4(5) as processing personal data so that it "can no longer be attributed to a specific data subject without the use of additional information", provided that information is kept separately and protected by technical and organisational measures. In practice the additional information is usually a secret key or a table matching codes to the identifiers they replaced (EDPB).

The GDPR has no article defining anonymous information. Recital 26 says data protection rules do not apply to it: information that does not relate to an identifiable person, or personal data "rendered anonymous in such a manner that the data subject is not or no longer identifiable". To judge that, it counts all the means reasonably likely to be used, such as singling out, by the controller or anyone else, with regard to cost, time and the technology available.

The UK GDPR uses the same wording (Article 4). The ICO puts the difference simply: anonymization reduces the amount of personal data you hold, while pseudonymization reduces the risks of the personal data you hold. Its own example is a retailer. Customer transactions stripped of names, emails and phone numbers, then aggregated and noised, can go to outside consultants as anonymous data. The same retailer giving each loyalty-card customer a token, with identities stored separately, is pseudonymizing.

Source: GDPR (Regulation (EU) 2016/679) Article 4 as adopted, on legislation.gov.uk

Anonymization vs pseudonymization: the differences

The two are often confused, and the ICO warns that datasets are commonly called anonymized when they are really pseudonymized. The practical differences:

PseudonymizationAnonymization
Legal statusStill personal data; the GDPR and UK GDPR apply (Recital 26)Not personal data, so the GDPR does not apply to the result; the act of anonymizing is itself processing (ICO)
Reversible?Often set up so the original data can be restored by whoever holds the key (EDPB)Should not be reversible: identification must not be reasonably likely by anyone (Article 29 Working Party)
What you keepThe key or lookup table, stored separately with access controlsInside your own organization, nothing that would allow identification; keep that and the data is pseudonymized (ICO)
Typical usesInternal analysis, linking one person's records over time, research, securityPublishing statistics, sharing data outside the company, keeping data at the end of its retention period instead of deleting it (ICO)
Main riskThe key leaks, or details such as role, working hours or length of service point to one person (EDPB)Someone singles out a person, links records to other data or infers facts about someone (Article 29 Working Party)
Duties that remainLawful basis, transparency, security and data subject rightsNone under data protection law for the result, though confidentiality and other laws can still apply
Re-identifying it in the UKAn offence without the controller's consent, subject to defences (ICO)Also an offence where the data was ineffectively anonymized

Source: ICO: Introduction to anonymisation

Is pseudonymized data still personal data when you share it?

This is the question that matters when records go to another company, and the authorities do not give the same answer.

  • The EDPB: pseudonymized data that could be attributed to a person with additional information is personal, and that holds "if pseudonymised data and additional information are not in the hands of the same person". Even if the key is erased, the data counts as anonymous only if the conditions for anonymity are met (Guidelines 01/2025). The guidelines were adopted on 16 January 2025 as a version for public consultation (EDPB).
  • The ICO: pseudonymized data shared without the additional information "may be anonymous information in their hands", judged by asking what the recipient can reasonably do. That approach does not apply when the recipient is your processor or joint controller. A recipient that can re-identify people in data it was told is anonymous must treat it as personal data and tell the provider (ICO).
  • The EU Court of Justice, 4 September 2025 (C-413/23 P, EDPS v SRB): pseudonymised data "must not be regarded as constituting, in all cases and for every person, personal data". The case applied the data protection regulation for EU institutions. For the duty to inform people, the Court held that identifiability is assessed at the time of collection and from the controller's point of view, so that duty applies before any transfer (CJEU press release).

Source: Court of Justice of the EU: press release on Case C-413/23 P, EDPS v SRB (4 September 2025)

How to share pseudonymized data safely

The three views agree on one point: while you hold the key, the records are personal data in your hands. Whether the copy is personal data for the recipient depends on what the recipient can reasonably do with it. These steps help whichever view applies:

  • Have a lawful basis for the disclosure and tell people about it before anything is sent. The Court placed the duty to inform at collection, before any transfer.
  • Never deliver the key or lookup table with the data, and limit who inside the company can use it.
  • Treat indirect identifiers too. A recipient that knows someone's role, team or start date may recognise them without any key.
  • Assess identifiability from the recipient's side and write it down: what other data could it reasonably combine with yours?
  • Ban re-identification and onward disclosure in the contract, and require deletion at the end. See the data licensing agreement guide.

How to anonymize data: techniques with examples

The ICO names two main families of anonymization techniques, generalisation and randomisation, and says masking alone is not anonymization. Pseudonymization techniques are mostly hashing, encryption and tokenisation (ICO). The examples use typical company records:

TechniqueWhat it doesExample in company recordsUsually gives you
TokenizationReplaces an identifier with a random value; a lookup table links the twoCustomer numbers in a ticket export become random tokens; the table stays with youPseudonymized data
Keyed hashingTurns an identifier into a fixed code using a secret keyThe same email address gets the same code in tickets and invoices, so records still linkPseudonymized data. Plain hashes without a secret, and old algorithms such as MD5 and SHA-1, are open to brute-force attacks
EncryptionScrambles an identifier so the key holder can reverse itAccount IDs encrypted so finance can look them up laterPseudonymized data
MaskingDeletes direct identifiers that single someone outNames, emails, phone numbers and signatures removed from ticketsNot anonymization on its own
GeneralizationGroups or rounds values so several people share themExact ages to bands, postcodes to wider areas, dates to month or yearLower singling-out risk; one way to reach k-anonymity
AggregationReports totals for groups instead of individual recordsTickets per product per month; average resolution time by teamCan be anonymous once small groups are combined
Noise and differential privacyAdds small random changes while keeping overall patterns; differential privacy sets how muchMonthly spend per customer shifted by a small random amountLower certainty that a record is one person
Free-text and recording redactionRemoves identifiers from documents and disguises people in audio and videoNames and emails in ticket text; blurred faces in video; disguised or re-recorded voices; precise places and dates changedNeeded for unstructured records, and slow

Source: ICO: How do we ensure anonymisation is effective?

Re-identification risk and the motivated intruder test

Anonymous does not mean impossible to identify. The ICO asks whether the risk of identification is "sufficiently remote", judged by what is reasonably likely rather than any hypothetical chance, and it treats identifiability as a spectrum. Three things can make a record identifiable: singling out one person, linking records across datasets and inferring facts about someone. Pseudonymized data still allows the first two, which is why it is not anonymous (Article 29 Working Party).

The motivated intruder test asks whether a reasonably competent person, with resources such as the internet, libraries and public documents and using investigative techniques such as asking people who know the subject, could identify someone. The ICO lists investigative journalists, estranged partners, stalkers, industrial spies and researchers among the people to imagine.

Company records carry an extra risk: people who already know the subjects. The ICO's example is an employee who works out that an absence statistic relates to a colleague on long-term sick leave. To run the test on a sample:

  • Pick a random sample of the prepared records and try to identify people using only public sources.
  • Repeat as an insider would: could a colleague, customer or partner recognise someone from a role, date, place or unusual event?
  • Check small groups. The ICO cites the NHS standard for publishing health and social care data, which sets k at five for strong anonymization: every record shares its characteristics with at least four others.
  • Write down the result, and review it when the data, the recipient or public sources change. The ICO says to review these assessments periodically.

Source: ICO: How do we ensure anonymisation is effective?

Before any records leave the company

Decide before anything is exported, because the technique depends on the use. Check what the records are worth first: a free valuation takes six questions about the business and no files, so no personal data moves while you decide whether licensing is worth the preparation.

  • List the systems and record types at company level, such as ticketing, CRM, chat, email, code and call recordings, with the years covered. The data inventory template gives the columns.
  • Mark which records name customers, staff or third parties, and which are about the company rather than people, such as procedures, templates and code.
  • Decide whether the use needs records linked over time. If it does, pseudonymize with a keyed hash or random tokens and keep the key. If it does not, anonymize or aggregate.
  • Budget human review for free text and recordings; they are the slow part.
  • If the company is closing, export before cancelling systems: see exporting company records before closing and the closing checklist.

Pseudonymization and de-identification under the CCPA, HIPAA and other laws

Other laws use different words for similar ideas, and their tests differ:

  • California: the CCPA defines "pseudonymize" in almost the same words as the GDPR. It excludes "deidentified" information from personal information only if the business takes reasonable measures against re-identification, publicly commits not to re-identify it and contractually obligates recipients to comply (Civil Code 1798.140).
  • US health data: HIPAA's Safe Harbor and Expert Determination methods are covered in how to de-identify company data before licensing, with the 18 identifiers and a technique table.
  • Australia: information is de-identified where there is no reasonable likelihood of re-identification in the release context, and de-identified information is not personal information under the Privacy Act (OAIC). See the Privacy Act guide.
  • UK: the ICO does not use "de-identified" as a synonym for anonymous, and re-identifying de-identified personal data without the controller's consent is an offence under section 171 of the Data Protection Act 2018 (ICO). The ICO notes its anonymisation guidance is under review after the Data (Use and Access) Act. See licensing company data under UK GDPR.

Source: California Civil Code section 1798.140 (CCPA definitions, including "deidentified" and "pseudonymize")

What this means before you license company records

Buyers of company records usually want the patterns in the work, not the identities of the people in it. That makes the choice between the two techniques a question of what the buyer needs:

  • Pseudonymized copies keep records linked, so a buyer can follow one customer's tickets over time without knowing who the customer is. In your hands they remain personal data, so the lawful basis, notice and transfer rules in GDPR, CCPA and licensing company data still apply.
  • Anonymized or aggregated copies carry the least legal weight but lose detail. Test them before release, as above.
  • Agree in writing who prepares the copy, to what standard, and when any raw or pseudonymized copies are deleted.
  • Public prices for licensed company records are in the deals tracker. For a closed or closing company, see selling company data after closing.

Anonymization and pseudonymization checklist

Before records leave the company:

  • Name the purpose, and whether records must stay linked to one person over time.
  • Remove direct identifiers everywhere, including free text, attachments, metadata and file names.
  • Treat indirect identifiers: role, team, location, dates, working hours and length of service.
  • Pseudonymize with a keyed hash or random tokens, not plain hashes, and store the key separately with access limited.
  • For anything shared outside, generalize, aggregate or add noise until no one stands out.
  • Run a motivated intruder test on a sample, including an insider's view.
  • Document the method, the test result and who approved release, and set a review date.
  • In the contract: no re-identification, no onward disclosure without the same terms, deletion at the end.

Next step

Decide what the records are for before choosing a technique: linked records mean pseudonymization and a lawful basis; statistics and outside copies should be anonymized. You can find out whether licensing is worth that work before preparing anything. Get a free valuation from company-level answers.

Origin Data Partners is independent and is not affiliated with any AI data buyer. We help owners compare buyers and find the best fit for their records. See what your data is worth.

Common questions

What is pseudonymization?

Processing personal data so it can no longer be linked to a specific person without additional information, such as a key or a lookup table, which is kept separately and protected. That is the GDPR Article 4(5) definition. Replacing customer names with random tokens is a common example. Pseudonymized data is still personal data.

What is data anonymization?

Turning personal data into information that no longer relates to an identifiable person, taking account of all the means reasonably likely to be used to identify someone. Anonymous information falls outside the GDPR and UK GDPR. It usually takes several techniques together, such as removing identifiers, generalizing values, aggregating records or adding noise.

Is pseudonymization the same as anonymization?

No. Pseudonymization keeps a way back to the person, such as a key or lookup table, so the data remains personal data and the GDPR applies. Anonymization removes any reasonably likely way to identify people, so the result is outside the GDPR. The ICO warns that datasets are often called anonymized when they are only pseudonymized.

Is pseudonymized data personal data under the GDPR?

Yes, for anyone who can link it back using additional information. The EDPB says it stays personal data even when the key is held by someone else. The ICO says it may be anonymous in the hands of a recipient that cannot re-identify anyone, and in September 2025 the EU Court of Justice held that pseudonymised data is not personal data in all cases and for every person.

Does deleting the key make pseudonymized data anonymous?

Not by itself. The EDPB says that even if all the additional information is erased, the data counts as anonymous only if the conditions for anonymity are met. Indirect details such as role, dates or location can still point to people, so test the data before treating it as anonymous.

Is hashing anonymization?

No. Hashing an identifier is a pseudonymization technique. If the possible inputs are known, such as a list of email addresses, they can be hashed and matched. The ICO advises against hashes without a secret salt, pepper or key and against outdated algorithms such as MD5 and SHA-1.

How do you anonymize data?

Remove direct identifiers, then generalize values such as ages, dates and locations, aggregate records into groups, or add noise, and combine techniques until no one stands out. Free text, recordings and video need redaction by hand or with tools. Then run a motivated intruder test on a sample and document the result.

What is the motivated intruder test?

The ICO's starting test for anonymization. It asks whether a reasonably competent person with access to resources such as the internet, libraries and public documents, and using investigative techniques, could identify someone in the data. Consider insiders too, such as colleagues who already know the people involved.

Sources and further reading

Origin Data Partners is independent and not affiliated with any buyer named on this page.

What is your company’s data worth?

AI companies pay $20K to $5M for company records. Six questions, no files.