Redact Sensitive Text in PDF

Securely hide sensitive data by permanently blacking out content.

How to redact a PDF — 3 steps

  1. 1

    Add the document

    Drop the PDF in. It is opened in your browser, which matters more here than anywhere else — a document you are redacting is by definition one containing information that must not leak.

  2. 2

    Mark what has to go

    Draw over every name, number, address, or image that must be removed. Work page by page rather than from memory; sensitive details have a habit of reappearing in footers and appendices.

  3. 3

    Export and verify

    Download the redacted file, then check it: try to select the text under a redaction and search the document for a term you removed. If neither finds anything, the redaction held.

Why drawing a black box is not redaction

A PDF page has layers. The text sits in the content stream as characters at coordinates; a shape drawn over it is another object placed on top. Visually the text disappears. Structurally it is exactly where it was — selectable, copyable, and searchable. Anyone can drag a cursor across the black bar and paste out what it was hiding, and it takes no expertise whatsoever.

This is not a hypothetical failure. Court filings, government reports, and corporate disclosures have all been published with black rectangles over names that were recovered within hours of release, sometimes by people who simply copied and pasted out of curiosity. The same applies to highlighting text in black, changing the font colour to white, and covering content with an opaque image — each hides the pixels and leaves the data.

Real redaction removes the underlying content and then covers the area, so there is nothing left beneath the mark. That is the difference between a document that is safe to release and one that merely looks safe, and it is why the verification step is not optional: after exporting, actually try to select and search for what you removed.

The places sensitive data hides outside the page

Redacting the visible page is necessary but not always sufficient, because a PDF carries material that never appears on screen. Document metadata records the author, the originating software, and often an internal filename or draft title. Bookmarks and the table of contents can quote section headings verbatim, including the name of the party you just redacted. Attachments, comments, form field values, and layers all persist independently of the page content.

Images deserve particular attention. A redaction applied over a photograph or a scanned signature must remove that image data, not merely obscure part of it — and where a page is a scan, the text you are removing is part of the image, so the redaction has to alter the pixels themselves. It is also worth remembering that a small, cropped, or downscaled version of an image can be embedded separately as a thumbnail.

A sound routine covers all of it: redact the page content, then strip the metadata, then check bookmarks and any attachments, then open the finished file fresh and search it for the terms you removed. Where the document is going into litigation, a regulatory filing, or a freedom-of-information response, treat that verification as part of the work rather than a courtesy — the cost of getting it wrong is that the information is public permanently.

Your files never leave your device

Redaction runs entirely in your browser. Uploading a document to a third-party server in order to remove confidential information from it defeats the purpose, and here the file never leaves your machine.

Most online PDF sites upload your document to their servers, process it there, and keep a copy for minutes, hours, or longer. PilotPDF works differently: the page downloads a small processing engine into your browser, and your file is opened and edited in your device's memory using WebAssembly. Nothing is transmitted, so there is nothing for a server to store, leak, or scan. You can even disconnect from the internet after the page loads and the tool keeps working.

Read more about how this works in our privacy-by-design explainer.

Related tools

Frequently Asked Questions

Upload your PDF, draw solid black boxes over sensitive text or images, and save to permanently obscure them.
No! The tool technically flattens the document, rendering the underlying text entirely unsearchable and unrecoverable.
Absolutely not. Redacting happens natively on your device window, ensuring your privacy remains compromised by nobody.
No, typical highlights only visually cover text, allowing it to be copied. Redaction securely destroys the underlying data completely.
Yes, drawing a redaction rectangle over any part of the document ensures that space is replaced with pure solid color.
We advise consulting legal counsel on firm standards, but our flattening techniques permanently remove the highlighted vectors, meeting standard requirements.
By standard, they are pure black. We recommend universally accepted black boxes to clearly signal intentional censoring.
Once you export the newly redacted PDF, the old data is destroyed. Always keep a backup of your original pristine file.
Currently, the tool offers manual visual redaction only to avoid aggressive automated false positives on important forms.
Yes, tracing rectangles with your fingertip natively in the mobile device is fully supported.