WuseBox ← Back to tools

Privacy · 100% local

PDF & DOCX Redaction

Find ID numbers, bank accounts, names, addresses, phone numbers and e-mails in a contract, letter or CV, then remove them permanently. The tool also cleans metadata, comments and tracked changes, and checks the finished file before you download it.

Your file never leaves the browser Loading modules…

1. Upload documents

PDF or DOCX, one file or several. Files are processed only in this browser tab.

Why a black box in a PDF is not enough

A black rectangle drawn in a PDF editor usually just covers the text. The text itself is still stored in the file: you can select and copy it, or open the file in another program. Word has similar traps: black highlighting, hidden text and tracked changes that keep an earlier version of the data. As early as 2005 the NSA warned in its guide "Redacting with Confidence" (a copy hosted by the US Court of Appeals for the Seventh Circuit) that an object placed over text in Word still only hides it in the resulting PDF. With paper documents the rule is "black out, then copy": only the copy counts as redacted. This tool does the digital equivalent.

Need fictitious test data? Use the test data generator. To mask text before pasting it into an AI chat, use the prompt anonymizer.

What exactly is removed

ItemPDFDOCX
Selected data in the contentblacked out on the page imageremoved from the XML, replaced with █████ or a label
Text layer and fontsremoved (file built from scratch)not applicable
Metadata (author, software, dates)removed, including XMPremoved from docProps, no custom properties
Comments and their authorsremovedremoved
Tracked changesnot applicableaccepted, deleted text disappears
Forms, attachments, bookmarksremoved (field values only as part of the image)customXml data and glossary removed
Earlier versions of contentremoved (incremental updates)removed along with tracked changes
Hidden placeshidden layers, JavaScripthidden text, alt text, field codes, mailto links, template path, rsid
Imagesbecome part of the page imageEXIF and XMP removed, optionally replaced with a grey rectangle

How detection works

  • Checksums: Polish PESEL, NIP, REGON and ID card numbers, bank accounts (NRB and IBAN), payment cards, Spanish DNI/NIE and Italian codice fiscale numbers are validated by their algorithms, so random strings of digits are not mistaken for data.
  • Names with inflection: dictionaries of first names and surnames from the Polish PESEL register (dane.gov.pl), foreign first names, diminutives, “SMITH John” order and “Surname First name” on its own line, initials, titles and roles (“witness A. Kamińska”, “Mr Smith”, “Herr Müller”) and form labels (“Name:”, “Tenant:”).
  • Phones and documents from other countries: numbers with a country code (+48, +44, +1 and others) and national formats from the UK, the US, Germany or France, US Social Security numbers, UK National Insurance numbers, EU VAT numbers, and passport, ID card and tax numbers given after a label (“Passport No.”, “Tax ID”).
  • The whole document at once: a person recognised once is marked everywhere, including other grammatical cases, “J. Kowalski” and “KOWALSKI”.
  • Your corrections: select text the tool missed in the preview, or type a phrase, give it a label (e.g. “Case number”) and add it. The phrase is marked throughout the document, including inflected forms (“Kowalski”, “Kowalskiego”). If a highlight cuts off part of the data, drag its edge to extend it.
  • Three confidence levels: “certain” (e.g. a PESEL with a valid checksum), “to check” (e.g. a PESEL with a typo) and “suggestions”. The first two are selected by default, because in redaction a miss costs more than an extra black box.
  • Verification: we search the finished file for every removed value, run the detector again and check the file structure. If there is a problem, downloading is blocked.

Anonymisation vs pseudonymisation

Under Recital 26 of the GDPR, anonymised data cannot be used to identify a person by means reasonably likely to be used. Replacing a name with a label is often only pseudonymisation: the person may still be recognisable from their job title, workplace or a description of events. That is why we show a checklist before export and encourage you to read the whole result.

Limitations

  • Scans without a text layer: automatic detection does not work, areas must be drawn by hand.
  • Handwritten signatures, stamps, faces and QR codes are not detected.
  • The redacted PDF cannot be searched and its text cannot be copied.
  • .doc, .docm, .odt and password-protected Word files are not supported.
  • Detection is strongest for Polish documents. In English and other documents it finds names with titles or form labels, common foreign first names, phone numbers, e-mails, IBANs, cards and the IDs listed above, but you should review the result especially carefully.
  • A first name that is not in our dictionaries, written without a surname, title or label, may be missed: add it as a phrase in step 2.
  • Patterns cannot replace human judgement of context: always review the result.

Frequently asked questions

Is my file uploaded to a server?

No. Reading, detection, redaction and verification all happen in your browser. The page technically blocks sending data (Content Security Policy), and once it has loaded you can disconnect from the internet.

Why is the redacted PDF an image?

Every page becomes an image with the redaction burned into the pixels, and a new PDF is built from scratch. No text remains under the black boxes, and the file has no fonts, metadata, comments, forms, attachments or earlier versions. The trade-off is that you cannot search or copy text in the result.

Does it work offline?

Yes. All modules load in the background when you open the page. When the “Ready to work offline” badge appears, you can disconnect and keep working.

Will it catch a PESEL number with a typo?

Yes, if the word “PESEL” is next to it or its first 6 digits form a valid date of birth. Such a number goes into the “To check” group, which is selected by default. A PESEL with a valid checksum is marked as certain even without context.

Does it remove tracked changes and comments from Word?

Yes. All tracked changes are accepted (deleted text, such as an old number, disappears from the file), and comments with their authors, hidden text, metadata, the thumbnail, the template path, rsid identifiers, customXml data and embedded objects are removed. EXIF is removed from images.

What about scans?

Pages without a text layer get a warning. Automatic detection is not possible there, but you can draw areas to redact by hand.

What happens to a digital signature?

A digital signature (for example a qualified one) is removed because the output file is built from scratch. The redacted copy is no longer a signed document.

Is the result GDPR-compliant?

The tool helps with anonymisation but does not guarantee it under the GDPR. A person can sometimes be identified from context (job title, a description of events), which no pattern can catch. You are responsible for assessing the result.

Use the tool ↑