Payslips, contracts, interview notes and customer correspondence can contain sensitive information. Document redaction helps remove selected information from the version you intend to share or process. Reversible masking and permanent redaction serve different purposes; neither automatically establishes that an output is anonymous or that a downstream use is lawful.
This guide is the long-form reference we wish existed when we built Redactic. It covers what data redaction actually is and is not, how the GDPR frames it (Article 4(5) pseudonymisation versus Recital 26 anonymisation), the two redaction modes you will use in practice, the PII categories that absolutely must be masked before any AI use, a five-step workflow that scales from a single PDF to a multi-sheet payroll spreadsheet, the real GDPR risk of shadow AI inside professional services firms, an eight-point checklist for choosing a redaction tool, and a FAQ with the questions clients ask us every week.
You can read the article from start to finish, or jump straight to the section that matches your immediate priority. If your firm has already debated how to handle ChatGPT without reaching a solution, start with the shadow AI section. If supervisory authority inspections are the main concern, start with the GDPR framework.
1. What data redaction is and what it is not
Data redaction is the process of identifying personal or otherwise sensitive information inside a document and removing it from the version that will be shared, processed, or stored downstream. The word comes from the legal practice of blacking out passages of court filings before publication; in digital workflows it covers a much wider set of operations, from replacing a name with a placeholder token to permanently destroying a region of an image with a pixel-perfect blackout.
People often use "redaction", "anonymisation", "pseudonymisation", "masking", "encryption", and "deletion" interchangeably. They are not interchangeable, and the difference matters under the GDPR. We will return to the legal nuances in section 2; for now hold the following distinctions in mind.
- Redaction is the umbrella operation: turning a document containing PII into a version that no longer contains that PII (or no longer contains it in a way attackers or unauthorized readers can recover).
- Masking (also called PII masking or data masking) is one technique: replace each detected PII span with a placeholder such as
[PERSON_1]or⟦NAME⟧. The placeholder is meaningful to a downstream process (e.g. an LLM) but contains no identifier itself. In practice, redacting PII means choosing between this masking path and a permanent blackout, depending on where the document is going. - Pseudonymisation is masking plus a controlled, separately stored mapping back to the original values. The GDPR recognises this explicitly in Article 4(5) and encourages it across the legal text, but it does not turn the data into "anonymous" data.
- Anonymisation is one-way and irreversible. After anonymisation, no one, including the controller, should be able to re-identify the data subject. The GDPR sets this threshold in Recital 26, and anonymous data falls outside the regulation entirely.
- Encryption is reversible by anyone with the key. Encrypted PII is still personal data under the GDPR; encryption is a security control, not a redaction technique.
- Deletion removes the document; redaction removes the PII from a document you keep.
Choose permanent redaction when selected sensitive information must be removed from the shared output. Choose reversible masking when a supported workflow needs placeholders and later restoration. In both cases, assess remaining context and indirect identifiers. Permanent redaction does not automatically establish anonymisation.
The other anti-pattern we see constantly is treating redaction as a one-off pre-share step. In a multi-user firm with shared drives, weekly LLM use, and external subprocessors, redaction has to live inside the workflow (at upload, at AI request time, and at export), rather than relying on a monthly manual pass with a black highlighter.
2. The GDPR framework: Article 4(5) pseudonymisation vs Recital 26 anonymisation
Three GDPR references shape every meaningful conversation about data redaction in the EU.
GDPR 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". The additional information must be "kept separately and subject to technical and organisational measures to ensure that the personal data are not attributed to an identified or identifiable natural person." Pseudonymised data remains personal data: the GDPR still applies, a lawful basis is still required, and the data subject retains access and erasure rights.
Recital 26 GDPR draws the line for anonymisation: "The principles of data protection should therefore not apply to anonymous information, namely information which does not relate to an identified or identifiable natural person or to personal data rendered anonymous in such a manner that the data subject is not or no longer identifiable." Anonymous data is out of scope. The threshold is high and is best understood through the three criteria the WP29 Opinion 05/2014 set out: singling out, linkability, and inference. If a redacted document still allows an individual to be singled out, records to be linked across datasets, or attributes to be inferred about a specific person, the data has been pseudonymised rather than anonymised.
Article 25 (Data Protection by Design and by Default) and Article 32 (Security of Processing) together push pseudonymization as the prudent technical measure for risky processing. Article 32(1)(a) names it explicitly. That is why a GDPR compliance programme that has invested in proper pseudonymization is rewarded by supervisory authorities: it is a control the regulation itself prescribes by name.
The EU AI Act, which overlaps with the GDPR in this area, has been in force since 2024 and with high-risk provisions phasing in through 2026 and 2027, and it adds another layer. AI systems used for HR (recruitment, performance evaluation, promotion decisions) are classified high-risk under Annex III. They require risk management, data governance, technical documentation, transparency, human oversight, accuracy/robustness/cybersecurity controls, and a fundamental rights impact assessment. The Act does not require pseudonymisation before AI use, but in practice it is the cleanest way to satisfy data minimisation (Art. 5 GDPR) and the AI Act's data governance article (Art. 10) at the same time. For AI use, GDPR and AI Act compliance work best as one operating model in which the two regulations are handled together.
A common misconception is that any redaction tool delivers "GDPR anonymisation" when it actually performs pseudonymisation. If the mapping from placeholder back to the original value exists anywhere (on your filesystem, in the user's browser, or in a service we operate), the data is pseudonymised, not anonymous. Pseudonymisation under the GDPR is a useful safeguard, and offering it is valid; presenting it as anonymisation is misleading and creates a compliance risk. Redactic's redaction certificate explicitly distinguishes the two and labels every reversible job as pseudonymisation under Article 4(5).
Case law has tightened the line further. In Breyer v. Germany (C-582/14, 2016) the CJEU ruled that an IP address held by a website operator is personal data if the operator has reasonable legal means to obtain the additional identifying information from a third party. The "reasonable means" test is broader than many engineers assume: data your service alone cannot identify can still be personal data if a court order or contractual arrangement could supply the missing pieces. For redaction, this means a placeholder-plus-map split across two organisations is not automatically anonymisation: if either party can lawfully compel the other to disclose the map, the data is pseudonymised for both. The 2023 SRB v. EDPS ruling (T-557/20) reinforced the contextual nature of the test by distinguishing pseudonymized data in the hands of a recipient who cannot re-identify from the same data in the hands of the controller who can.
The WP29 Opinion 05/2014 (now endorsed by the EDPB) operationalises Recital 26 with three concrete attack models. Singling out: can an attacker isolate one record corresponding to one individual? Linkability: can two records from the same dataset, or across datasets, be linked to the same individual? Inference: can a value of an attribute be deduced from a combination of the others? If the answer to any of the three is yes, the document is pseudonymized, not anonymized. The practical takeaway is that masking the name on a payroll spreadsheet does not anonymise it, because the row still singles out one employee, and genuinely anonymous outputs are rarer than vendors imply.
3. The two redaction modes: reversible (placeholder map) and irreversible (blackout)
In production you will use two modes constantly. Understanding the difference is the difference between a workflow that survives an inspection and one that leaks names because you used the wrong tool for the job.
Reversible masking replaces detected sensitive values with placeholders and uses a separate mapping for restoration in supported workflows. Protect the mapping and review the prepared text before any optional AI task. Missed values and contextual information can still identify individuals.
Restoration mappings require protection and a defined retention policy. Depending on the workflow, processing can involve temporary server-side state as well as local restoration. Redactic does not claim that original content or mapping data always remains in the browser. Consult the applicable DPA for retention and deletion obligations.
Permanent redaction removes selected sensitive information from the exported document. For scans and images, OCR can help locate text that needs review. Inspect the output for missed values, hidden information and indirect identifiers. Destroying selected text or image areas does not by itself demonstrate that individuals can no longer be identified from the remaining content.
The mistake we see most often is the inverse: a firm runs an "anonymization" pass that is in fact reversible masking, shares the file externally, and keeps the map on a shared drive that the recipient eventually gains access to. The result is a re-identifiable record on a third party's server. Choose the mode by destination, not by habit.
Redactic offers reversible masking and permanent redaction for supported workflows. Available export formats and layout preservation depend on the input and selected operation. Confirm the result with a representative file; do not assume that reversible masking preserves a PDF in its original format.
4. PII categories that must be redacted before AI use
Not every personal datum carries the same regulatory weight. The GDPR distinguishes "personal data" (Art. 4(1)), meaning anything that identifies or could identify a natural person, from "special categories" (Art. 9) such as health data, biometric identifiers, racial or ethnic origin, political opinions, religious beliefs, trade union membership, sexual orientation, and genetic data. For special categories the bar for processing is significantly higher (explicit consent, vital interests, public interest in health, etc.) and the risk of an unintended LLM-side disclosure is correspondingly larger.
The following table is the operational shortlist we use. Before any document goes to ChatGPT, Claude, Gemini, Mistral, or any other LLM provider, every entry below should be either masked with a placeholder or blacked out, depending on whether the workflow needs reversibility.
| Category | Examples | Why it matters |
|---|---|---|
| Direct identifiers | Full name, email, phone, postal address | The minimum-viable PII set; trivially re-identifying. |
| National identifiers | Italian Codice Fiscale, French NIR/INSEE, German Steuer-ID, Spanish DNI/NIE, EU passport numbers | Country-specific identifiers require appropriate coverage and human review. Matching an identifier format does not necessarily validate the identifier or establish who it belongs to. |
| Financial | IBAN, SWIFT, payment card numbers, bank account, tax ID/VAT | Trigger PCI-DSS adjacent risk and direct fraud risk. |
| Employment | Employee ID, payroll line, hire date, salary, performance rating | Re-identifying inside a small org even without a name. |
| Health (Art. 9) | Diagnoses, medication, sick-leave reasons, occupational health notes | Special category data, explicit consent or another Art. 9 basis required. |
| Biometric / identity documents | ID card numbers, driver's licence, passport, photographs of faces | Special category if used for unique identification. |
| Quasi-identifiers | Birth date + ZIP + gender, exact role + department, rare job title | Used in linkage attacks. Sweeney's 87% rule: ZIP+DOB+gender re-identifies most US adults. |
| Free-text disclosures | Exit interview transcripts, customer complaints, support tickets | The hardest category. Often slip past pattern-based redactors and need ML NER. |
Automated PII detection can combine pattern-based and machine-learning techniques to identify likely sensitive information. Redactic combines automated detection with document processing and human review on Redactic-controlled infrastructure in Europe. Unredacted content is not submitted to third-party AI or machine-learning inference services during detection or redaction. Accuracy depends on document quality, language and context.
OCR makes text in supported scans and images available for detection and review. Low resolution, rotation, handwriting and complex layouts can affect the result. Check every relevant page and review the exported document; OCR support does not guarantee that every sensitive value will be found.
Reports made up largely of health information call for the same care, and Redactic shows how psychologists can redact psychological and expert witness reports before sharing them with solicitors, schools or the court.
5. The five-step redaction workflow that scales
A repeatable redaction workflow combines document selection, automated detection, human review, application and output verification. The following five steps provide a practical starting point; adapt them to your organisation's data handling and approval requirements.
- Upload. Select a supported document and confirm that you are authorised to process it. In standard SaaS, the original document is uploaded to Redactic for processing in Europe. Detection and redaction do not submit unredacted content to third-party AI inference services.
- Detect. Identify likely names, contact details, financial information and relevant country-specific identifiers. For scans and images, text recognition can help locate information. Treat detections as suggestions that require review.
- Review. Inspect detected values, correct false positives and check for sensitive information that was missed. Pay particular attention to contextual identifiers, poor scans, tables and inconsistent spellings.
- Apply. Choose permanent redaction or reversible masking for the intended destination. Protect restoration mappings when used. Check document properties and hidden information as well as visible text; format-specific limitations matter.
- Share or restore. Review the exported output before sharing. If you choose an optional AI workflow, review the prepared content and the provider terms first. Restore values only in a supported workflow with an appropriately protected mapping. Keep operation records suitable for your audit requirements.
A redaction certificate can support your operation records with document hashes and redaction summaries. It does not prove that every sensitive value was detected, establish anonymisation or independently prove that no copy of a document was retained. Review the actual certificate fields against your audit requirements.
For example, a payroll team can review a multi-sheet spreadsheet for employee names, tax identifiers, bank details and sensitive notes. Confirm the detections, correct missed values and choose reversible masking or permanent redaction as appropriate. Check the exported workbook, including formulas, numeric cells, hidden sheets, comments and properties, before sharing. This example illustrates a workflow, not a measured accuracy or processing-time guarantee.
6. Shadow AI: why blind ChatGPT use breaks the GDPR
The conversation we have most often with clients begins like this: "We banned ChatGPT for sensitive data. Then we discovered everyone is pasting things in anyway, from personal accounts, on their phones, after hours." This is shadow AI: the use of public LLM endpoints with sensitive data, without IT visibility, often with the best of intentions. It is the dominant AI risk inside professional services firms in 2026.
Shadow AI breaks the GDPR in three specific ways. First, the LLM provider becomes a data processor without a Data Processing Agreement. Article 28 requires a DPA (Article 28(3) lists the eight clauses it must contain) before any processing on the controller's behalf. A user pasting client names into a personal ChatGPT account creates processing without a DPA, with no record of processing activities (Art. 30), no Article 28 vetting, no documented sub-processor chain. Second, depending on the consumer-tier provider's defaults, the input may be used to train the next model, creating an irreversible disclosure that erasure (Art. 17) cannot undo. Third, the data transfers cross the EU border to a US data centre without the controller having performed a transfer impact assessment after Schrems II.
Redactic document detection and redaction run on Redactic-controlled infrastructure in Europe without third-party AI or machine-learning inference on unredacted content. Optional AI workflows are separate: detected sensitive values are removed or replaced before prepared content is sent to the selected provider. Review document text, additional instructions and chat messages; missed values and contextual details may still identify individuals. Provider, region, retention and training terms depend on the selected workflow and applicable agreement.
This is not a theoretical concern. Samsung banned ChatGPT and other generative AI tools in May 2023 after staff reportedly entered corporate information, including source code, into the chatbot. Italy's Garante temporarily suspended ChatGPT on 30 March 2023 over Art. 6 (lawful basis), Art. 13 (information notice), and the lack of age verification; the service was restored on 28 April 2023 only after OpenAI implemented an age gate, an opt-out, and an explicit information notice. The Garante then issued a final decision on 20 December 2024 with a €15 million fine. In parallel, the Spanish AEPD opened an investigation in April 2023, and the European Data Protection Board formed a dedicated ChatGPT task force in April 2023 that published its preliminary findings in May 2024. Cyberhaven's 2026 AI Adoption & Risk Report found that 39.7% of all AI interactions involve sensitive data. The EU AI Act adds general-purpose AI obligations from August 2025 onward that further constrain how consumer LLM endpoints can be used in regulated contexts. A credible answer on ChatGPT privacy is now the operational pre-condition for AI adoption in your firm.
An approved AI workflow should be practical for staff to use and supported by clear handling rules. Redactic offers optional AI workflows alongside document redaction, with masking of detected sensitive values. No comparative speed claim is made here: processing time and review effort depend on the file, task and workflow.
As a procurement question, LLM data privacy comes down to three concrete answers. (1) Does the provider operate an EU endpoint with EU data residency and a clear sub-processor list? (2) Is your input excluded from model training by default, with a signed processor agreement to that effect? (3) Is the retention zero or strictly bounded, with an audit trail you can reproduce? Anything weaker than yes to all three pushes the burden of compliance back onto the firm, and onto the lawyer, accountant, or HR lead who has neither the time nor the training to carry it. The ChatGPT consumer tier's privacy defaults do not pass this test; the enterprise tiers do, but require both procurement diligence and a redaction layer in front of them to be defensible.
When sizing the shadow AI risk for your own firm, treat the statistics that circulate with care: our audit of the most repeated shadow AI statistics traces each figure to its primary source and shows several that do not measure what they are usually quoted as measuring.
To use AI without handing over names and identifiers, Redactic can prepare your documents for AI: the detected values become placeholders, and the real names return in your browser when the answer arrives.
7. Choosing a redaction tool: an 8-point evaluation checklist
If you are buying document redaction software, with or without AI-based detection, or evaluating an internal build versus an off-the-shelf product, the following checklist is what we use with prospects. Score each item 0-2 (no / partial / yes) and weight items (1) and (8) double for a maximum of 20. A score below 12 indicates a compliance risk, and below 8 indicates a productivity risk as well.
- No-trace architecture. Does the service process the document in memory and immediately discard it? Are inputs encrypted at rest in the ephemeral store, with short TTL, and never written to a persistent log? Why it matters: a stored copy is still personal data, and the redaction process itself becomes a separate processing activity if the input survives the request.
- Multilingual PII detection. Does the model handle Italian Codice Fiscale, French NIR, German Steuer-ID, Spanish DNI/NIE, Polish PESEL, etc., or only English names and US SSNs? Why it matters: Anglo-centric detectors miss 30-50% of national identifiers on EU documents.
- OCR for scans. Can the tool redact a scanned PDF or a photographed ID card with pixel-perfect blackout? Why it matters: the cases of greatest concern to a DPO, such as old contracts and photographed documents, are precisely those a text-only redactor cannot handle.
- Two-mode support. Can the tool produce both reversible (placeholder) and irreversible (blackout) outputs from the same upload? Why it matters: single-mode tools force you to maintain two pipelines.
- Manual review. Does the UI let a human accept or reject each detected span before applying the redaction? Why it matters: recall-biased detection is the right default but produces false positives that need a fast review path.
- Metadata stripping. Does the tool also remove document properties (author, last-modified-by, XMP, EXIF)? Why it matters: the most common production leak is a clean body with an author name in the PDF properties.
- Audit certificate. Does the tool generate a per-job cryptographic record of what was processed, with hashes and category counts but no content? Why it matters: the certificate is what you show the supervisory authority, the insurance underwriter, and the client.
- Compliance posture. EU data residency, DPA included on signup, sub-processor registry, click-wrap consent with cryptographic snapshot, role separation (your tool acts as processor, not controller). Why it matters: these are the items that determine whether the tool fits into your existing GDPR programme or creates new processing activities that must be governed.
Free standalone browser extensions can appear convenient, yet they score poorly on (1) and (8) because there is rarely a valid DPA behind them. Open-source libraries like Presidio or Piiranha score well on (2) but you own the operational footprint (no-trace, OCR, audit, certificate) which is most of the work. Hosted commercial tools score variably; the question to ask is not "do you have a feature called redaction?" but "show me the certificate from a sample job and the sub-processor list."
Build versus buy should account for document handling, human review, output validation, retention controls, access management, contractual documentation and ongoing support. A detection prototype is only part of a maintained service. Compare total operational effort with your organisation's requirements using representative documents.
Redactic combines automated detection, document processing and human review to help identify sensitive information, including in supported scanned documents. Review detected values before applying permanent redaction or reversible masking. Coverage depends on document quality, language and context; automation can miss information. Evaluate representative files and exported results before adopting a workflow. Further reading: DPA
Important limitations: export format and layout preservation depend on the selected workflow. Scans, partial names, alternative spellings and contextual identifiers can lead to missed or inconsistent detections. Review these cases and the final exported file. A mapping may be needed for reversible restoration and should be protected separately.
8. Frequently asked questions
What is the difference between data redaction and data anonymisation?
Redaction removes selected information from an output. Reversible masking replaces detected values and uses a mapping for restoration. Permanent redaction does not automatically make the remaining document anonymous: contextual information can still identify individuals. Assess identifiability separately before treating an output as anonymous.
Is pseudonymisation the same as encryption?
No. Encryption is reversible by anyone with the key and is a security control; pseudonymisation replaces identifying values with placeholders and keeps the mapping under stricter access control. The GDPR explicitly recognises pseudonymisation in Art. 4(5) and Art. 32(1)(a); encrypted personal data is still personal data.
Can I use ChatGPT with redacted documents safely under GDPR?
Redaction can help reduce the personal information shared with an AI provider, but it does not automatically make a use lawful. Review the prepared content, including additional instructions, confirm the relevant provider terms and assess the purpose, lawful basis and remaining context. In Redactic SaaS, documents are uploaded to Redactic for processing before any separately selected optional AI task.
Does automatic PII detection work on scanned PDFs?
OCR can help detect text in scanned PDFs and images. Redactic supports document workflows that include scans, subject to format and language support. Review poor-quality pages and exported results; OCR and automated detection can miss sensitive information.
How long should the placeholder map be retained?
Retain a restoration mapping only for the time and purpose your workflow requires, and protect access to it. Consult the applicable agreement for Redactic's temporary processing and deletion terms. Any mapping you download or retain yourself needs its own handling and retention policy.
What is shadow AI and why is it a GDPR problem?
Shadow AI is the use of public LLM endpoints with sensitive data, outside IT visibility, typically via personal accounts. It creates processing without a DPA (Art. 28), undocumented international transfers (Schrems II), and possible training-time exposure of the input. Strict bans are routinely bypassed; the effective mitigation is an official workflow that is faster and safer than unapproved tools.
Does the EU AI Act change anything about redaction?
Yes. High-risk AI systems under Annex III (HR, recruitment, performance evaluation) must comply with data governance obligations (Art. 10), risk management (Art. 9), and human oversight (Art. 14). Pseudonymising input data before submitting it to such a system is the cleanest way to satisfy data minimisation simultaneously under GDPR Art. 5 and AI Act Art. 10. The AI Act does not require redaction explicitly but rewards it operationally.
What is a redaction certificate and why do I need one?
A redaction certificate can support your operation records with document hashes and redaction summaries. It does not prove that every sensitive value was detected, establish anonymisation or independently prove that no copy of a document was retained. Review the actual certificate fields against your audit requirements.
Can I redact an Excel spreadsheet with employee data without breaking the formulas?
Redactic supports spreadsheet redaction workflows. Check a representative workbook and verify the exported sheets, formulas, numeric values, layout and properties. Do not assume that every spreadsheet feature is preserved or that all sensitive information has been detected.
Where does Redactic store my data?
Documents and results use temporary processing storage on Redactic-controlled infrastructure in Europe. Temporary server-side processing of restoration data can be involved. Account, billing, consent and operation records are handled separately. Consult the Redactic DPA and privacy notice for retention and deletion terms, and ask us to confirm the profile for your workflow. Further reading: trust pages
Section 6 on shadow AI summarises the core operational priority for 2026. The largest single risk in professional services firms is the cumulative effect of routine ChatGPT pastes from personal accounts, far exceeding that of an isolated manual redaction error. Since strict prohibitions are routinely bypassed, the practical response is an approved workflow that is faster to use and backed by reliable data redaction and a signed DPA. Put that workflow in place before a supervisory authority requires it.
The Redactic homepage demonstrates the five-step workflow with an interactive console demo on a sample contract. The Solo plan covers a single user at €19/month and includes AI chat on masked documents; the Firm plan supports up to 50 users at €49/month and adds secure AI chat for the whole team with per-user AI credit limits; Enterprise is custom. The DPA is signed automatically and the redaction certificate is downloadable from every completed job.