PII redaction

PII redaction that shows its work.

Veilbrook finds personally identifiable information across a document, replaces it, and gives you a list you can review. Not a black box over copyable text. Not a promise that every case is anonymous.

PII Redaction: Find and Mask Personal Data in Documents

Personal data rarely sits in one obvious paragraph. It is in the header, the signature block, the footer, a comment, a tracked change, an attachment name, a hidden spreadsheet column, a scanned ID page. PII redaction is the work of finding all of it, replacing it, and being able to say what you removed.

What counts as PII

The exact legal definition depends on the jurisdiction and the context. For document work in the US, these are the categories that matter most:

CategoryExamples
IdentityFull name, maiden name, signature, date of birth, place of birth, nationality, photograph, passport, driver’s license, state ID, SSN.
ContactHome or work address, email address, phone and fax numbers, social media handle, personal website.
FinancialBank account, routing number, IBAN, card number, tax ID, credit report, income, invoice and payment references.
HealthPatient ID, medical record number, diagnosis, prescription, treatment, health plan ID, clinical notes, sick leave.
EmploymentEmployee ID, salary, performance review, disciplinary record, union membership, recruitment notes.
EducationStudent ID, transcript, grades, disciplinary files, financial aid records.
DigitalIP address, device ID, login name, cookie ID, session token, API key embedded in a document.
Client-definedMatter number, policy number, case reference, vessel name, local tax ID, internal code.

Some identifiers are context-dependent. An IP address, a license plate, a voice recording or a job title can be personal data in one matter and not in another. That is why the policy, not only the model, decides what gets removed.

Redaction, masking, pseudonymization, anonymization

TermWhat it meansReversible?
RedactionRemoving or replacing the value in the document so it cannot be read or copied.No, if the value is replaced; the original is gone from the output.
MaskingReplacing a value with a bar, a label or a token. Often used as a synonym for redaction.Depends on whether the original is stored elsewhere.
PseudonymizationReplacing a value with a stable token and keeping a separate mapping.Yes, with the mapping.
AnonymizationRemoving the ability to link the data back to a person, considering the context and the means reasonably likely to be used.No, by definition.

Important: masking a name is usually pseudonymization, not anonymization. Whether a document is anonymous depends on its content and the legal context. Veilbrook does not give legal advice; your DPO or lawyer decides.

Where PII hides in a document

How Veilbrook handles PII

Veilbrook combines three layers, because no single model is enough:

  1. Detection: a model finds likely personal data by context, including names and addresses that no regex will catch.
  2. Rules: deterministic checks catch formats a model can miss — IBAN checksums, card numbers, national ID patterns, phone formats, dates, account structures.
  3. Verification: a second pass re-reads the masked document and looks for personal data that remains. Uncertain spans are flagged for a human.

You choose the policy: which types to mask, which to keep, whether to use bars, labels or consistent tokens, and whether a reviewer must approve. The output is the masked document plus a removals list, not a silent result.

PII redaction before AI

The fastest way to leak a client file is to paste it into a cloud assistant. Veilbrook’s gateway mode is built for that step: it masks the document before it reaches the model, lets the model work on tokens, and restores the real values in the answer. The mapping stays on your side; the model never sees the names, accounts or health data.

This is useful for legal research, drafting, summarization and translation, where the task needs the document but not the identities inside it. It is not a license to send anything anywhere: your AI policy still decides which tools are allowed.

Before you share a redacted document

  1. Open the masked file in a different viewer and try to copy the masked areas.
  2. Search the file for each name, account number and email you removed.
  3. Check headers, footers and signature blocks, not only the body.
  4. Remove or review comments and tracked changes.
  5. Inspect document properties and metadata.
  6. Check hidden rows, columns, layers and speaker notes.
  7. List and open every attachment.
  8. Check the file name and the folder path.
  9. Confirm the policy used (types, exceptions, reviewer).
  10. Keep the removal report with the released file.

Proof and limits

99%

Our target: catch at least 99 of every 100 personal details. Every version is tested on a fixed benchmark before release, compared with the best available alternatives, and published with its misses (How we test).

No detector catches everything. Names in images, unusual scripts and degraded scans remain hard. Veilbrook flags uncertainty instead of hiding it.

Two commitments matter as much as the score. In the cloud, documents are processed and deleted; on-premise, they never leave your network. We do not train our models on customer documents.

Questions

What is PII redaction?

PII redaction is finding personally identifiable information in a document and replacing it so it cannot be read or copied. It is not the same as drawing a black box over text.

Is redaction the same as anonymization?

No. Redaction or masking usually leaves a document pseudonymized. Anonymization means the data can no longer be linked to a person, and that depends on the content and the legal context.

Does Veilbrook catch SSNs, bank accounts and medical record numbers?

Yes. These are first-class types, alongside names, addresses, emails, phones, dates of birth, passports, driver’s licenses, IBANs and card numbers.

Can Veilbrook redact PII before sending a document to ChatGPT?

Yes. In gateway mode, Veilbrook masks the document before it reaches the AI tool, then restores the real values in the answer. The mapping stays with you.

Does Veilbrook keep or train on my documents?

In the cloud, documents are processed and deleted. On-premise, they never leave your network. We do not train on customer documents.