Blog

How to redact a PDF in Preview on a Mac, and another way to do it

Every Mac comes with Preview, and Preview has its own redaction tool. If you want to know how to redact a PDF in Preview, the steps below follow Apple's Preview User Guide page on annotating a PDF, which is where Apple describes the tool. After that comes how to check the result, and how to do the same job in OpenPdfEdit, a free open source PDF editor for the Mac, in case you need something Preview's guide does not cover.

Preview is free and already on every Mac, so for many people it answers how to redact a PDF on a Mac without buying anything: you can redact a PDF in Preview on macOS, on a MacBook or an iMac, with no download.

Redact a PDF in Preview, step by step

These are the steps as Apple gives them, with the tool's own name.

  1. Open the PDF in the Preview app on your Mac.
  2. If the Markup toolbar is not showing, click the Show Markup Toolbar button.
  3. Choose Redaction Selection. Apple describes it as: "Select text to remove it from view."
  4. Select the text you want to remove.
  5. When you are done, close the document.

Closing is the step that matters. In Apple's words: "You can change the redaction as you edit, but once you close the document, the redaction becomes permanent." Until you close it, you can still adjust what you selected.

Before you start: work on a copy

Because the redaction becomes permanent once the document is closed, keep the original. In Finder, select the PDF and choose File > Duplicate, then open and redact the duplicate. If you later need the unredacted version, say to redact a different set of details for a different reader, it is still there.

What Apple's guide says to watch for

Apple notes one thing that redaction does not reach: "If the PDF has a table of contents, entries in it that link to redacted text aren't removed." A long report or a contract with a sidebar of bookmarks can still show a chapter title or a name in that list after the text on the page is gone. Look through the table of contents before you send the file.

The guide describes the tool in terms of selecting text. It does not describe searching for every place a word or number appears, or how a scanned page behaves, and we will not guess at either. If your document is a scan, or the same name appears dozens of times, the second half of this page covers a way to handle both.

Check the redacted copy, whichever app you used

Do not judge a redaction by how the page looks. Two checks take a minute:

  • Open the saved copy in a different app, for example a browser, press Cmd+F and search for the words you removed. They should not be found.
  • Select all the text on the page (Cmd+A), copy it, and paste it into TextEdit. The removed words should not be in what you pasted.

For a deeper check that works on any PDF, the redaction test page has a sample file with made-up data and the command-line steps (pdftotext, qpdf and a byte search) to see whether the words survive anywhere in the file. On a Mac, Homebrew installs both tools with brew install poppler qpdf.

Another way on a Mac: OpenPdfEdit

OpenPdfEdit runs on the Mac as an app, from the Mac App Store or as a .dmg on its releases page, built for both Apple silicon and Intel. It also runs as a web app in Safari or Chrome with nothing to install. Either way the PDF is handled on the Mac itself and is not uploaded. Redaction is free, with no account.

  1. Open the app, or openpdfedit.com/app in your browser, and choose Open PDF….
  2. Switch to Edit at the top and choose Redact.
  3. Drag a box over what should go. The app asks Redact this area?; choose Redact.
  4. Save. In the Mac app you can save over the file or use Save a copy. In Safari the web app downloads a copy; in Chrome you choose where it goes.

A few things work differently from the steps above, and they are the reasons someone might reach for it:

  • Find every copy of a detail. Find & redact searches the whole document for email addresses, phone numbers, US Social Security numbers, payment card numbers and IBANs, plus any words you type, one per line. You review each match before anything is removed.
  • Pictures and scans. The box is not limited to text: where it covers an image, such as a scanned page or a photo of an ID card, the pixels underneath are overwritten in the saved file.
  • A check built in. After Find & redact removes its matches, the app reads the saved file back and tells you if any text can still be found in a redacted area.
  • The colour of the box. The box is white by default; pick Black if the reader should see that something was removed.

OpenPdfEdit's redaction works on what is drawn on the page. It does not remove the document's properties, attachments or hidden layers, so look at those separately. More detail, with the steps for Windows, Android and the browser as well, is on redact a PDF.

Which one to use

For a few lines of ordinary text in a PDF you already have open, Preview is right there and needs nothing new. If you need to catch every copy of a name or a number, black out part of a scan or a photo, or want a second opinion on a file before it goes out, OpenPdfEdit does those for free on the same Mac. Whichever you use, run the two checks above on the copy you send.

Questions

Can you redact a PDF in Preview?

Yes. Preview on the Mac has a Redaction Selection tool in its Markup toolbar. Select the text, and the redaction becomes permanent once you close the document.

How do I black out text in a PDF in Preview?

Use Redaction Selection rather than drawing a black rectangle. A rectangle drawn as markup only covers the words, and they can still be selected and copied underneath it.

Is there a free way to redact a PDF on a Mac other than Preview?

Yes. OpenPdfEdit is free on the Mac, from the Mac App Store, as a .dmg, or as a web app in Safari or Chrome. It adds Find & redact for every copy of a name or number, and redaction of scans and photos.

How do I check that redacted text is really gone?

Open the saved copy in another app and search for the removed words with Cmd+F, then select all, copy and paste into TextEdit. The words should not appear in either.

Related tools

  • Redact a PDF — Remove words and images from the file itself, not just cover them.
  • PDF editor for Mac — One download for Apple silicon and Intel, signed and notarized by Apple.
  • Redaction test — A test PDF and the steps to check that redacted words are gone from the file.

More guides

Open the app All posts