How to redact a PDF properly
Covering text with a black box does not remove it. This guide explains what real redaction deletes, how to check the result, and the mistakes that leak information.
A black box is not redaction
A black rectangle, a highlight or a white shape drawn over text only hides it from the eye. The text is still in the file: anyone can select it, copy it, search for it or move the shape away.
Redaction means deleting what is under the mark from the file itself. Only then is there nothing left to find.
What real redaction removes
Hiding the words is the first part. A file can repeat them elsewhere.
- The text under each mark, and the images and drawings under it.
- The document’s own labels: its title and author, bookmarks, page thumbnails and attachments. They can repeat the very names you removed from the page.
- Hidden layers and text that is not on the page: a PDF can hold a layer that is switched off, text drawn without colour, or text outside the page, and a search finds it all.
- The values of form fields and the text of comments, which are kept apart from the page.
How to redact with UnplugPDF
- Keep your original. Redaction cannot be undone on the file you save.
- Open Redact and add the PDF. If its pages are scans, run OCR first, so there is text to search and to check for ID numbers.
- Mark what must go: draw boxes over it, list words to remove from every page, or use Find sensitive info to look for ID, tax, card and bank numbers.
- Review every mark and untick what should stay. Names and addresses are not looked for unless you list them.
- Select Redact and save. The text, images and drawings under the marks are deleted from the file, and the tool checks that the removed text can no longer be read from it.
- Check the result yourself, as the next part describes, before you send it.
How to check the result
The tool checks the text, but you decide what must go. Spend two minutes on the file you are about to send.
- Open the result in a viewer and look at every page where you made a mark.
- Search the file (Ctrl+F, or ⌘F on a Mac) for a word you removed. It should not be found.
- Select all the text on a page and paste it into a text editor. Nothing you removed should appear.
- Look at the document properties: title, author and subject.
- Open the bookmarks and the attachments panel if the file has them, and check any form fields and comments.
- Check the file name: it can reveal what you removed.
Common mistakes
- A shape or a highlight on top of the text, in a PDF editor or a word processor. The text is still underneath.
- Redacting the first occurrence and forgetting the others. List the word, so that every occurrence on every page is found.
- Leaving the metadata and the hidden content. The title or the author can be the very name you removed. Remove Metadata shows what a file carries, and can remove hidden layers, invisible text and text outside the page if you tick them. It does not look for white text, tiny text or text under a picture.
- Forgetting form fields and comments. Their values are kept apart from the page. Tick the option that clears the form-field values that match your words, and check comments yourself.
- Redacting a scan without OCR. A scan is a picture, so there is no text to search for: draw boxes over it, or run OCR first.
- Trusting suggestions without looking. Automatic detection is a first pass: it looks for numbers, not for names or addresses, and it can mark things that are not sensitive.
- Overwriting the original, or sending the wrong file. Keep the original apart and give the redacted copy a different name.
What UnplugPDF’s redaction does not cover
So you know what to check by hand.
- Values typed into form fields, unless you tick the option to clear the ones that match your words or patterns.
- Comments and other annotations that are not under a mark.
- The letter shapes stored in embedded fonts, which cannot be read as text.
- Arabic words on some PDFs. The dots and marks of Arabic letters are sometimes drawn as separate pieces, and a word may then not be found. Check the result before you send it.
Frequently asked questions
Is a black rectangle enough to redact a PDF?
No. It only hides the text from the eye. The text is still in the file and can be selected, copied or found by a search. Real redaction deletes it from the file.
Can a redaction be undone?
Not on the file you save: the text, images and drawings under the marks are deleted from it. That is why you keep your original and give the redacted copy a new name.
Does redaction work on a scanned PDF?
A scan is a picture. Run OCR first so that words can be found, or draw boxes over what must go. The picture under a box is deleted from the page as well.
Is my file uploaded to be redacted?
No. Redact runs in your browser tab, on your own computer, and your file is not uploaded. You can see this in your browser’s Network tab.
How do I know the redaction worked?
The tool checks that the removed text can no longer be read from the file. Then check it yourself: search for a word you removed, paste a page’s text into an editor, and look at the properties. The steps are in this guide.
Try it on a copy
Redact runs in your browser tab, and your file is not uploaded. Work on a copy and keep the original.