How to Securely Redact Sensitive Information in PDFs Using Preview on macOS

When you need to share a PDF document (like a bank statement or a legal contract) with a third party, you must obscure highly sensitive data such as social security numbers or routing codes. If you simply draw a black rectangle over the text using standard markup tools, you have not actually deleted the data. A tech-savvy recipient can simply click the black box, press delete, and instantly expose the hidden text beneath it. To permanently, mathematically destroy the underlying text data while rendering a secure black redaction box, you must use the native macOS Preview application.

Activating the Redaction Engine

The macOS Preview application features a highly secure, integrated redaction tool that permanently wipes the targeted ASCII text strings directly from the PDF file’s underlying code structure.

  1. Double-click the sensitive PDF file to open it in Preview.
  2. Look at the main menu bar at the absolute top of your Mac screen. Click Tools.
  3. Select Redact from the drop-down menu.

The moment you click Redact, macOS will instantly generate a massive, highly visible warning prompt on your screen. It warns you that any redaction you make will permanently destroy the underlying data and cannot be undone once the file is saved. Click OK to acknowledge the security warning.

Executing a Secure Redaction

Your cursor has now transformed into a crosshair with a small black box icon next to it.

  1. Hover your mouse directly over the sensitive text (e.g., a credit card number).
  2. Click and drag your mouse across the text, exactly as if you were highlighting it to copy it.
  3. As you drag, Preview will instantly draw a solid, impenetrable black box perfectly aligned over the characters.
  4. When you release the mouse, the text is obscured.

At this exact moment, the redaction is still temporary. If you made a mistake, you can press Command + Z to undo it. However, once you are satisfied with the black boxes, you must lock the file.

Press Command + S (or simply close the window). The moment the file saves, the Preview engine executes a destructive overwrite. It strips the targeted text strings out of the PDF’s XML architecture entirely. Even if a hacker attempts to rip the file apart using specialized forensic software, the data is completely gone; only the mathematical coordinates for the black boxes remain.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.