Why Black Boxes Fail on PDFs: Redact, Flatten & Lock Files Locally

Drawing a black rectangle over a PDF hides text visually while leaving every character copyable underneath. Burn redactions into flat pixels, lock forms, and encrypt files in your browser.

PDF & Docs · Kapil Pidhwani · 4 min read
Toolity Fox mascot with PDF security and document tools

Fake Black Rectangles vs True Pixel Redaction

A PDF page is not a flat photograph. Each page stacks independent layers for selectable text streams, vector shapes, fillable form widgets, and markup comments.

When you draw a black rectangle or dark highlighter in a standard viewer, the app places a movable vector shape above the text stream. The masked names, bank accounts, or tax numbers stay intact underneath.

Court filings and corporate disclosures leak every year when readers select all text and paste hidden paragraphs into a note. True pixel redaction renders each marked page into a single bitmap image so covered characters cease to exist.

FAKE REDACTION: VECTOR SHAPE OVER TEXT Text Stream ("Acct: 4829-9910") + Movable Black Box Layer -> Ctrl+C still copies secret numbers! TRUE REDACTION: BURNED PIXEL PAGE Marked Boxes Burned at 150 DPI -> Single Flat Image Layer -> 0 Underlying Text Survives
Vector rectangles only cover text visually on screen, whereas pixel redaction destroys the underlying character stream on marked pages.

Redaction, flattening, and encryption solve distinct PDF risks. Match the tool mode to the exact exposure you need to eliminate:

Tool & Mode What It Secures Selectable Text After Export Best Use Case
Redact PDF (Pixel Burn) Destroys masked text, numbers, and photos on marked pages Unmarked pages stay selectable; marked pages become flat images Removing account numbers, SSNs, or client names before sharing
PDF Flattener: Form Fields (Lossless) Converts editable AcroForm inputs into static vector graphics Yes, body text and clickable links remain crisp and searchable Locking filled tax, invoice, or onboarding forms against edits
PDF Flattener: Everything (Rasterise) Bakes comments, stamps, signatures, and layers into page images No, every page converts to a flat image at 72 to 300 DPI Freezing annotated proofs or stamped sign-offs for archiving
Protect PDF (AES-256 Password) Encrypts the full file with a 256-bit AES open password Unreadable until unlocked with the open password Sending confidential contracts, payroll, or statements by email

Secure a Sensitive PDF in Four Local Steps

Run this four-step workflow inside your browser tab before you email any legal contract, KYC scan, or financial statement:

  • Burn permanent redactions. Open Redact PDF and drag Black or White boxes over account numbers or names. Pick 150 DPI or 220 DPI in Settings, then click Apply Redactions.
  • Test the exported file yourself. Open the downloaded PDF and press Ctrl + F to search for a masked term. Drag your cursor across the redacted spot to confirm zero text selects.
  • Flatten fillable fields and layers. Open PDF Flattener and lock tax or onboarding inputs in Form fields (lossless) mode. Choose Everything (rasterise) instead to bake comments and hidden layers into flat images.
  • Strip metadata and lock with AES-256. Clear hidden XMP author history in File Metadata Remover using Remove All. Add an AES-256 open password in Protect PDF before emailing the file.
Separate the password channel: Always send the PDF open password over a separate channel such as SMS or Signal. Never paste the password inside the same email thread as the attachment.

Frequently Asked Questions

Why can I not select remaining text on a redacted page?

True browser redaction converts each marked page into a flat pixel image so zero underlying text survives. Unmarked pages in the same PDF keep their crisp, selectable vector text.

What is the difference between Form fields (lossless) and Everything (rasterise) in PDF Flattener?

Form fields (lossless) locks fillable AcroForm inputs into static vector shapes while keeping body text and links selectable. Everything (rasterise) converts every page into a flat image to bake comments, stamps, and hidden layers.

Does an owner password alone stop someone from reading a PDF?

No. An owner password only sets print, copy, and edit permission flags that third-party readers can ignore. Always set an AES-256 open password so nobody can view a single page without it.

Are confidential contracts uploaded to Toolity?

No. PDF.js, HTML Canvas, and pdf-lib render, redact, flatten, and encrypt every page locally inside your browser RAM. Zero file bytes ever cross the network.

Toolity Fox mascot winking Kapil Pidhwani Kapil builds Toolity.in, a privacy-first suite of free utilities that run locally in your browser. LinkedIn · About Toolity
Copied to clipboard