- What Is PII?
- What Is PII Pseudonymization?
- Pseudonymization vs Anonymization, Masking, Encryption and Tokenization
- What the Regulations Say in 2027
- Pseudonymization Techniques Compared
- A Worked Example
- How to Pseudonymize PII in an ETL Pipeline
- Common Mistakes
- PII Pseudonymization With Integrate.io
- FAQs
- Conclusion
Updated November 2, 2026.
PII pseudonymization is the process of replacing the values that identify a person, such as a name, email address, Social Security number or customer ID, with artificial identifiers (pseudonyms), while keeping the information needed to reverse the replacement separate and protected. Under the GDPR, pseudonymised data is still personal data, because it can be linked back to an individual with that additional information. What pseudonymization does is cut the risk: a dataset that leaks, or that is shared with an analytics team, a vendor or a research partner, no longer identifies anyone on its own. In 2027 it is the baseline control regulators expect in data pipelines, and it is something an ETL platform can do in flight, before the data ever lands in a warehouse.
Key Takeaways
- Pseudonymization replaces direct identifiers with pseudonyms and keeps the key or lookup table separately. It is reversible by design, which is what separates it from anonymization.
- Pseudonymised data remains personal data under the GDPR (Recital 26). The EDPB's 2025 guidelines and the UK ICO's 2025 guidance both restate this, and the CJEU's September 2025 EDPS v SRB judgment adds that the same dataset may not be personal data for a recipient who has no realistic means of re-identifying anyone.
- The GDPR names pseudonymization as a security measure (Article 32), a data-protection-by-design measure (Article 25) and a safeguard for research (Article 89). It does not make it mandatory, but it does reward it.
- Good techniques use a secret: keyed hashing, encryption with a managed key, or a token vault. Plain unsalted hashing of emails or SSNs is not sufficient, because the input space is small enough to reverse.
- In an ETL pipeline, pseudonymization is a transformation step. Integrate.io provides SHA-256 and SHA-512 hashing, AES encryption and decryption through AWS KMS keys, UUID generation, string masking functions and REST calls to token vaults, so PII is pseudonymized before it reaches the destination.
What Is PII?
Personally identifiable information (PII) is any information that can identify a specific person, either on its own or in combination with other data. Privacy law uses different words for the same idea: the GDPR says "personal data" and defines it as any information relating to an identified or identifiable natural person; HIPAA covers "protected health information" (PHI); the CCPA says "personal information". The practical split that matters for pseudonymization is between two kinds of identifiers:
- Direct identifiers point to one person by themselves: full name, email address, phone number, Social Security or national ID number, passport or driver's license number, account and customer IDs, device IDs, IP addresses, biometric templates, full-face photographs.
- Quasi-identifiers (indirect identifiers) identify a person when combined: date of birth, ZIP or postal code, gender, job title and employer, ethnicity, admission and discharge dates, salary band, vehicle and licence plate numbers.
HIPAA's Safe Harbor method, in 45 CFR 164.514(b), lists 18 identifier categories that must be removed for health data to count as de-identified, including names, geographic units smaller than a state, all date elements other than year, and any other unique identifying number or code. That list is a useful checklist for any PII inventory, not just health data. Our PII checklist walks through the full inventory process, and the CCPA definition of PII covers the California specifics.
What Is PII Pseudonymization?
The GDPR, in Article 4(5), defines pseudonymisation as the processing of personal data in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that the additional information is kept separately and is subject to technical and organisational measures to ensure non-attribution. Three parts of that definition do the work:
- A transformation. Direct identifiers are replaced with pseudonyms: a random ID, a keyed hash, an encrypted value or a token. The rest of the record stays intact and usable, so analysts can still count, join, segment and model.
- Additional information. Whatever reverses the transformation (a secret key, a salt, a lookup table mapping tokens to real values) is the "additional information". The EDPB calls the transformation the pseudonymising transformation and the set of people and systems that must not be able to re-identify anyone the pseudonymisation domain.
- Separation and safeguards. The additional information has to be held apart from the pseudonymised data, under its own access controls. If the key sits in the same database as the data, the data is not pseudonymised in any meaningful sense.
Because the link can be restored by whoever holds the additional information, pseudonymised data is still personal data (GDPR Recital 26), and every GDPR obligation still applies to the controller. The point is risk reduction, not exemption. The same data in the hands of an analyst, a vendor or an attacker who has no access to the key does not identify anyone, which is why Recital 28 describes pseudonymisation as a way to "reduce the risks to the data subjects concerned" and help controllers meet their obligations.
Pseudonymization also keeps something anonymization destroys: the ability to link records about the same person across tables and over time. A consistent pseudonym lets you count unique customers, follow a patient through a study, or join orders to support tickets, all without exposing who the person is.
Pseudonymization vs Anonymization, Masking, Encryption and Tokenization
These terms overlap and are often used loosely. The table separates them by the one question that matters legally: can the original person be recovered, and by whom?
| Technique | What it does | Reversible? | Still personal data? | Typical use |
|---|---|---|---|---|
| Pseudonymization | Replaces direct identifiers with pseudonyms; key or lookup table kept separately | Yes, by whoever holds the additional information | Yes (GDPR Recital 26) | Analytics, research, sharing with processors, test data that must stay linkable |
| Anonymization | Removes or generalizes data so that no one can identify the person by any means reasonably likely to be used | No | No, if genuinely anonymous (Recital 26) | Public statistics, open datasets, aggregate reporting |
| Data masking | Hides part or all of a value (XXX-XX-1234), substitutes fake values, shuffles or nulls fields | Usually no (static); dynamic masking leaves the source intact | Depends on what remains | Test and development environments, screen display |
| Encryption | Transforms a value with a key; deterministic encryption keeps the same output for the same input | Yes, with the key | Yes | Storage and transit protection; deterministic encryption as a pseudonymization method |
| Tokenization | Replaces a value with a random token and stores the mapping in a vault | Yes, through the vault | Yes, for anyone with vault access | Payment card numbers, SSNs, health identifiers |
| Generalization | Reduces precision (age band instead of birth date, region instead of ZIP) | No | Often yes, until combined with other measures | Reducing quasi-identifier risk alongside pseudonymization |
Two practical conclusions follow. First, masking, encryption and tokenization are methods that can implement pseudonymization when the reversing information is separated and controlled. Second, pseudonymization on its own almost never produces anonymous data, because the quasi-identifiers that remain can still single people out. The EDPB adopted separate Guidelines 02/2026 on anonymisation in July 2026 precisely because the two are judged by different tests. Our guides to PII masking and data masking cover the masking side in more depth.
What the Regulations Say in 2027
Pseudonymization moved from a recommended practice to an expected one between 2025 and 2026. The main sources, in plain terms:
- GDPR (EU). Article 4(5) defines it. Article 25(1) names it as an example of data protection by design. Article 32(1)(a) lists "the pseudonymisation and encryption of personal data" first among security measures. Article 89(1) names it as a safeguard for research, statistics and archiving. Article 6(4) treats it as a factor in whether a new purpose is compatible with the original one. Recital 26 confirms pseudonymised data is personal data; Recital 28 explains it reduces risk; Recital 29 allows the same controller to hold the key as long as it is kept separately.
- EDPB Guidelines 01/2025 on pseudonymisation. Adopted for public consultation on January 16, 2025, with the consultation closed in March 2025. The guidelines confirm that pseudonymised data stays personal data even when another party keeps the additional information, introduce the "pseudonymisation domain" concept for assessing who must be prevented from re-identifying people, and set out how pseudonymization supports security, data minimisation, data protection by design and default, purpose compatibility and the legitimate-interest balancing test. The EDPB summary notes that because pseudonymization is a technical and organisational measure, it does not need its own separate legal basis.
- CJEU, EDPS v SRB (C-413/23 P), September 4, 2025. The Court of Justice held that pseudonymised data is not necessarily personal data for every party: for the controller holding the key it always is, but for a recipient with no realistic means of re-identification it may not be. The controller still has to tell data subjects who the recipients are. The judgment makes the quality of your pseudonymization and the separation of the key directly relevant to what your downstream partners are allowed to do.
- UK ICO guidance, March 28, 2025. The ICO's anonymisation and pseudonymisation guidance describes pseudonymisation as techniques such as hashing, encryption and tokenisation that separate identifying details from a dataset, applies the "motivated intruder" test to re-identification risk, and expects DPIAs and staff training as governance measures. It is not a statutory code, but the ICO will take it into account in enforcement.
- CCPA/CPRA (California). Civil Code section 1798.140 defines "pseudonymize" in terms that track the GDPR: processing that makes personal information no longer attributable to a specific consumer without additional information that is kept separately under technical and organizational safeguards. In practice the term appears mainly in the research provisions.
- HIPAA (US health data). HIPAA does not use the word pseudonymization. Its de-identification standard in 45 CFR 164.514(b) offers Safe Harbor (remove 18 identifier categories) and Expert Determination (a documented expert finding that re-identification risk is very small). Section 164.514(c) lets a covered entity keep a re-identification code, provided it is not derived from the person's information and is not disclosed. That re-identification code is pseudonymization in all but name.
- NIST SP 800-188 (September 2023). NIST's guidance on de-identifying government datasets covers pseudonymization alongside direct and quasi-identifiers, k-anonymity, differential privacy and synthetic data, and warns about the limits of traditional de-identification compared with formal privacy methods.
Our guide to PII data privacy compliance covers the broader obligations around each regulation.
Pseudonymization Techniques Compared
The techniques differ in whether the pseudonym is consistent (the same input always gives the same pseudonym, which preserves joins), whether it is format-preserving, and how the additional information is stored.
| Technique | How it works | Consistent pseudonym? | Additional information | Notes |
|---|---|---|---|---|
| Random ID with lookup table | Assign a random identifier (for example a UUID) per person and store the mapping in a separate table | Yes, via the table | The lookup table | Simple and strong; the table becomes the crown jewel and must be isolated |
| Counter | Sequential numbers assigned per person | Yes | The mapping table | Avoid when order reveals something (signup sequence, admission order) |
| Keyed hash (HMAC or salted hash) | Hash the identifier together with a secret key or salt | Yes | The key or salt | No table to store; rotate the key to re-pseudonymize; the ICO lists hashing among pseudonymisation techniques, and both the ICO and the EDPB expect the secret to be protected and kept separate |
| Unkeyed hash (plain SHA-256) | Hash the identifier with no secret | Yes | None, which is the problem | Emails, phone numbers and SSNs can be reversed by hashing every candidate value; treat as weak pseudonymization at best |
| Deterministic encryption | Encrypt the identifier with a managed key so equal inputs produce equal outputs | Yes | The encryption key | Reversible by authorized services; manage keys in a KMS with access logging |
| Format-preserving encryption (FPE) | Encrypt while keeping length and character set (a 16-digit number stays a 16-digit number); NIST SP 800-38G defines the FF1 mode | Yes | The key | Useful when downstream systems validate formats |
| Tokenization with a vault | Replace the value with a random token; the vault stores the mapping and controls detokenization | Yes | The vault | Standard for card numbers and SSNs; detokenization is an audited API call |
| Partial masking | Keep a fragment (last four digits) and replace the rest | Not unique | None | Good for display and support use cases; not a pseudonym on its own |
For most data teams the right default is a keyed hash or deterministic encryption for identifiers that need to stay joinable, tokenization for the highest-risk fields (SSNs, card numbers, health record numbers), and generalization for quasi-identifiers such as birth date and postal code. See 6 steps to pseudonymize PII for a method-selection walkthrough.
A Worked Example
A customer record before pseudonymization:
customer_id: 48213
name: Maria Lopez
email: maria.lopez@example.com
ssn: 123-45-6789
date_of_birth: 1988-04-17
zip: 94107
plan: Pro
mrr: 249
The same record after a pipeline applies a keyed hash to the customer ID and email, tokenizes the SSN through a vault, generalizes the quasi-identifiers and drops the name:
customer_key: 9f2c1b0e7a... (SHA-256 of secret_salt + customer_id)
email_key: 3e8d44a1c0... (SHA-256 of secret_salt + lowercased email)
ssn_token: tok_7Hq2mP9x (vault token; detokenize requires vault access)
birth_year: 1988
zip3: 941
plan: Pro
mrr: 249
The analytics team can still count customers, join this table to orders and support tickets through the same keys, and model churn by plan and tenure. Nobody in that team can tell who Maria is. The salt lives in the pipeline's secret variables, the vault's detokenization API is restricted to the customer-service application, and both are logged. That is a pseudonymisation domain in the EDPB's sense: the warehouse users are inside it, the pipeline and the vault are outside it.
How to Pseudonymize PII in an ETL Pipeline
The reason to do this in the pipeline, rather than in the destination, is that the raw identifiers then never land in the warehouse, the BI tool or the exported file. Six steps cover it:
- Classify the fields. Profile each source and tag every column as a direct identifier, a quasi-identifier or non-identifying. Include free-text fields, which often contain names and emails, and nested JSON from SaaS APIs.
- Define the pseudonymisation domain. Decide who must not be able to re-identify anyone: the analytics team, a vendor, a research partner, an offshore support desk. The answer determines how strong the method has to be and where the additional information may live.
- Choose the method per field. Keyed hash or deterministic encryption for IDs and emails that need to stay joinable; tokenization for SSNs, card numbers and medical record numbers; generalization for dates and postal codes; removal for anything nobody downstream actually needs.
- Transform in flight. Apply the functions in the pipeline's transformation step, so the destination only ever receives pseudonymised values. Keep keys and salts in the pipeline's secret variables or a key management service, never in the dataflow definition or the destination.
- Separate and control the additional information. Put lookup tables and vaults in their own system with their own access policy, log every re-identification, and define who may request one and why. Rotate keys on a schedule and when staff with access leave.
- Document and monitor. Record the method, the domain and the safeguards in your DPIA or privacy documentation (the ICO and EDPB both expect this), alert on pipeline failures that could let raw values through, and re-test re-identification risk when new fields or new recipients are added.
Our article on handling governance and PII in no-code ETL goes deeper on steps 1 and 6.
Common Mistakes
- Unsalted hashes of low-entropy fields. SHA-256 of an email address or a nine-digit SSN can be reversed by hashing every plausible input. Add a secret salt or use HMAC, and keep the secret out of the data store.
- Keeping the key next to the data. A mapping table in the same warehouse schema, or a salt in the dataflow definition, means anyone with warehouse access can re-identify. That fails the "kept separately" part of Article 4(5).
- Pseudonymizing direct identifiers and ignoring quasi-identifiers. Birth date plus ZIP plus gender identifies a large share of people on their own. Generalize or suppress them.
- Treating pseudonymised data as anonymous. It is still personal data for anyone who can reach the key, so retention limits, access requests and breach rules still apply.
- No re-identification procedure. If nobody has defined who may reverse the pseudonym and how it is logged, the first support escalation will be done by copying the lookup table into a spreadsheet.
- Inconsistent pseudonyms across sources. If the CRM pipeline and the billing pipeline hash the same email with different salts or different normalization (case, whitespace), the keys will not join. Standardize the normalization and the secret across pipelines.
- Pseudonymizing after landing. If raw PII lands in the warehouse and is pseudonymized by a nightly job, the raw copy exists for hours and often lives on in snapshots and backups. Transform before the load.
The companion article on mistakes to avoid when handling PII covers the organizational side.
PII Pseudonymization With Integrate.io
Integrate.io is a low-code data pipeline platform that applies pseudonymization as a transformation step, so PII is hashed, encrypted, tokenized, masked or removed in flight and only the protected values reach the warehouse, the file drop or the operational system. The functions are built into the ETL function reference and used inside the Select transformation with no custom code:
- Hashing: SHA256, SHA384, SHA512, SHA1 and MD5 functions. Concatenate a secret salt stored as a package secret variable with the normalized value to produce a keyed, consistent pseudonym that joins across pipelines.
- Encryption and decryption: the Encrypt and Decrypt functions AES-encrypt and decrypt a field using an AWS KMS key ARN and an encryption context, so the key never leaves KMS and every use is logged by AWS. This gives deterministic, reversible pseudonyms for authorized services.
- Random identifiers: the UUID function generates a universally unique identifier per record for lookup-table pseudonymization.
- Masking and generalization: SUBSTRING, REPLACE, the REGEX_EXTRACT family and the date functions handle partial masking (last four digits), truncation (ZIP to ZIP3) and generalization (birth date to year).
- Tokenization through a vault: the Curl and CCurl functions call a token vault's REST API from inside the pipeline and JsonExtractScalar pulls the token from the response. Our step-by-step tutorial tokenizes SSNs in a CSV from SFTP with Piiano Vault using exactly this pattern, with the API key held in secret variables and the package scheduled daily.
- Removal: fields nobody downstream needs are dropped in the Select transformation, which is the simplest pseudonymization of all.
The platform side matches the pipeline side. Integrate.io does not store customer data: it moves and transforms data between your systems, encrypted in transit and at rest, and temporary copy and unload data is deleted automatically within 24 hours. The company undergoes an annual SOC 2 audit and third-party penetration test, signs HIPAA Business Associate Agreements, signs GDPR data processing agreements and can process all data in its European data center in Ireland, and supports 2FA, SSO and role-based access control. Connectivity options include direct connection, SSH tunnel, reverse SSH tunnel and AWS PrivateLink with IP allowlisting. Field-level encryption, hashing, masking and removal functions are supported directly in transformation workflows. Details are on the security page.
Beyond pseudonymization, the same pipelines handle the rest of the job: 150+ connectors plus a universal REST API connector for the sources where PII lives (Salesforce, HubSpot, NetSuite, databases, SaaS APIs, SFTP and cloud storage), 220+ transformation components with SQL and Python when needed, change data capture as often as every 60 seconds for replication that keeps pseudonymization applied on every change, reverse ETL for pushing pseudonymised segments back to operational tools, and alerts by email, Slack, Microsoft Teams, PagerDuty or webhook when a job fails. Healthcare teams can see the HIPAA-ready pipeline use case, and the PII and PHI transformations guide shows the substitution, nulling and encryption patterns in practice. Pricing is a flat $1,999 a month for unlimited data, with a 14-day free trial and a 30-day onboarding program with a Solution Engineer.
FAQs
What is pseudonymization in simple terms?
Pseudonymization swaps the parts of a record that identify a person (name, email, ID number) for stand-in values, and keeps the information needed to swap them back somewhere separate and locked down. The data stays useful for analysis and can be linked back to the person by authorized people, but it does not identify anyone on its own.
Is pseudonymised data still personal data under the GDPR?
Yes. Recital 26 says personal data that has undergone pseudonymisation, and could be attributed to a person by using additional information, is still information about an identifiable person. The EDPB's 2025 guidelines restate this, including when a different party holds the additional information. The CJEU's EDPS v SRB judgment of September 2025 added that for a recipient who has no realistic means of re-identification, the same data may not be personal data, but the controller's obligations are unchanged.
What is the difference between pseudonymization and anonymization?
Pseudonymization is reversible by whoever holds the key or lookup table, so the data remains personal data. Anonymization removes identifiability by any means reasonably likely to be used, is irreversible, and takes the data outside the GDPR. Most "anonymized" datasets in practice are pseudonymised, because quasi-identifiers remain.
Is hashing the same as pseudonymization?
Hashing is one way to pseudonymize, but only if it uses a secret. A plain SHA-256 of an email address can be reversed by hashing candidate addresses, so regulators treat unkeyed hashes of low-entropy identifiers as weak. A keyed hash (HMAC) or a hash with a secret salt, with the secret stored separately, is an accepted pseudonymization technique.
Does the GDPR require pseudonymization?
No. The GDPR names it as an example of appropriate measures under Articles 25 and 32 and as a safeguard for research under Article 89, and the EDPB notes it is not always required. Choosing it strengthens your position on security, data minimisation, purpose compatibility and legitimate interest, and it reduces the severity of a breach.
Does HIPAA recognize pseudonymization?
Not by that name. HIPAA's de-identification standard (45 CFR 164.514) uses Safe Harbor and Expert Determination, and section 164.514(c) allows a covered entity to assign a re-identification code that is not derived from the person's information and is not disclosed. That code is functionally a pseudonym, and the data remains PHI until de-identified.
What are the EDPB pseudonymisation guidelines?
Guidelines 01/2025 on pseudonymisation, adopted by the European Data Protection Board for public consultation on January 16, 2025. They explain when pseudonymisation helps meet GDPR obligations, introduce the "pseudonymisation domain" concept, describe technical and organisational safeguards for the additional information, and include worked examples. A separate set, Guidelines 02/2026 on anonymisation, was adopted for consultation on July 7, 2026.
Can you give a pseudonymization example?
A hospital replaces each patient's medical record number with a random study ID and keeps the mapping in a trust center that researchers cannot access. Researchers analyze outcomes by study ID; if a result requires contacting a patient, the trust center reverses the pseudonym and the hospital makes contact. The EDPB uses a version of this example in its guidelines.
Related Guides
- Pseudonymization (glossary definition)
- 6 Steps to Pseudonymize PII
- What Is PII Masking and How Can You Use It?
- 5 Reasons You Should Mask PII
- The Ultimate PII Checklist
- 5 Steps to Prevent PII Data Breaches
- A Guide to Data Privacy and Data Protection
- How to Process and Tokenize Sensitive CSV Data
- Using Expressions in Integrate.io ETL (docs)
- Data Transformation on Integrate.io
Conclusion
PII pseudonymization is the practical middle ground between storing raw identifiers everywhere and anonymizing data into uselessness. Done properly, with a secret-based technique, the additional information kept separately and the quasi-identifiers generalized, it lets analytics, research and vendor workflows run on data that identifies no one, while the regulators' tests in the GDPR, the EDPB guidelines, the ICO guidance and HIPAA are met. The most reliable place to apply it is the pipeline, so that raw PII never lands downstream.
Integrate.io builds the hashing, KMS encryption, tokenization calls and masking into the transformation step, on a platform that stores no customer data and signs HIPAA and GDPR agreements. Book a demo or start the 14-day free trial to pseudonymize your first pipeline.