
PII masking hides the value without rewriting the document. PII masking replaces personal values with a token, a bar or a label so the document can be used without exposing the real data. The document keeps its structure; the value is replaced, not paraphrased.
Part of PII and data masking concepts. For the adjacent case, read what is pii and pii redaction.
What it means in practice
The mask has to survive the export. A drawn rectangle can be removed or ignored by a parser; a token in the text layer is part of the file. For scans, the image and the OCR layer both need the replacement.
Where the risk remains
- A rare detail combined with a date or a place.
- A mapping that travels with the file.
- A text layer under a visual cover.
- An attachment or a comment that was not reviewed.
- A recipient who can re-share the output.
How to verify
- Select and copy the masked area.
- Search the file for the removed value.
- Inspect the metadata and the attachments.
- OCR the page and search again.
- Keep the report with the output.
Where masking lives
Masking keeps the value in the system while hiding it from a viewer: the support agent sees a card number ending in four digits, the analyst sees age bands. Its purpose is exposure control inside the walls — the people who need the shape without the value. Because the value survives, masked systems inherit the security duties of the systems that hold the real data: access control, encryption, logging. Masking reduces the audience; it does not reduce the treasure.
The limits worth stating
Three limits deserve plain words. Masked output released outward is not protection — partial values and bands re-identify in combination. Format-preserving masks can be reversible by design, which is a feature inside and a vulnerability at the boundary. And masks applied at display can leak at export: the report that shows masked fields may still carry full values in the underlying query. Masking is a viewer control; the moment a copy leaves, the question becomes redaction or anonymization instead.
The export gate
Masking fails at exports more often than at screens: the CSV download, the API response, the report builder each carry their own copy of the data, and each must re-apply the mask. Gate them — a review step on any export from a masked system — rather than assuming the display rule inherited. The breach report that reads 'the masked system exported full values' is a genre of its own; the gate is how you stay out of it.
How Veilbrook fits
Veilbrook finds and masks personal data, runs a second pass and returns a removal report. It does not decide the legal standard or replace the reviewer.
Limits
No tool catches everything. OCR, handwriting and language coverage have limits. A masked document is not automatically anonymous; context can still identify a person.
What to write down
Keep the purpose, the fields removed, the reviewer, the date and the output hash. If the file changes, verify it again.
Checklist
- Define the purpose and the recipient.
- Choose the standard.
- Remove the fields.
- Verify the layers.
- Keep the evidence.
What to compare
Compare the unit, the included volume, the page cap, the review step and the evidence. A low headline price with a small cap can cost more than a higher plan that covers the real file. Ask for the total cost over a year, including the deployment, the integration, the training and the reviewer time. A quote that leaves out the review is not a full quote.
Questions to ask
- What is the unit, and what happens above the included volume?
- Is there a page or file-size cap?
- What does the report contain, and can it be exported?
- Where is the data processed, and how is deletion proven?
- What does the trial or pilot include, and what does it exclude?
Before you decide
Test one real document and time the review. Compare the output with a manual redaction and keep the report. A tool that looks fast in a demo can add work if the review is unclear. The sample should include a scan, an attachment and a long page.
Common mistakes
- Treating a label as a legal result.
- Leaving the mapping with the file.
- Checking only the visible page.
- Calling a pseudonym anonymous.
- Forgetting the attachment.