Home › Blog › Pseudonymization or redaction

Pseudonymization or redaction: what's the difference, and which should you choose?

Pseudonymization replaces each name with a stable label, [PERSONNE_1], and keeps a separate mapping table that lets you put the real names back: it is reversible for whoever holds the table. Redaction permanently removes the information from the document you share: nobody can restore it from the file. Choose pseudonymization when you need the result back with the real names, typically after working with an AI; choose redaction when the document goes to a third party, is published, or is released under a freedom-of-information request.

Published · 10 min read

What is the difference between pseudonymization and redaction?

The difference shows after sharing. With pseudonymization you can go back: a table links each label to the real value, and whoever holds it can restore everything. With redaction you can't: the information is gone from the document, and the recipient has no key.

The same sentence, three ways:

Both techniques hide the same information. What changes is whether it can be recovered, and therefore what each is for.

What do the texts say about pseudonymization and redaction?

Pseudonymization is defined by the GDPR. Article 4(5) describes it as processing 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 protected by technical and organizational measures. That additional information is the mapping table. Recital 26 draws the consequence: pseudonymized data that can be attributed to a person using that information is still personal data.

Redaction has no GDPR definition. French law calls it "occultation". Article L311-7 of the French Code of Relations between the Public and the Administration (CRPA) provides that when an administrative document contains non-disclosable details that can be redacted or separated out, the document is released to the requester after that redaction or separation. The details at stake include those that would infringe privacy (Article L311-6).

Anonymization is a third concept. It requires that the person no longer be identifiable at all, by any reasonable means: the data then falls outside the GDPR (Recital 26). A redacted document is not automatically anonymous: if a unique job title or a precise date remains, the person may be recognized. More: anonymization vs pseudonymization under the GDPR.

Reversible or final: what role does the mapping table play?

Everything rests on it. The mapping table ("[PERSONNE_1] = Claire Vasseur") is what makes pseudonymization reversible. The GDPR requires it to be kept separately and protected; the European Data Protection Board (EDPB) devotes its Guidelines 01/2025 on pseudonymization, adopted January 16, 2025, to the subject. Three practical consequences:

Redaction has no table: that is its strength for a document going out, and its limit for work you want to pick up again. You still need to keep the original intact, separately. On keeping and protecting the table: the pseudonymization mapping table under the GDPR.

When should you redact?

Whenever the document leaves your control and the recipient has no need to know the hidden information:

In every case, the technical requirement is the same: the text must actually be removed from the file, metadata included. A black box drawn in a PDF editor leaves the text underneath, readable with a simple copy and paste: see why black boxes fail as PDF redaction and how to check an anonymized PDF.

When should you pseudonymize?

Whenever you need the result back with the real information:

With an AI, pseudonymization has a second, often underrated advantage: it keeps the text meaningful. If every name becomes the same black box or the same "[XXX]", the AI no longer knows who did what, and its answer becomes useless. Stable labels, where the same person stays [PERSONNE_1] across all documents, let it reason about the file without knowing anyone.

Pseudonymization or redaction: the comparison table

CriterionPseudonymizationRedaction
What replaces the informationA stable label ([PERSONNE_1], [EMAIL_2]) or a fictitious nameA black box, possibly labeled, or nothing
Reversible?Yes, for whoever holds the mapping tableNo, from the shared file
GDPR statusPersonal data for the table holder (Recital 26)Data removed from the file; the rest of the text may still identify someone
Usefulness for an AIGood: each person stays distinct and consistentPoor if every name becomes the same box
Typical useWorking with an AI, then restoring; internal analysisSending to a third party, publication, FOI request, subject access request
What to protectThe table, kept separately and encryptedThe original, kept separately
Common pitfallSending the table with the copy, or leaving it in the same shared folderA black box over text that is still underneath

