Latch

How to redact a PDF

Search for a name or number, or draw a box over anything else, then download. Every page is rebuilt with the bars burned into its pixels. The text underneath is removed rather than covered, so there's nothing left to copy back out.

Your files never leave this device
Black out anything private

Drag & drop your PDF

Accepts PDF · up to 150 pages, 100 MB

How to black out text in a PDF

Four steps in the editor above.

1

Open your PDF

Drag your PDF onto the editor, or click Browse to pick it from your device.

2

Find or draw what to hide

Type a name or number into Find and black out, or tick what to look for, and every match gets a box. Drag a box over anything else. Move, resize or delete any box before you export.

3

Check every page

Use the page strip to review each page. Search can't see text inside pictures or scans, so look at every page yourself. If the same detail sits in the same place throughout, draw it once and use Copy boxes to all pages.

4

Redact and download

Every page is rebuilt with the bars baked into the pixels, so the text underneath is gone rather than covered.

Why a black box in a PDF editor isn't redaction

A PDF stores a document as a list of instructions for drawing it. Draw a black rectangle over a name in a PDF editor and the name stays where it was. The editor adds one more instruction, "paint this area black", which runs after the one that says "write this name here". Both are still in the file. Select the area and copy it, run the file through a text extractor, or open it in a different viewer, and the words come back out intact.

This is the most common way redactions fail, and nothing warns you when it happens. On screen the document looks redacted, so nobody notices until someone thinks to check. It has caught out courts, government departments and law firms often enough that "redacted PDF leaks its own text" is a recognised genre of story. In those stories the bar looked fine. The leak came from the text still sitting underneath it.

The two traps people fall into most

A rectangle drawn in a free PDF reader. Free readers let you draw a filled shape, but a shape is an annotation sitting on top of the page, and the text beneath it is untouched. In Adobe's lineup, real redaction is part of Acrobat Pro; the free Reader can't do it.

Black highlighting in Word before exporting. Shading text black, or setting black text on a black background, only changes how it looks. Export that to PDF and the words go with it, still selectable. If you still have the source document, delete the sensitive text there. Otherwise, redact the exported PDF here.

What this tool does instead

Every page is rendered to a canvas, the black bars are composited into those pixels, and a new PDF is assembled from the finished images. The text layer is never carried across into the file you download. No instruction is left that would draw those words, and there is no object to peel a rectangle away from, because the page is no longer built out of text.

Rebuilding the file instead of editing it has a useful side effect. The hidden parts of the original don't come along either. A PDF can carry document metadata, annotations and comments, attachments, form-field values and earlier saved versions of a page without showing you any of them, and each of these has leaked from documents that looked clean. The copy you download has none of them.

Finding names and numbers for you

Most PDFs made on a computer still contain their text, which is why a badly redacted one leaks. The same text makes it possible to search. Type a name, a phrase or a number into Find and black out and every match across the document gets a box. It ignores capitals, and a number matches however it's spaced, so 41234567 also finds 4123 4567. Or tick what to look for: email addresses, phone numbers, UK sort codes and account numbers, IBANs, card numbers, National Insurance numbers and US Social Security numbers. Card numbers and IBANs are checked against their built-in check digits, which keeps random strings of digits from being blacked out.

The text tells the tool roughly where each word is. The box is then fitted to the printed characters on the page itself, so it covers the whole word rather than a guess at it. Like everything else here, the search runs on your device.

Search only sees text the PDF actually contains. A scanned page with no text layer, a photo of a document, a signature or a logo is just a picture to it, and the tool tells you which pages it couldn't read. Patterns can also miss a number written an unusual way. Treat the results as a head start and still look at every page.

The trade-off

Destroying the text layer destroys all of it, including the text outside your bars. The redacted PDF is a stack of images. You can't select or search its text, a screen reader can't read it aloud, and it will usually be a larger file than the original. A file can't keep its text and also guarantee the text is gone. If you also need a searchable document, keep that one separately and use the redacted file as the copy you share.

If nothing needs to be hidden and you only want the document to stop being editable, with its form fields locked and its annotations merged in, that's a different job with a cheaper answer. Flatten it instead, which can do that while leaving the text sharp and searchable.

The tool can't decide for you what to cover. Check every page before you export, including headers, footers, page margins and anything that repeats. Remember too that a document can identify someone through context as easily as through a name.

