Anonymize a PDF: why removing names is not always enough

To anonymize a PDF, removing names is not enough: role, place and date may still identify someone. See pseudonymization vs anonymization and how to test.

To anonymize a PDF, you have to remove or reduce every detail that lets the recipient recognize a person, not just the names. A role, a place, a date or an unusual event left on the page can single someone out even after every name is redacted, so test the remaining combinations of details as the recipient would read them.

Removing names is often the first step, and a necessary one. The method below shows what to check next, using a fictional example. It is a practical review method, not legal advice and not a formal finding that a document is anonymous.

Is redaction the same as anonymization?

No. Redaction is an operation: you select content and remove it from the file. Anonymization is an outcome: nobody in the document can reasonably be identified anymore. A PDF can be redacted perfectly, with every name gone from the text layer, and still describe a person precisely enough for a colleague to recognize them.

The two questions need two checks. For the removal itself, follow the general steps to redact a PDF and check the saved copy. For identifiability, read on: the rest of this page is about what the remaining text reveals.

Anonymization vs pseudonymization

The UK regulator draws the line clearly. In its guidance on pseudonymization, the ICO describes replacing identifiers such as names with a pseudonym or reference number, while the information needed to re-link them is kept separately. Pseudonymized data stays personal data for anyone who can make that link. Its introduction to anonymization describes anonymous information as information that no longer identifies anyone, including when combined with other data. The ICO notes that this guidance is under review; check its current version before relying on it for a formal decision.

PseudonymizationAnonymization
What changes in the PDFNames become “Person A”, “Employee 3” or a reference numberNames are removed and the remaining details are reduced until no one stands out
Can someone reverse it?Yes, anyone holding the key or list of real namesNot by any means reasonably likely to be used
Typical useInternal review, case files, analysis where the link must surviveTraining material, public examples, wide sharing
What you still have to checkWho holds the key, and whether context alone gives the person awayIndirect identifiers, linked documents, the recipient’s knowledge

In a PDF, a consistent placeholder such as “Person A” is useful: the recipient can follow one person through the document. It is still pseudonymization, and it can make the context easier to piece together, because every mention of Person A now adds up.

Which details identify someone without a name?

Indirect identifiers are details that are harmless alone and revealing together. In documents, the usual ones are:

  • Role or title: “the site manager”, “the only paralegal on the team”.
  • Place: an office, a branch, a ward, a small town.
  • Dates and times: a shift, the day of an incident, a start date.
  • Unusual events: an accident, a complaint, a long absence, an award.
  • Relationships: “her manager”, “the claimant’s brother”.
  • Physical or written traces: a signature, initials in a footer, a handwritten note, an email address pattern.

The ICO puts it plainly: removing direct identifiers is insufficient to ensure effective anonymization. Its guidance asks whether someone can still be singled out, whether the copy can be linked with other information, and whether it reveals something new about a person the reader already knows.

How to test which combination singles someone out

Take the fictional note used throughout this page: “A member of the team who worked the night shift at the harbor office on March 12 reported the incident.” The name is gone. Now count, for an invented 12-person team, how many people still match as each detail is added.

Information available to the readerPeople matching in the fictional rosterReview decision
Member of the team12Check whether naming the team is needed
Works night shifts4Test together with place and date
Night shifts at the harbor office2Check the other documents you send
Also on duty on March 121Unique description: the name removal changed nothing

These numbers describe only this made-up roster. They are not probabilities or a safe threshold. Removing only the date leaves two people, which still does not make the copy anonymous: a recipient may already know who handled the incident.

Run the test in four steps:

  1. List every detail about the person that remains in the copy, page by page, including captions, tables and appendices.
  2. Read related sentences together. A shift on page 2 and a location on page 5 combine just as easily as two words in one sentence.
  3. Add what the recipient already knows: a duty roster, an earlier email, the news, the team itself.
  4. Note each combination that narrows to one person, with a page reference, in a restricted worksheet. Do not rebuild the identity list in a file you share.