Which mistakes should you avoid?

  1. Believing a pseudonymized copy is anonymous. It isn't for you, and it may not be for the recipient if the text keeps details that point to someone. See re-identification risk.
  2. Sending a third party a copy meant for an AI. It contains labels and sometimes a return reference: for a third party, use a properly redacted document in its original layout.
  3. Redacting what you will send to the AI. You lose who-is-who and the ability to put the names back into the answer.
  4. Forgetting metadata. Author, comments, tracked changes in Word, PDF properties: see remove PDF metadata.
  5. Skipping review. No automatic detection is exhaustive, whichever technique you choose.

The two techniques are often combined on the same file: pseudonymize to prepare a memo with the AI, restore the real names, then redact the final version before sending it to the other side or publishing it.

What does AnonymFiles do in each mode?

From the home screen, the app asks what you want to do: prepare documents for an AI, redact a document to send or redact a text to paste. Detection and side-by-side review are the same; the export is what changes.

"For an AI" (pseudonymization)"To send to someone" (redaction)
What you getLabeled copies, an instruction for the AI and a return key; or "Copy for the AI", with nothing written to diskOne redacted PDF, Word or Excel file per document, same layout, named "… – redacted", with the processing report as an option
Going backRestoring puts the real names back into the AI's answer, as text, Word or PDF, on the computerImpossible for the recipient: masked text is deleted from the file, not covered
Mapping tableEncrypted (AES-256-GCM), on the computer, never in the exportNever in the shared files, which contain no instruction or index
OptionsFictitious names instead of labels, renamable labels and roles ([CLIENT_1])Distribution watermark with your own text, and a tracking code per recipient

In both cases, each file is reread before release: if an original value is still there (text, invisible layer, metadata), the export is cancelled. Exported files carry neither the software's name nor its logo. The local AI connector follows the same split: the "caviarder_document" tool writes a final copy without keeping any mapping, while "pseudonymiser_document" keeps the encrypted mapping for restoring; see the MCP anonymization connector.

Everything happens on the computer, with no account and no telemetry: PDFs (scans included, through local OCR), Word, emails, Excel, PowerPoint, images and text, in an interface available in English and French. Pricing: €290 excl. VAT per seat per year, 14-day trial (pricing). For local authorities and public bodies: AnonymFiles for the public sector; the terms used here are defined in the glossary.

Frequently asked questions

What is the difference between pseudonymization and redaction?

Pseudonymization replaces identifiers with labels and keeps a separate table that can restore them: it is reversible for whoever holds the table. Redaction permanently removes the information from the shared document: nobody can restore it from the file.

Is pseudonymized data still personal data?

Yes, for whoever holds the mapping table or another reasonable means of re-identification, as Recital 26 of the GDPR provides. The Court of Justice clarified in case C-413/23 P, decided on September 4, 2025, that this is not necessarily so for a recipient who has no means of linking the data to a person.

Is a redacted document anonymous?

Not automatically. Redaction removes the masked information, but the rest of the text may still make someone recognizable: a unique job title, a precise date, a small town. Anonymization requires that no reasonable means allow identification any longer.

Should you pseudonymize or redact before sending a document to ChatGPT?

Pseudonymize. Stable labels keep the text meaningful, the AI can tell each person apart, and the mapping table lets you put the real names back into its answer on your computer. Redacting with identical black boxes would make the AI's answer hard to use.

What should a French public body do with a CADA request?

Redact, which the CRPA calls occultation: Article L311-7 provides that the document is released after redaction or separation of the non-disclosable details, including those that would infringe privacy. The CADA only accepts a full refusal when redaction would make the document unintelligible or of no interest.

Is a black box in a PDF redaction?

No, if it is only drawn over the text. The text stays in the file and can be found with a copy and paste or a search. Real redaction deletes the text, the images under the area and the metadata.

Can you do both on the same file?

Yes, and it is common: pseudonymize to work with the AI, restore the real names in the result, then redact the final version before sending it to a third party or publishing it.