All guides

How to redact a PDF without uploading it — and why black boxes aren’t enough

Redacting a PDF means removing information before you share the file: a name in a court filing, an account number on a statement, a salary in an HR letter. Done wrong, the information is still in the file, just hidden behind a shape.

This guide explains why that happens, what PDFPrivy’s Redact PDF tool does instead, and how to check any redacted file yourself — without sending the document to a server.

How to redact a PDF locally, step by step

  1. Open Redact PDF and select your file. Nothing leaves your device.
  2. Draw boxes over what must go, or use Find text to mark every match of a name or number. “Apply to all pages” covers headers and footers.
  3. Choose black or white boxes and a resolution. Higher DPI gives sharper redacted pages and a larger file.
  4. Turn on Preview and go through every page. The opaque boxes show exactly what will be removed.
  5. Export. The new file is checked in your browser, and the download appears only if every check passes.

Redact a PDF without uploading it: what happens on your device

A document you need to redact is one you should not hand to a stranger. Uploading it to a web service means the full, unredacted version sits on someone else’s computer first.

PDFPrivy redacts locally. The pages are drawn by pdf.js, the new file is assembled by pdf-lib, and the check reads it back with both — all inside your browser tab. Your file is not uploaded, there is no account, and nothing is kept once you close the page.

If you want to know what to look for in any online PDF tool, the guide to whether online PDF tools are safe walks through it.

Why a black box on top is not redaction

A PDF page is a list of drawing instructions: put this text here, this image there. Drawing a black rectangle adds one more instruction at the end. The text it covers is still in the list, so a viewer still knows it is there.

That is why badly redacted documents leak: someone selects the “hidden” line and copies it, or searches the file. The words can also sit where you never look — document properties, bookmarks, comments, form fields, attachments, or accessibility tags.

What PDFPrivy does instead

Every page that has at least one box is rebuilt from scratch. The tool draws the page as a picture at the resolution you chose, paints your boxes on that picture in solid black or white, and puts only that picture on a new page of the same size and orientation. The original page’s text, fonts, images, links and form fields are not copied, so there is nothing left underneath.

Pages without boxes keep their selectable text. From the whole file, the tool removes comments, form fields, bookmarks, attachments, scripts, accessibility tags and document metadata such as title, author and dates.

Before the download appears, the new file is read back in your browser. The check confirms that redacted pages contain no extractable text and that your search terms and the covered text are not hidden anywhere in the file’s data, including metadata and accessibility tags. Every page without boxes is also drawn from the original and from the new file and compared; if one looks different, it is converted to an image too, and the result tells you which page. If anything fails, the download is not offered.

Which files this is built for

Redact PDF is built for ordinary PDFs from common programs such as word processors, spreadsheets and scanners. For a file from an untrusted or unusual source, turn on “Convert every page to an image (maximum safety)”: no hidden content survives anywhere, but no page keeps selectable text.

How to check a redacted PDF yourself

Open the redacted file and try to select the area under a box: nothing should highlight. Search for a word you removed: it should not be found on redacted pages. Copy a redacted page into a text editor: there should be no text.

Then open the document properties: title, author, subject and keywords should be empty, and the producer should read PDFPrivy.

Redact a PDF offline

After your first visit with a connection, your browser stores the app, including the redaction tool, on your device. You can then open Redact PDF and work without any internet connection. The page shows “Available offline on this device” once it is ready.

When this way of redacting fits

  • You need to share a PDF but some names, numbers or passages must not be in the copy you send.
  • The document should not touch a third-party server, even briefly.

What redaction here can and can’t do

  • Redacted pages lose their selectable and searchable text, and screen readers can’t read them. Making them searchable again with OCR is not available yet.
  • Find text only sees the PDF’s real text. It cannot find words inside scanned images, so draw those boxes yourself.
  • Find-text boxes are estimates; check that each one covers its word.
  • You are responsible for checking every page in the preview. The tool removes what is under your boxes, not what you missed.
  • Form data and comment text are removed; pages with filled-in forms, stamps or highlights become images.

Frequently asked questions

Is my PDF uploaded when I redact it?
No. Rendering, building the new file and checking it all run in your browser, and the file is not uploaded to any server. You can confirm it in your browser’s Network tab.
Can someone recover the text under a box?
Not from the file PDFPrivy produces: on redacted pages the original text and images are not in the file at all, and the built-in check confirms it before you download. Keep the original safe — it still contains everything.
Why is my redacted page blurry or the file larger?
Redacted pages are images. A higher DPI gives sharper pages and a larger file. Very large pages are drawn at a lower DPI to fit in your browser’s memory, and the tool tells you when that happens.

Ready to try it?

The tool runs locally in your browser — nothing is uploaded.