Under the GDPR, redacting a document is a way of minimising personal data, but it rarely makes the document anonymous. If the people in it can still be identified, from context, from what the recipient already knows, or from text left in the file, the redacted document is still personal data and the GDPR still applies. Good redaction removes the text from the file, cleans the metadata, is done with a known recipient in mind, and keeps the original apart.
There is a small lie embedded in most data-protection conversations about redaction. The lie is that a black box drawn over a name on a PDF makes the document GDPR-safe. It does not. It can be a very useful step. It can also be the kind of half-measure that turns a routine disclosure into a reportable breach. The difference depends on details that almost nobody reads carefully until something goes wrong.
This piece is for people who have to read those details carefully: compliance leads, legal counsel, DPOs, and the engineers who build the workflows around them. The aim is to walk through what the GDPR actually requires when you redact personal data from a document, where pseudonymisation ends and anonymisation begins, and what the European Data Protection Board's recent guidelines[1] change about the day-to-day work.
The legal frame: what redaction is, and what it is not
Redaction, as a word, does not appear in the GDPR. The regulation works at a higher level of abstraction. It defines two relevant operations:
- Pseudonymisation is processing personal data so that it can no longer be attributed to a specific data subject without additional information, where that additional information is kept separately and protected.[2] The original mapping (who was who) still exists somewhere. The data is still personal data. The GDPR still applies.
- Anonymisation is the threshold at which the data can no longer be linked back to a natural person, even with reasonable effort. Once you cross it, the data falls out of the GDPR's scope entirely. WP216, the 2014 Article 29 opinion that still serves as the working definition, set a high bar: resistance to singling out, linkability, and inference attacks.[4]
A redacted document sits somewhere on this spectrum. Where exactly is the question that matters.
Why a black box is rarely anonymisation
Take a contract where the personal details (name, address, national ID, signature) have been blacked out. To the human reading the page, the document looks anonymised. To a court, a regulator, or a determined adversary, it often is not.
Three failure modes recur:
- Layered PDFs. A "black box" added on top of text in a PDF viewer hides the text from view but leaves it intact in the underlying byte stream. Copying it out, opening it in a different reader, or running it through a text extractor reveals everything. This is not theoretical: it is how text keeps resurfacing from "redacted" court filings and official documents. Our guide to redacting a PDF properly shows how to avoid it and how to test the result.
- Quasi-identifiers. A document can name no individuals and still identify them. A medical report that says "the 47-year-old patient from Lillehammer treated at the regional hospital on 12 March 2024 with a rare lung condition" identifies one specific person, even though no name appears. WP216 calls these quasi-identifiers, and they are the central reason genuine anonymisation is hard. Latanya Sweeney's 2000 paper famously showed that 87% of the US population could be re-identified from just date of birth, ZIP code, and gender. A 2019 paper in Nature Communications estimated that 99.98% of Americans would be correctly re-identified in any dataset using fifteen demographic attributes.[5]
- Context. The same redacted document can be anonymous in one context and identifying in another. A redacted internal memo released to the public may be anonymous; the same memo handed to the company's competitors may be trivially re-identifiable because they already know the protagonists.
The practical consequence: most "redacted" documents are, in GDPR terms, pseudonymised, not anonymised. The data remains personal data. The legal obligations remain in force.
Where the EDPB's draft guidelines point
On 16 January 2025, the European Data Protection Board adopted Guidelines 01/2025 on Pseudonymisation for public consultation.[1] The draft (version 1.0) is not final and not binding, but it shows where the supervisors are heading. Two ideas in it are particularly relevant to anyone running a redaction workflow.
The "pseudonymisation domain"
The draft introduces the concept of a pseudonymisation domain: a defined boundary within which only pseudonymised data is processed, and where no person inside the boundary has access to the "additional information" that would re-link the data to identifiable individuals. The boundary can be a team, a system, a contract, or a network segment, but it has to be concrete and enforced.
For redaction work, the draft points towards a clear practice. Producing a redacted document and then storing the un-redacted original on the same server, accessible by the same team, with the same credentials, would not fit that concept. The "additional information" should be kept separately, both technically (different storage, different access controls) and organisationally (different people, different policies).
Pseudonymisation is deliberate
The draft treats pseudonymisation as more than the absence of identifiers: it is the deliberate engineering of a state in which the data cannot be re-identified without specific separately-held information. Documents where names happen to be missing, but where the original is one click away, are what we would call "pseudonymisation by accident", and they do not fit that description. Pseudonymisation is a process, not a property of the output file.
A nuance from the Court of Justice
In September 2025 the Court of Justice of the EU added a nuance in EDPS v SRB.[7] Pseudonymised data passed to a recipient who has no reasonable means of re-identifying the people is not necessarily personal data for that recipient. For the organisation that holds the original or the key, it remains personal data, and its obligations, such as informing people about who will receive their data, are judged from its own position. For redaction work, the sender's duties do not go away because the recipient cannot see the names.
A working framework: three questions before you redact
Out of this comes a checklist that holds up surprisingly well across legal, medical, public-sector, and commercial work.
1. What is the legal basis for the underlying processing?
Redaction is itself processing of personal data under GDPR Article 4(2).[2] It normally serves the same purpose, and rests on the same lawful basis, as the disclosure it prepares (a legal obligation, a contract, a legitimate interest). It is still worth naming in the record of processing activities.
2. What is the threat model?
Who might see the redacted document, and what other information do they already have? A redacted file released to the world has a different threat model than the same file delivered to a court under seal, which has a different threat model again from a file shared with one named third party under contract. Pretending the threat model is "everyone" when it is actually "two named recipients with an NDA" leads to over-redaction. Pretending it is "two named recipients" when the file is publicly downloadable is worse.
3. What is the residual risk after redaction?
Apply WP216's three lenses one at a time:
- Singling out. Can a single individual be picked out of the data?
- Linkability. Can two records about the same person be linked?
- Inference. Can attributes be inferred about an individual with significant probability?
If any of the three is yes, the document is pseudonymised, not anonymised. That is fine, in many contexts, as long as you act accordingly: apply Article 32 security measures[3], honour data-subject rights, log access, and budget for the possibility of a breach.
Technical measures that actually matter
Datatilsynet's guidance on the fundamental data-protection principles[6] is clear that data minimisation is not a one-off act at the point of collection. It is a continuous obligation that runs through the lifecycle of the document. For a redaction pipeline, that translates into a small set of measures most organisations either implement or quietly skip:
- Burn the redaction into the raster, or remove the underlying text. A black box on a PDF layer is not redaction. Either rasterise the redacted regions, or strip the text content from the document object model. Modern redaction tools do this by default. Tools that "draw on top" do not.
- Audit the metadata. PDFs carry comment threads, author names, edit history, original file paths, embedded thumbnails, and EXIF data on attached images. All of it can leak identifiers. The audit step is non-negotiable.
- Treat the un-redacted original as restricted, not archived. The pseudonymisation-domain principle requires real separation. If the original lives in the same SharePoint folder as the redacted version, the redaction is decorative.
- Log every redaction. Who redacted what, when, against which rule set. The log supports the accountability principle in Article 5(2), and it helps answer any later access request that touches the document.
Where AI changes the picture, and where it does not
Automated redaction has become genuinely useful in the last two years. Named-entity recognition models now find common entity types (names, addresses, IDs) well enough across most document formats to take the first pass, with a person reviewing the result. For high-volume work, that is the difference between a process that takes weeks and one that takes hours.
What AI does not change is the legal calculus above. The model does not decide whether the resulting document is anonymised or pseudonymised. The threat model and the residual-risk analysis do. AI redaction tools that quietly claim "GDPR compliance" as a feature are selling a category error: the tool is one input into a compliance posture that the organisation, not the tool, is responsible for.
Where DeclassifAI fits
DeclassifAI, our redaction service, takes the mechanical part of this work. It suggests marks for 59 kinds of personal information, a person decides every mark, and the chosen text is removed from the file together with its hidden text layer and metadata. Every redacted document is checked for Norwegian identity numbers, bank account numbers, e-mail addresses and phone numbers before it can be downloaded. Files are processed in Microsoft Azure's Norway East region, documents are not saved to a database or file storage, photos and video are deleted automatically on a fixed schedule, and files are never used to train models. The legal questions above stay with the organisation. For the technical side of the anonymisation line, see when redaction becomes anonymisation; for public bodies in Norway, see redacting documents for an innsynskrav.
What to take away
Three things are worth carrying out of this piece into the next workflow review.
First, almost all redacted documents are pseudonymised, not anonymised. The GDPR still applies. Plan accordingly.
Second, the EDPB's draft guidelines point towards treating the separation of the additional information as central, which fits badly with many existing setups. Redacted output sitting next to un-redacted source, accessible by the same people, is a weak pseudonymisation strategy, draft or no draft.
Third, AI tools change the throughput of the work, not its legal shape. The hard questions are still the same: what is the threat model, what is the residual risk, and what would survive a regulator's audit. Those questions belong to the organisation, not to a model.
The good news is that none of this is unworkable. Done well, redaction is one of the highest-leverage data-minimisation moves an organisation can make. Done carelessly, it is a way of looking compliant while being something else.
Questions
Questions and answers
- Is a redacted document anonymous under the GDPR?
- Usually not. If the people in it can still be identified with reasonable effort, for example from context or from other available information, the document is still personal data and the GDPR still applies. Most redacted documents are pseudonymised, not anonymised.
- What is the difference between pseudonymisation and anonymisation?
- Pseudonymised data can be linked back to a person with additional information that is kept separately, and it is still personal data. Anonymised data can no longer be linked to a person by any means reasonably likely to be used, and it falls outside the GDPR.
- Is a black box over a name in a PDF enough?
- No. A box drawn on top usually leaves the text in the file, where it can be copied out or found by a search. Redaction has to remove the text, and metadata, comments and attachments have to be cleaned too.
- Does an AI redaction tool make us GDPR-compliant?
- No tool makes an organisation compliant on its own. A tool can find and remove personal data faster, but the organisation still decides what to remove, on what legal basis and for which recipient, and a person should review the result.