TrimPDF
All guides

How to redact a PDF safely (and why black boxes aren't enough)

Black boxes don't remove PDF text. Learn how real redaction works, how to verify it, and how to do it free in your browser.

Nov 16, 2026 · 4 min read

Skip the reading: use our free Redact PDF.Open tool

If you've ever drawn a black rectangle over a credit card number in a PDF and felt satisfied, this guide is for you. That rectangle is almost certainly not redaction. The text is still there, one copy-paste away.

This is not a hypothetical. It's one of the most common document leaks in the world: someone "redacts" a page, sends it, and the hidden text is extracted by the recipient in seconds. Courts, newspapers, and governments have all been burned by this exact mistake.

Here's how to do it properly.

What redaction actually means

Real redaction removes the underlying text from the PDF file. When you open the redacted file in any PDF reader and select-all, then copy-paste into a text editor, the redacted words should not appear. Not "appear in white" — should not exist at all.

A black box on top of text is censorship, not redaction. It hides the text visually while leaving it fully extractable.

How to redact safely

The clean way is to use an editor that supports true redaction, and to verify the result before you send it. Here's the workflow that works:

1. Open the PDF in the TrimPDF redaction tool. It runs entirely in your browser — the file never leaves your device, which matters when the document is confidential.

2. Choose the Redact tool from the left toolbar. Drag a box over everything you want to hide. You can add as many boxes as you need.

3. Review before you download. The boxes you draw are just marks. Nothing is applied yet. Move them, resize them, or undo them if you misclicked. This is the moment to be careful — redacting too little is worse than redacting too much.

4. Click Download. The editor applies the redactions to a hidden copy of the file and gives you that copy. The original stays untouched, so if you spot a mistake you can undo and try again.

5. Verify the result. Open the downloaded file in any PDF reader (Chrome, Preview, Acrobat). Select all the text, copy it, paste it into a plain text editor. Search for the redacted words. They should not be there.

If they are, the tool you used wasn't doing real redaction. Do not send the file.

What not to do

  • Don't draw a black rectangle over the text. This is the most common mistake. The text underneath is fully intact and extractable.
  • Don't use a "highlighter" or "strikeout" annotation and assume it removes the text. Those are visible markup, not redaction.
  • Don't trust a tool that doesn't let you download and verify the result. If the tool claims to redact but won't give you a file you can inspect, it's not redacting anything.
  • Don't use a cloud-based redaction tool for sensitive documents unless you're certain about its data handling. The safest redaction happens on your device, where the file never leaves. See our guide to why uploading bank statements to cloud PDF sites is risky.

What to redact

For most documents, the answer is more than you think:

  • Personal identifiers: name, address, phone, email, date of birth, national ID, tax ID
  • Financial data: account numbers, card numbers, transaction amounts you didn't intend to share
  • Signatures: a handwritten signature can be forged if it's left visible
  • Metadata: PDFs often carry hidden metadata (author, software, creation path) that you should also check
  • Comments and hidden layers: some PDFs contain annotations or layers that aren't visible on screen but are still in the file

For a bank statement, a medical record, or a legal document, assume the recipient can see everything that isn't explicitly removed.

How to check a PDF for hidden content

Before you send a redacted PDF, do these three checks:

1. Search for the redacted words. Open the PDF in a reader, press Ctrl+F (or Cmd+F), and search for the text you redacted. If it finds anything, the redaction failed.

2. Copy-paste the whole page. Select all, copy, paste into a plain text editor. Read it. If you see redacted words, the redaction failed.

3. Open the file's metadata. In most PDF readers, right-click the document and choose "Properties." Check the Author, Title, Subject, and Keywords fields. These often contain information you didn't intend to share.

The TrimPDF tools do not add new author or timestamps to your file, but they do not remove metadata that was already there, so it is still worth checking.

The short version

Real redaction removes text from the file. A black box does not. The only reliable way to know a PDF is actually redacted is to download the result and search it for the words you removed. If they're still there, don't send it.

The TrimPDF redaction tool removes text from the file entirely and runs in your browser — no upload, no account, no risk of the file sitting on someone else's server. If you handle confidential documents regularly, that's the workflow to get used to.

Ready? Redact PDF is free, with no signup.

Open Redact PDF

More guides

Cookies and advertising. We use non-essential cookies only to show relevant ads. You can accept or reject them; our tools work either way. Privacy policy