How to Permanently Redact a PDF on Mac (Offline)

By David Levick · 2026-11-13

TL;DR

Open PDF Foundry, go to Security & Redaction, enter the words or pick a pattern such as SSN or email addresses, and click Permanently redact. The matching characters are stripped out of the page content itself, not just hidden under a black box, and your PDF never leaves your Mac.

Redacting a PDF sounds simple: draw a black box over the secret and move on. The trouble is that a black box is only a picture sitting on top of the text. The original characters usually remain in the file, and anyone can select, copy or search them. Several well-known document leaks happened exactly this way. This guide explains how to redact a PDF on a Mac so the information is actually gone, and how to do it entirely offline.

Why a black rectangle is not redaction

A PDF page is built from a content stream, a list of drawing instructions. Text is drawn by instructions that show strings of characters in a font at a position. When you add a black rectangle with a markup tool, you add one more drawing instruction after the text. The text instruction is still there. Open the file, press Command-A and copy, and the "hidden" words can appear in your clipboard. Search for an account number and the PDF viewer will highlight it under the box.

Real redaction has to change the content stream. The characters you want to remove must be deleted from the instructions that draw them. Only then does the information stop existing in the file. PDF Foundry's redaction does this. It removes the matching characters from the page's text-showing operators, including text that lives inside nested form XObjects (reusable page fragments that many PDF producers use for headers, footers and templates). It then draws a solid box where the text used to be so the page still reads as redacted.

Why do it offline

Many "free online PDF redaction" sites ask you to upload the document. A document that contains social security numbers, medical details or contract terms is exactly what you should not hand to a stranger's server. PDF Foundry is a native macOS app for Apple Silicon. Your files are processed on your Mac, there are no cloud uploads, and the app collects no telemetry about your documents. The only network activity is an optional update check and opening the purchase page in your browser.

Step by step: redact words and patterns

  1. Download and open PDF Foundry. Get the free download from the site and move the app to Applications. The first time you open it, macOS may ask you to confirm because the app is distributed directly rather than through the App Store. Right-click the app and choose Open, or use System Settings, Privacy & Security, and click Open Anyway.
  2. Switch to the Security & Redaction tool. It is the fifth tool in the rail on the left, and you can also reach it with Command-5.
  3. Choose your PDF. Drop the file in or pick it with the file chooser. Make sure the Redact tab is selected, not Scrub.
  4. Tell it what to hide. You have three ways to do this, and you can combine them:
    • Words to hide. Type an exact name, account number or phrase.
    • Hide these kinds. Tick one or more built-in patterns: SSN, Phone Numbers, Email Addresses, Credit Card Numbers and Dates. The app finds text that matches each pattern across the document.
    • Or one spot. For a specific area, enter a region in the form page:left,top,right,bottom, with the numbers measured in PDF points from the top-left of the page. For example, 2:72,100,300,130 targets a box on page 2.
  5. Pick the cover colour. Choose Black or White for the box drawn over the removed text.
  6. Click Permanently redact. PDF Foundry works through the pages, removes the matching characters and saves a new file.

The result is saved to your Downloads folder with _redacted added to the name. The app does not overwrite your original, so you always keep the untouched source. If nothing matched, the app tells you and writes no file, which is a useful signal that you may have mistyped the term.

What gets removed

For every match, PDF Foundry deletes the characters from the page content stream so they can no longer be selected, copied or found with search. If the area also overlaps a picture, for example a scanned signature that is placed as an image, the pixels under the area are painted over in the cover colour. A solid box is then drawn on top so the redaction is visible to readers.

Check your work

Never trust a redaction you have not tested. After saving, open the new file in Preview and try these checks:

  • Press Command-F and search for a term you redacted. You should get no results.
  • Select the area with the text tool, copy, and paste into a plain text document. The removed words should not appear.
  • Scroll through every page. Pattern matching can only redact what it recognizes, so confirm nothing sensitive slipped through, such as a number written in an unusual format.

If you need extra assurance, repeat the search with a few variants of the data, for instance a phone number with and without dashes.

Limits you should know about

Being honest about limits is part of doing redaction properly.

  • Scanned documents. PDF Foundry does not perform OCR. If a page is just a photograph of text, there are no characters to search for. For those pages, use the region option to paint over the image area by coordinates.
  • Pattern detection is pattern matching. The Dates and Phone Numbers options match common formats. They will not understand context, so review the output.
  • Other leaks. Redaction handles visible page content. Document properties such as the author name, plus attachments embedded in the file, are a separate matter.

Remove hidden details too

Names can also live in the document's metadata. The Scrub tab in the same tool produces a copy without the author name, document details and files tucked inside the PDF. A sensible workflow for sharing a sensitive file is to redact first, then run the redacted copy through Scrub and save the final result.

What it costs

You can try the app free. Your first three exports are included, and viewing and editing are never limited. After that, a license is $19.99 per year or $39.99 once for lifetime access. Activation works offline and is tied to your Mac.

Quick recap

  • A black box alone is cosmetic; the text underneath stays in the file.
  • Real redaction deletes the characters from the content stream.
  • PDF Foundry does this locally, on your Mac, with no upload.
  • Use Words to hide, built-in patterns, or a precise region.
  • Always verify by searching and copying from the saved copy, and run Scrub for metadata.