Why boxes on top aren’t enough
A PDF is a set of drawing instructions, not a picture. Text is stored as text objects; a black rectangle drawn later is just another object on top. Anyone can select the text under the box, copy it, or delete the rectangle in an editor. Court filings and government reports have leaked this way many times. Images have quieter versions of the same problem: metadata such as EXIF, embedded thumbnails, or an editor that saves layers.What Redact does instead
Redact never edits the uploaded file. When you select Done, it starts from the page rasters it prepared at the beginning, the same PNG images the review workspace shows. For each page it paints every accepted and manual mark as solid pixels onto a canvas and encodes the result as a new PNG.- A PNG or JPEG source becomes one new
.redacted.png. - A PDF source becomes a new PDF built with
pdf-lib, where each page is a single full-page image. There are no text objects to copy because no text was ever written.