Preview on Mac can redact a PDF for free with its Redaction Selection tool. The rectangle and highlight tools in the same toolbar only cover text, so picking the right tool is the whole job.
Redact a PDF in Preview
- Open the PDF in Preview and click the Show Markup Toolbar button.
- Choose the Redaction Selection tool.
- Drag across the text you want removed. It turns black.
- Choose File, then Save, and close the document.
Apple’s guide says you can change a redaction while you edit, but “once you close the document, the redaction becomes permanent”.
Don’t use the rectangle tool
A black-filled rectangle from Markup’s shapes looks the same as a redaction. It is an annotation on top of the page, and Vice found boxes drawn this way in Preview could be moved or deleted to reveal the text.
If the box can be selected and dragged after you draw it, it is a shape, not a redaction.
What Preview’s redaction leaves behind
Apple’s guide gives one gap. If the PDF has a table of contents, “entries in it that link to redacted text aren’t removed”.
Redacting also leaves the rest of the file alone, so the document properties, such as the author and title, can still be there. Check them in Tools, then Show Inspector.
To remove both, run the redacted file through the free remove PDF metadata tool. It copies the pages into a new file without bookmarks, properties or comments.
Redact the same name on every page
Preview has no search and redact. You have to find each match with Find and draw a redaction over it.
The free PDF redactor covers every match of a word in one step and works in Safari on the same Mac.
Check the PDF after redacting in Preview
Open the saved copy, choose Edit, then Select All, copy and paste into TextEdit. The redacted words should be missing.
The PDF leak check runs the same test on every page and lists any bookmarks, metadata or earlier versions left in the file.