Pseudonymization mapping table: the GDPR rules in practice
The mapping table links each pseudonym, such as [PERSONNE_1], to the name it replaces. The GDPR requires it to be kept separately from the pseudonymized data and protected: without that separation, there is no pseudonymization. In practice, it never travels with the copy, it stays encrypted on your side, only the people on the matter can open it, and it is deleted once no name needs to come back.
What is a mapping table?
Pseudonymizing a document means replacing whatever identifies a person with a substitute: “Élise Garnier” becomes [PERSONNE_1], “Garnier Immobilier SAS” becomes [ORGANISATION_1]. The mapping table, sometimes called a lookup table or correspondence table, keeps the link between the two:
| Pseudonym | Original value |
|---|---|
| [PERSONNE_1] | Élise Garnier |
| [ORGANISATION_1] | Garnier Immobilier SAS |
| [EMAIL_1] | e.garnier@example.com |
The table is what makes pseudonymization reversible: with it, you can put the real names back into an AI's answer, or find out who is behind a label. It is also the most sensitive file in the matter, since it gathers every name in one place. The examples above are fictitious.
When you pseudonymize a document before sending it to an AI tool, you almost always use a table rather than an encryption key. If the difference between pseudonymization and anonymization is unclear, start with anonymization vs. pseudonymization under the GDPR.
What does the GDPR say about the mapping table?
The word “table” does not appear, but the definition depends on it entirely. Article 4(5) defines pseudonymization 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 such additional information is kept separately and is subject to technical and organisational measures to ensure that the personal data are not attributed to an identified or identifiable natural person”.
Three practical consequences:
- No separation, no pseudonymization. A copy that travels with its table, or a table pasted into the same conversation as the copy, does not meet the “kept separately” condition.
- The copy is still personal data. Recital 26 says so: pseudonymized data that could be attributed to a person using additional information relate to an identifiable person. The GDPR still applies, but the risk is lower.
- The table is a security matter. Article 32 lists “the pseudonymisation and encryption of personal data” among the measures appropriate to the risk, together with the ability to “restore the availability” of data after an incident. Both apply to the table: protect it, and don't lose it.
Article 34 gives one more reason to encrypt: after a personal data breach, each data subject need not be notified when measures have rendered the data “unintelligible to any person who is not authorised to access it, such as encryption”. A table stolen in plain text, on the other hand, exposes every client in the matter at once.
What does the EDPB recommend? The pseudonymization domain
The European Data Protection Board (EDPB) adopted its Guidelines 01/2025 on pseudonymisation on January 16, 2025, and put them out for public consultation until March 14, 2025. As of this writing, the EDPB website only publishes that consultation version. Four points apply directly to the mapping table.
1. The table is a pseudonymization secret, and personal data. The EDPB calls keys and “tables matching pseudonyms with the personal data they replace” “pseudonymisation secrets” (paragraph 85). It draws the consequence: lookup tables “are personal data since they allow the identification of data subjects” and must be protected from unauthorized access and use (paragraph 93). The original documents you keep are also part of the additional information that must be kept separate (footnote 21).
2. The pseudonymization domain. This is the context in which pseudonymization must prevent people from being identified: the people operating in it, their means, their systems (paragraph 35). The controller defines it, for example “a single external recipient” or all intended recipients (paragraph 38). It must then ensure that additional information “does not enter” that domain and that pseudonymized data does not leave it without authorization (paragraphs 40 and 111).
For a firm that sends a copy to an AI tool, the domain includes at least the AI provider and its systems. The rule becomes very concrete: nothing that can lift the pseudonyms may go into the conversation, the project, the custom instructions or the files uploaded to the tool.
3. Randomly generated pseudonyms. With a lookup table, “it suffices to choose randomly generated pseudonyms” (paragraph 107). A pseudonym must not be derivable from the original value: no initials, no fragment of a name, no plain hash of a predictable identifier (the New York taxi case is described in our article on re-identification risk).
4. Tables as small as possible. The EDPB distinguishes pseudonyms that follow a person everywhere, which carry more risk, from those valid only for one relationship or one transaction. It asks controllers to define the sets of consistently pseudonymized data “as small as possible” (paragraphs 116 to 121). For a firm, that argues for one table per matter rather than a single table for all clients: a leak exposes only one matter, and two files cannot be linked through their labels.
What does the SRB ruling change?
On September 4, 2025, in Case C-413/23 P, EDPS v SRB (the Single Resolution Board), the Court of Justice ruled on the transfer of pseudonymized comments to Deloitte. The judgment interprets Regulation 2018/1725, which applies to EU institutions, but its definitions mirror the GDPR's. The Court set aside the General Court's judgment and referred the case back to it.
Two lessons matter for the mapping table:
- The recipient's perspective counts. Pseudonymized data “must not be regarded as constituting, in all cases and for every person, personal data”, because pseudonymization may prevent persons other than the controller from identifying the data subject (paragraph 86). That only holds if the recipient has no access to the table or to other reasonable means of re-identification.
- Nothing changes for the firm. Whoever holds the table is still processing personal data. For the duty to inform, the Court held that identifiability must be assessed “at the time of collection of the data and from the point of view of the controller” (paragraph 111).
The EDPB adds a useful point in its Guidelines 02/2026 on anonymisation, adopted on July 7, 2026 for public consultation: when an entity processes data on behalf of a controller, whether the data is personal is assessed from that controller's perspective, and the entity is a processor (paragraph 15). In short, the SRB ruling is no reason to skip the data processing agreement with the AI provider: pseudonymization reduces the risk, it does not replace the contract. On that contract, see ChatGPT and GDPR: can you put client data into it?
What does the CNIL recommend?
The CNIL set out its expectations for the mapping table in its guidance on anonymization and pseudonymization (January 13, 2022, in French). Written for scientific research, it applies as is to a client file (our translations):
- The confidentiality of the elements “(mapping table, ‘salt’, encryption key, etc.)” must be ensured by appropriate technical and organizational measures.
- This information should be accessible “only by authorized persons and under conditions specified in advance”. The CNIL's example: the head of a research project has access, but not the research staff working alongside them.
- An encryption key must be “stored securely and accessible only to authorized persons”, with a “state-of-the-art” encryption method.
- When there is no longer any need to go back to people's identities, this information may be deleted, bearing in mind that the remaining data may still allow indirect identification.
For French lawyers, the AI guide of the Conseil national des barreaux (CNB, the national bar council, April 2026) recommends “systematically” pseudonymizing or anonymizing before any use of generative AI and being mindful of indirect identification through cross-referencing. In its checklist for evaluating AI tools, it also expects client data to be encrypted at rest “with a sufficient encryption algorithm, such as AES-256”, with the key held and managed by the firm (page 26).
What practical rules should a firm follow?
Here are eight rules that translate these texts for a law firm, a notary office or an in-house legal team that sends pseudonymized copies to an AI tool.
| Question | Rule | Basis |
|---|---|---|
| Where to store it? | On the firm's computer or server, outside any folder shared with outsiders or synced to a personal cloud. Never in the AI tool: not in a conversation, a project, custom instructions or an attachment. | GDPR, Art. 4(5); EDPB 01/2025, paras. 40 and 111 |
| Who can open it? | Only the people working on the matter, with a password-protected session and a screen that locks. No shared accounts. | CNIL guidance of January 13, 2022; EDPB 01/2025, para. 109 |
| Should it be encrypted? | Yes, with a recognized algorithm (AES, for example) and a key stored separately, ideally in the system keychain. Turn on full-disk encryption too (FileVault, BitLocker). | GDPR, Arts. 32 and 34; CNIL |
| One table or several? | One table per matter. Two matters must not share labels, and a leak should expose only one matter. | EDPB 01/2025, paras. 116 to 121 |
| Which pseudonyms? | Neutral, numbered labels ([PERSONNE_1]), never initials or name fragments: the label travels with the copy. | EDPB 01/2025, para. 107 |
| How long to keep it? | As long as an AI answer still needs real names, and at most the retention period of the file. Record that period in your record of processing activities. | GDPR, Art. 5(1)(e) and Art. 30 |
| What about backups? | A lost table makes re-identification impossible, so a backup is legitimate, but it is one more copy to protect: encrypted, on a medium the firm controls, with the same lifetime as the original. | GDPR, Art. 32(1)(a) and (c) |
| How to delete it? | Delete it with the matter, including its copies (backups, exports, old versions). If it was encrypted, a forgotten copy stays unreadable without the key. | GDPR, Art. 5(1)(e); CNIL |
If your computer is backed up in full (Time Machine, a backup run by IT), the table is copied along with everything else, and deleting a matter does not remove those older copies: your backup rotation decides how long they live. That is one more reason to keep the table encrypted.
What happens when you delete the table?
Three things happen, and only one of them is usually expected.
- Re-identification becomes impossible. Nothing can replace [PERSONNE_1] with the real name in an AI answer anymore.
- The copy does not become anonymous. The CNIL is clear: once that information is deleted, “the remaining data may still allow people to be identified indirectly and then remain subject to the GDPR” (our translation). A docket number, a hearing date or an amount to the cent still points to the matter. And as long as the firm keeps the originals, it can always link the copy back to the people: for the firm, it remains personal data.
- Copies already sent do not come back. Deleting the table removes nothing on the AI provider's side: the conversation, uploaded files and how long they are kept depend on its terms and your settings. The table protects the copy; it cannot recall it.
Conversely, losing the table by accident (a failed drive, a replaced computer without a transfer) has the same effect as deleting it: past exports can no longer be re-identified. So decide in advance, in writing, how long the table should live, and either back it up or accept losing it. For the full method, from the copy to the answer, see pseudonymize a document for AI, then put the real names back.
How AnonymFiles handles the mapping table
AnonymFiles applies these rules by design. What follows is described in its technical documentation and on its security page:
- One table per folder, on the computer. Each prepared folder has its own private workspace in the user folder (on a Mac, under ~/Library/Application Support, with permissions restricted to your account; on Windows, under %APPDATA%). The same person keeps the same label across every document in the folder, and labels can be renamed.
- Encrypted. Mappings are encrypted at rest with AES-256-GCM, using a 256-bit key created on the computer and protected by the operating system's keychain.
- Never in the export. The export contains the reviewed copies and an index of documents, never the table. Nothing goes to the publisher: no account, no cloud, no telemetry.
- Re-identification on the computer. The AI's answer comes back with its labels, and the app puts the real names back on your machine, as text, Word or PDF.
- Deleted with the folder. Removing a folder from the library deletes its private workspace after confirmation: copies, mappings, search index and rules. The originals are never touched. Exports from that folder can then no longer be re-identified.
Because the app sends neither documents nor tables to its publisher, no data processing agreement is needed for the pseudonymization step itself; the one with your AI provider is still needed. Two honest limits: the table is only as safe as your session (password, screen lock), and the app does not manage your computer's backups for you. The step-by-step workflow is described in how AnonymFiles works; for firms, see also pseudonymization software for lawyers and pricing.
Frequently asked questions
What is a mapping table in pseudonymization?
It is the table that links each pseudonym to the value it replaces, for example [PERSONNE_1] = Élise Garnier. Under Article 4(5) of the GDPR, it is part of the “additional information” that makes it possible to attribute the data to a person again, and it must be kept separately and protected.
Is the mapping table personal data?
Yes. The EDPB says so explicitly in its Guidelines 01/2025: a lookup table allows data subjects to be identified, so it is personal data and must be protected from unauthorized access and use. It is even more sensitive than the pseudonymized copy, since it brings all the names together.
Where should the mapping table be stored?
Outside everything that goes to the recipient of the pseudonymized data: never in the AI conversation, never as an attachment, never in a folder shared or synced with outsiders. The simplest option is to keep it encrypted on the firm's computer or server, with access limited to the people working on the matter.
How long should the mapping table be kept?
For as long as you need to put the real names back, and no longer: Article 5 of the GDPR limits storage in identifiable form to what is necessary. In practice, it follows the retention period of the file itself, or is deleted earlier once no AI answer still needs to be re-identified.
Does deleting the mapping table make the data anonymous?
Not necessarily. The CNIL points out that the remaining data may still allow indirect identification and then remain subject to the GDPR. And as long as the firm keeps the original documents, it can still link the copy to the people. Deleting the table mainly removes the ability to put the real names back.
Does the SRB ruling mean the pseudonymized copy is no longer personal data?
Not for the firm. In Case C-413/23 P of September 4, 2025, the Court of Justice accepted that pseudonymized data are not personal data in all cases and for every person. But for whoever holds the mapping table, they still are, and the duty to inform is assessed from the controller's point of view, at the time of collection.
Where does AnonymFiles keep the mapping table?
On the computer, in the app's private workspace, encrypted with AES-256-GCM using a key protected by the operating system's keychain. It is never included in the export and is used to put the real names back into the AI's answer, on the computer. Removing the folder from the library deletes it, after which re-identification is no longer possible.