FilePrivy
Compress ImageHEIC to JPGCrop ImageMerge PDFCompress PDFGuides
FilePrivy › Guides

How to Redact a PDF Properly, and Why a Black Box Is Not Redaction

FilePrivy guide · November 11, 2026

Every few years a court filing, government report, or corporate document is published with "blacked out" passages that anyone can read by selecting the text and pasting it elsewhere. In a well-known 2019 example, a filing by Paul Manafort's lawyers revealed redacted details because the black bars were only drawn on top of the text. These are not hacks. They are the predictable result of misunderstanding how PDFs store content.

Why a black box is not redaction

A PDF page is built from layers of drawing instructions. Text is stored as actual characters with positions and fonts. When you draw a black rectangle with a shape tool, highlighter, or annotation, you add a new object on top. The text underneath is untouched. It is still in the file, still selectable, still searchable, and still extractable by any tool that reads text.

The same applies to:

  • Black highlighting in a PDF editor: an annotation over the text.
  • Redacting in Word and exporting to PDF by changing the text's background or color to black: the characters are still exported.
  • White boxes used to "erase" text: even less visible, equally recoverable.
  • Images under a box: if a scanned page has a box drawn over it, the full image remains beneath. Remove the box and the content reappears.

True redaction means the information is removed from the file, and the black box is just a visual marker showing where something was taken out.

Where else sensitive data hides

LocationExampleWhat to do
Text layerCharacters under a drawn boxUse a tool that deletes text inside the area
OCR layer on scansInvisible text added by OCR on top of a scanned imageRemove both the image pixels and the OCR text
MetadataTitle, author, subject, keywords containing names or case numbersClear document properties and XMP
Bookmarks and outline"Section 3: Complaint by Kim Minji"Edit or remove bookmarks
Annotations and commentsReviewer notes, sticky notesDelete or flatten after review
Form field valuesA hidden or off-page field still holding dataFlatten or remove fields
Earlier revisionsContent kept by incremental savesSave as a fully rewritten new file
Attachments and layersEmbedded spreadsheets, hidden optional content layersRemove attachments, merge layers
Image metadataEXIF inside embedded photos (GPS, device)Sanitize embedded images
File nameReport_ParkJisoo_final.pdfRename before sharing

What to redact: think beyond the obvious

Names and ID numbers are obvious. Re-identification usually happens through combinations of smaller details:

  • Phone numbers, email addresses, account and card numbers, partially masked numbers that appear unmasked elsewhere in the document.
  • Addresses, workplace names, job titles in a small organization.
  • Dates of birth, exact dates of events, ages combined with locations.
  • Signatures, photos, handwriting.
  • Headers, footers, and page stamps that repeat the information on every page.
  • Text in images: charts, screenshots, scanned attachments.

Use the search function to find every occurrence of a name or number. Redacting it on page 2 and missing it in the footer of page 14 defeats the purpose.

A reliable redaction process

  1. Work on a copy and keep the original in a safe place.
  2. Mark all areas to redact, using search to find repeated terms.
  3. Apply redaction with a tool that removes the underlying text and image pixels, not just covers them.
  4. Sanitize: remove metadata, comments, bookmarks, attachments, hidden layers, and earlier revisions.
  5. Save as a new file, never as an incremental save over the original.
  6. Verify the result with the checks below.

The maximum-safety option: rasterize

If you cannot be sure about a tool, convert the redacted pages to images and rebuild the PDF from those images. Every page becomes a flat picture: text layers, metadata, and hidden objects are gone. The cost is that the document is no longer searchable or copyable and can be larger. You can run OCR afterward to restore searchability; the OCR will only find what is visible, which is exactly the point.

How to verify a redaction

  1. Select and copy. Drag-select across a redacted area, copy, and paste into a plain text editor. You should get nothing, or only the surrounding text.
  2. Search. Use the viewer's search (Ctrl+F / Cmd+F) for the redacted name or number. Zero results is the only acceptable outcome.
  3. Select all. Press Ctrl+A on each page and look for highlighted text inside the black areas.
  4. Check properties. Open document properties and confirm the title, author, subject, and keywords are clean.
  5. Check the sidebar. Look at bookmarks, attachments, layers, and comments panels.
  6. Try another viewer. Open the file in a different PDF reader or browser; some hidden content renders differently.
  7. Check scans at high zoom. Make sure the image pixels under the box are truly black, not a semi-transparent overlay.

Common mistakes

  • Redacting in an editor that silently stores redactions as annotations until you "apply" them, and forgetting to apply.
  • Masking only part of a number (like the last four digits) when the full number appears in a table on another page.
  • Sharing the editable source document (Word, HWP) instead of the redacted PDF.
  • Leaving the reviewer's name in comments or document properties.

How to do it with FilePrivy

Redact PDF finds common personal data automatically (such as phone numbers, email addresses, card and bank numbers, and Korean resident registration numbers) and lets you drag boxes over anything else. It paints the boxes into the page pixels and rebuilds the marked pages, which is the rasterize approach described above, so nothing underneath survives, while untouched pages keep their original quality. Then run Sanitize PDF to remove metadata, comments, attachments and scripts, and use OCR PDF if the redacted pages need to be searchable again. Everything is processed in your browser, which matters when a document is sensitive enough to redact.

Tools mentioned in this guide

  • Redact PDF & Images
  • Sanitize PDF
  • OCR PDF (Searchable)

← All guides

Image tools

Compress ImageCompress to 10 KBCompress to 20 KBCompress to 30 KBCompress to 50 KBCompress to 100 KBAll tools →

PDF tools

Merge PDFSplit PDFDelete PDF PagesRotate PDFJPG to PDFPDF to JPGAll tools →

Video tools

Video to GIFCompress VideoVideo to MP3Trim & Edit VideoConvert VideoAudio Cutter & ConverterAll tools →

Social media tools

Square Fit (No Crop)Instagram GridInstagram Post SizeInstagram Story SizeYouTube Thumbnail SizeFacebook Cover SizeAll tools →

Web & developer tools

Favicon GeneratorImage to Base64Base64 to ImageQR Code GeneratorColor Palette from ImageImage to Text (OCR)All tools →

Privacy tools

Remove Photo MetadataRemove PDF MetadataRedact PDF & ImagesBlur FacesEXIF ViewerSanitize PDFAll tools →

FilePrivy

AboutContactPrivacyTermsHow it worksGuides

🔒 Every file is processed in your browser. Nothing is uploaded. Works offline.

🌐 English한국어日本語简体中文EspañolPortuguêsFrançaisDeutschItalianoРусскийTürkçePolskiNederlandsBahasa IndonesiaTiếng Việtไทยहिन्दीМонголالعربية

© 2026 FilePrivy