How to check a PDF is really redacted

Whoever made the file (this tool, Acrobat or a colleague), these checks take a couple of minutes and catch the failures above. Run them on the exact copy you're about to send rather than the one you were editing.

  1. Copy across a bar. Drag-select over a blacked-out area, copy, and paste into a plain text editor. If words appear, the bar is only covering the text.
  2. Search for what you removed. Search the document (Ctrl+F, or ⌘F on a Mac) for a name or number you blacked out. Any match means the text is still in the file.
  3. Read the document properties. File → Properties shows the title, author, subject and keywords. These often hold a client's name or the original filename.
  4. Open the side panels. Look through the comments, attachments and bookmarks panels. Each can hold text that never appears on a page.
  5. Extract all the text. If you're comfortable in a terminal, pdftotext redacted.pdf - from the free Poppler tools prints every piece of text in the file. On a file redacted here it comes back empty, because no text is left.

Frequently asked

Can redacted PDF text be recovered?

Not from a file redacted here. This tool doesn't draw a box over your text. It renders every page to an image with the blacked-out areas already burned into the pixels, then rebuilds the PDF from those images, and the original text layer is not carried across. There's nothing under the bar to select, copy or extract, because the page is no longer made of text. That's the difference between this and a black rectangle drawn in a PDF editor, where the words are still in the file and come straight back out with copy and paste. Why redacted PDFs leak, with real cases.

Is my PDF uploaded anywhere?

No. The document is opened, rendered and rebuilt entirely in your browser. There's no upload endpoint to send it to. Once the page has loaded you can disconnect from the network and the tool still works.

Can I redact a PDF for free?

Yes. This tool is free, with no account, no watermark on the output and no daily limit. A single PDF can be up to 150 pages and 100 MB.

Can I redact a PDF on a Mac, iPhone or iPad?

Yes. It runs in the browser, so it works the same in Safari on a Mac, iPhone or iPad as in Chrome, Edge or Firefox on Windows. There's nothing to install. On a phone, drag with one finger to draw a box.

Why can't I select the text in the redacted file?

Because that's what makes it safe. The whole page becomes an image, so no text remains anywhere in the document, including outside the bars. If you could still search a redacted PDF, its words would still be in the file.

Does the redacted file get bigger?

Usually, yes. A page of text stored as text is very compact; the same page stored as an image is not. Standard quality renders at 150 DPI and suits most documents. High renders at 300 DPI and is sharper but larger, so choose it if the result will be printed or zoomed into.

Does it work on scanned PDFs?

Yes, and a scan is the simplest case. The page is already an image, so nothing is lost by rebuilding it. Scans often carry an invisible OCR text layer added by the scanner or by Acrobat. That text is searchable and copyable, and rebuilding the page removes it too. If a scan has that layer, Find and black out can search it as well. If it doesn't, draw the boxes by hand.

Can I redact a password-protected PDF?

Yes, if you know the password. You'll be asked for it when you open the file. It's used in your browser to unlock the document and isn't sent anywhere. The redacted copy is saved without a password.

Can I redact several pages at once?

Yes. Every page keeps its own boxes, and the page strip shows which pages you've marked. When the same detail appears in the same position throughout, such as a letterhead, a footer or an address block, draw it once and use Copy boxes to all pages, then check each page, because a box that fits page one may not fit page four.

Can it find and black out text automatically?

Yes. Type a name, phrase or number into Find and black out and every match in the document gets a box, or tick what to look for: email addresses, phone numbers, UK sort codes and account numbers, IBANs, card numbers, National Insurance numbers and US Social Security numbers. Each box is fitted to the printed characters on the page, and you can adjust or remove any of them before you export. Search only sees text the PDF contains, so it can't find anything in a scan without a text layer or inside a picture. The tool lists the pages it couldn't read, and you should still check every page.

What happens to the rest of the document?

The output is rebuilt from scratch, so it carries none of the original's hidden extras either: no document metadata, no annotations or comments, no attachments, and no form fields. The visible content stays where it was, at the same page size and orientation.

Related: Can redacted PDF text be recovered? · Redact a bank statement · Flatten a PDF · Redact an image · Blur a face · Pixelate an image · Remove photo metadata

The same trap catches images too: why a bar drawn on top of something isn't the same as removing it.