The ICO calls a version of this the “motivated intruder” test: could a reasonably competent person with ordinary resources, and a reason to try, identify someone from what you share?

Retain, generalize or summarize?

For each revealing combination, pick one of three actions with the document owner:

  • Retain the precise detail when the recipient genuinely needs it, and treat the copy as identifiable: share it under the appropriate restrictions rather than calling it anonymous.
  • Generalize the detail: “a team member” instead of a role, “the harbor site” instead of an office, “in March” instead of an exact date. Check that the broader wording is still true of the source.
  • Summarize when the passage matters only for its outcome: “an incident was escalated during March”, labeled as a summary, not presented as the original text.

Do not invent replacement facts. Changing a date or a job to a false one alters the record, and a reader may act on it. If no option keeps the meaning the recipient needs, the copy cannot be anonymous for that purpose: return the decision to the document owner.

For job applications, the same reasoning decides which details to keep when you redact a CV: the experience a reviewer needs can be the very detail that identifies the candidate.

Names can survive outside the page

A PDF can carry a person’s name where no one reads it on screen: the author field in the document properties, comment authors, a file attachment, a bookmark, a form field or the filename. Removing every name from the pages leaves those untouched. Use the PDF metadata and hidden-information checklist on the exported copy before you call it clean.

PDFRedactLab handles the removal side of this work: it prepares a sharing copy, flags sensitive data in the text, in scanned pages and in hidden information, and lets you review each marked zone before you apply redaction and export the redacted PDF. See how the PDFRedactLab review workflow works or open the fictional redaction example. Whether the remaining context still identifies someone stays your judgment, made with the recipient in mind.

Read the copy as the recipient would

Before sending, open the exported file, not your working copy, and read it from start to finish as the recipient. Better still, ask a colleague who is authorized to see the material, and who knows roughly what the recipient knows, to try to name anyone in it.

CheckWhat it provesWhat it does not prove
Search the exported copy for each removed nameThe name is no longer in the searchable textThat the person cannot be recognized from context
Count matches for each remaining combinationWhich details narrow the group to one personThat a larger group is safe for every recipient
Inspect properties, comments and attachmentsNames are gone from the hidden places you checkedThat no other linked document reveals them
Recipient-style read by a second personWhether someone with similar knowledge can identify a personA legal finding that the copy is anonymous

Repeat the test whenever the recipient changes or an appendix is added: identifiability depends on who reads the copy and what else they hold. If the reader can still identify someone, describe the copy for what it is, a redacted or pseudonymized document, rather than labeling it anonymous. For public disclosure or a decision with consequences for the people involved, ask for a privacy or legal review of the specific context.

Frequently asked questions

Does removing a name make a PDF anonymous?

Not by itself. A role, a place, a date or an unusual event left in the text can still point to one person for a reader who knows the context. A PDF is anonymous only when no one can reasonably identify the people in it, including by combining it with other information.

Is redaction the same as anonymization?

No. Redaction removes selected content from the file. Anonymization is the result you reach when nobody in the document can reasonably be identified. You can redact every name correctly and still share a copy that identifies someone through context.

Is replacing names with codes anonymization?

No, that is pseudonymization. If anyone keeps a list that links Person A to a real name, the document can be re-identified, and the ICO treats pseudonymized data as personal data for whoever holds that link.

What is the difference between pseudonymization and anonymization?

Pseudonymization replaces identifiers with codes or placeholders, and the link back to the person still exists somewhere. Anonymization removes or reduces information until people can no longer reasonably be identified by anyone, even with other available data.

Can a redaction tool guarantee that a PDF is anonymous?

No. A tool can remove the content you select and help you check the exported copy. Whether the remaining context still identifies someone depends on the recipient, the purpose and the other information they can access, which only a human review can judge.

A thoughtful last step before sharing a PDF.

See the fictional review example

Request access to PDFRedactLab

Leave your professional email to get access to PDFRedactLab.

Submitting sends your email and visit context to BankStatementLab’s infrastructure for PDFRedactLab. No account, payment or automatic email is triggered. Privacy.