Guides › Redact a PDF

How to redact a PDF properly

If you hide an ID number or account number in a PDF and the text can still be copied, the redaction has failed. Covering text and removing text are two different things.

What does it mean to redact a PDF?

To redact a PDF is to permanently remove part of its content, such as a name, an account number or a whole paragraph, and leave a black box where it used to be. The box is only the visible mark. The redaction itself is the removal: afterwards the text can't be selected, copied, searched for or recovered from the file. Blacking out, hiding or covering text looks the same on screen, but it only counts as redaction if the text underneath is gone.

Why a black box isn't enough

Many people “black out” text by drawing a black rectangle over it. It looks hidden, but the text is still inside the PDF. Anyone can select across the box and copy it, search for it, or remove the rectangle in an editor and read the original. Leaks caused by exactly this mistake have been reported many times. If you already have a file like this, see when a redaction can be removed and how to fix it.

How to black out text in a PDF: redact a selected area

PdfMonster's Redact tool removes the text that overlaps the area you mark from the PDF's content, and then draws a black box in its place. To use it:

  1. Open your PDF on the Redact PDF page and pick Redact in the toolbar (shortcut X).
  2. Drag a rectangle over the part of the page you want to hide: a word, a line, a table cell or a whole block. You can mark several areas on any page.
  3. Press Download. The redaction is applied at that moment, and a message such as “removed N text object(s) from the PDF” appears.

Find and redact in bulk

In a long document, dragging over every item is tedious. Open Find in the toolbar (Ctrl+F) to search for text or to automatically find data that looks personal.

  1. Type the text to find, or pick a type: phone numbers, ID numbers, emails, card numbers, business registration numbers or account-like numbers.
  2. Matches appear in a list grouped by page and are marked on the page. Untick any you don't want to redact. Click an entry to jump to its page.
  3. Press Redact N selected. They all become redactions, and the text is actually removed from the PDF when you download.
Automatic finding works from the shape of numbers and text, so it can miss things or flag numbers that aren't personal. Account-like numbers in particular are matched loosely. Skim the list before you apply the redactions, and check the downloaded file as described below.
Finding phone numbers, ID numbers and emails in the Find panel
Finding phone numbers, ID numbers and emails in the Find panel. Matches are highlighted on the page.

Redacting account numbers, card numbers and Social Security numbers

Bank statements, invoices and tax forms repeat the same numbers in headers, footers and tables, so one missed copy undoes the rest. What the Find panel picks up on its own, and what it doesn't:

What you need to hideHow to find it
Numbers written in groups with hyphens, such as 123-45-6789 or 110-234-567890Tick Account-like numbers. Social Security numbers written as 3-2-4 digits fall into this group too.
16-digit card numbers in groups of fourTick Card numbers.
An account number written as one unbroken run of digitsIt has no shape to recognize. Type the number, or just its last digits, into the search box so every occurrence is listed.
A number split across two lines, or inside a logo or stampDrag over it by hand with the Redact tool.

If the recipient needs to see which account it is, leave the last four digits: drag the box over the leading digits only instead of redacting the whole match. Text is stored in pieces, so a number saved as one piece is removed whole even then. Check the downloaded file, and if the last four digits went too, write them back next to the box with the Add text tool.

Why can't I redact a scanned PDF?

You can cover it, but there is no text to delete. A scanned page is one large photograph, and the words in it are pixels. When you drag a redaction box over a scan, PdfMonster warns you that an image lies under the box: the box is drawn on top, and the picture underneath stays in the file. Someone who edits the PDF and removes the box would see the words again.

To make a redaction on a scan permanent, turn the page and the box into a single picture:

  1. Redact the scanned PDF and download it.
  2. Open the downloaded file in PDF to JPG and save the pages as images. The black box is now part of each picture.
  3. Put the images back into one file with JPG to PDF.

The result has no layers left to peel apart. The trade-offs are a larger file and no selectable text, which a scan didn't have anyway. If you still have the document the scan was made from, fixing that source and exporting again is cleaner. More on telling scans from text PDFs: when a scanned PDF can't be edited.

Things to know

How to check that it worked

  1. Open the downloaded PDF in any PDF viewer (your browser, Acrobat, and so on).
  2. Drag across the black box, or press Ctrl+A to select everything, copy it, and paste it into a text editor.
  3. Search (Ctrl+F) for the words you redacted. There should be no matches.
  4. You can also reopen the file in PdfMonster and confirm that the line is empty.
Important: always run these checks before sending a document that contained personal information. PdfMonster doesn't upload your file, so your original never leaves your computer while you work.

The best way to redact a PDF: a short checklist

  1. Work on a copy. A real redaction can't be undone, so keep the original somewhere safe.
  2. Search before you drag. Names and numbers repeat in headers, footers, signatures and tables. Searching lists every occurrence; dragging only catches the ones you notice.
  3. Use a redaction tool, not a shape. Black rectangles, a black highlighter and white text all leave the words in the file.
  4. Treat scans separately. Flatten them to images as described above.
  5. Verify the downloaded file by copying and searching, not by looking at it.
  6. Check what else travels with the file: the file name, the document title and the page order. The checklist before you send a PDF covers these.

Try the redact tool

Related: Can a redaction be removed from a PDF? · Using an online PDF editor safely

More guides