Blog

How to redact information in a PDF, one kind of detail at a time

You have a PDF that has to go to someone, and parts of it must not: a client's name in a case file, an account number on a statement, a Social Security number on a tax form. This guide shows how to redact information in a PDF so it is removed from the file, not just hidden behind a box, working through each kind of detail in turn. It uses OpenPdfEdit, a free open source editor that works on the file in your browser tab or in the desktop app, so the document is not uploaded anywhere.

The two tools you will use are Redact, where you drag a box over what should go, and Find & redact, which searches the whole document and lets you review every match before it is removed. Both are under Edit. Both are free.

So this is also how to redact a PDF for free, and without Adobe Acrobat Pro: there is no trial, no account and no page limit. The same steps answer how to redact text in a PDF, how to black out text in a PDF so it cannot be read back, and how to censor a PDF before it goes to a court, a landlord or an employer.

How to redact text in a PDF, in short

  1. Open a copy of the PDF in the web app or the desktop app.
  2. Choose Edit, then Find & redact, tick the kinds of detail to look for and type any names or numbers, one per line.
  3. Press Find, untick anything that should stay, and press Redact. For a picture, a signature or an address block, use Redact and drag a box over it instead.
  4. Save the copy and check it, as described at the end of this guide.

The sections below go through each kind of detail, because each one is found in a different way.

First, make a list and keep the original

Before you touch the file, write down what has to come out. People who redact information on a PDF in a hurry tend to remove the obvious line on page one and miss the same name in a footer on page six. A short list (names, numbers, addresses, anything else the reader must not see) turns the job into ticking items off.

Keep the unredacted original somewhere safe and work on a copy. Once a redacted copy is saved, the words are gone from that file, which is the point, and there is no getting them back from it.

Names, including the short forms

Names have no fixed shape, so nothing finds them on its own. Open Find & redact, untick the built-in categories if you only want names, and type each name under Words or phrases, one per line. Add the forms the document actually uses: the full name, the surname alone, the first name alone, initials, a nickname, a company name that gives the person away.

Whole words only is on by default, so typing "Ann" does not take the first letters of "Annual" with it. Match case is off, so "SMITH" in a heading is found along with "Smith" in the text. Press Find, and every match is listed and highlighted on its page. Untick any that should stay, and press the Redact button under the list, which says how many items will go.

Account numbers and card numbers

Find & redact recognises payment card numbers and IBANs. It checks them properly rather than matching any long number: a card number must pass the card checksum and start the way a real card issuer's numbers do, and an IBAN must have a real country code, the right length for that country and a valid check digit. That keeps the list short enough to read.

Other account numbers, such as a domestic bank account, a policy number, a customer reference or a loan number, have no shape the app can know. Type them under Words or phrases. Watch for partial copies too: a statement that prints the full number at the top often repeats the last four digits further down.

Social Security numbers and other ID numbers

US Social Security numbers are recognised when they are written with dashes or spaces, in the 123-45-6789 pattern, and only with values the Social Security Administration can issue. A number printed as nine digits run together is not matched, because nothing tells it apart from any other nine-digit number. Neither are passport numbers, driving licence numbers or ID numbers from other countries. Type those in as words, or drag a Redact box over them.

Email addresses and phone numbers

Both are recognised. A phone number needs separators or a leading +: North American numbers in the usual formats, a seven-digit local number with a hyphen, and international numbers that start with + and have 8 to 15 digits. A number written as ten digits with no spaces is deliberately skipped. Numbers in other national formats may also be missed, so read the pages yourself as well. The list is a helper to review, not a promise that nothing is left.

Home and business addresses

Addresses are not recognised automatically. The quickest way is usually to drag a single Redact box over the whole address block. If the same address appears in several places, type its most distinctive part, such as the street name or the postcode, under Words or phrases so every copy is found.

Signatures, handwriting and photos

A signature on a scanned page, a photo of an ID card, or a handwritten note is part of a picture, not text. Use the Redact tool and drag a box over it. The pixels of the image under the box are overwritten, so the picture that is saved no longer contains them. A signature drawn as lines in the page itself is removed too: any line that touches the box goes whole.

Find & redact cannot see inside a picture. When a page has no text layer, the panel says so and names the page, rather than reporting no matches as though it had been read, so you know to look at it by eye. To make a scan searchable first, OCR adds a text layer. It is one of the two paid tools, $5 once together with watermarking.

The details that are not on the page

Redaction changes what is drawn on the pages. It does not touch the document's properties, its XMP metadata, attached files, embedded JavaScript or hidden layers. Open Properties to see what the file says about itself: an author name from a template, or a title left over from a draft, often names the very person you redacted.

Properties lets you change the title, author, subject and keywords. It saves the change as a new revision at the end of the file, so the earlier values are still in its bytes, and it does not remove attachments or layers. If the file has to be free of all of that, this is not the tool for it, and it is better to know that before sending.

Check the file name too. "Smith-divorce-statement.pdf" undoes a careful job on the pages, so rename the copy before you send it.

Black box or white box

The box left behind is white by default, which reads as a gap in the page. Pick Black under Box fill in Find & redact, or in the Redact tool, if the reader should see that something was taken out, which is the usual convention for documents disclosed to another party. The choice is remembered for next time.

Check the copy you are about to send

After Find & redact removes the matches, it reads the saved file back and tells you whether any text can still be found where it redacted, and on which page. That is the app checking itself, so do two checks of your own on the saved copy:

  • Open it in a different PDF reader, press Ctrl+F (Cmd+F on a Mac) and search for each item on your list.
  • Select the redacted area, copy it and paste it into a text editor. Nothing of the removed words should come with it.

For the full version, with pdftotext, qpdf and a byte search on a sample file with made-up data, see the redaction test. The tool itself, with steps for Windows, Mac, Android and the browser, is on redact a PDF.

Questions

How do I redact information on a PDF for free?

Open the PDF in OpenPdfEdit, choose Edit, then Find & redact or Redact, and save a copy. Redaction is free, with no account, no watermark and no page limit, and the file is not uploaded.

How do I black out text in a PDF so it cannot be copied?

Use a redaction tool, not a drawn black rectangle or a highlight. A redaction removes the words from the file; a shape only covers them, and the text underneath can still be selected and copied. Pick Black under Box fill if you want the box to show.

Can I redact a PDF without Adobe Acrobat Pro?

Yes. OpenPdfEdit is a free PDF redaction tool that runs in Chrome, Edge, Firefox and Safari and as a desktop app for Windows and Mac. On a Mac, Preview also has a redaction tool; see how to redact a PDF in Preview.

Can I redact a scanned PDF?

Yes, with the Redact box: the pixels under it are overwritten. Find & redact needs text to search, so run OCR first if you want it to find words on a scan.

Related tools

  • Redact a PDF — Remove words and images from the file itself, not just cover them.
  • Redaction test — A test PDF and the steps to check that redacted words are gone from the file.
  • OCR a scanned PDF — Make a scan searchable, in twelve languages.
  • Edit PDF metadata — Change the title, author, subject and keywords a document carries.

More guides

Open the app All posts