Skip to content

Redact PDF

Redact PDF: Permanently Remove Sensitive Text

Black out names, addresses, account numbers, and any other PII before sharing your PDF. Everything happens in your browser: your file is never uploaded.

  • Runs in your browser
  • Nothing uploaded
  • No sign-up
  • Free, no daily limits
  1. 1Add your file
  2. 2Choose settings
  3. 3Download

Upload a PDF to redact

Your file is processed locally in your browser. Nothing is uploaded.

Your file is safe

It is processed inside this browser tab and never uploaded, and it is gone when you close the page.

Good to know

  • Redacted areas become permanent opaque boxes rendered directly into the page raster.
  • Copying or searching text from a redacted area does not reveal what was underneath.
  • Unredacted pages stay full vector quality with selectable text.

PDF redaction is the process of permanently removing confidential or identifying text from a PDF document. Unlike drawing a black box annotation over text, which leaves the underlying characters selectable and searchable, true redaction eradicates the sensitive content from the file structure.

TryDocsy Redact PDF runs entirely in your browser using pdf-lib and PDF.js. You draw rectangles over the exact areas you want to hide, and the tool produces a clean PDF where redacted pages are converted to high-resolution images. Because processing occurs client-side in memory, your private files never touch a remote server.

Common redaction use cases include censoring social security numbers, banking details, personal phone numbers, addresses, and candidate names before sharing documents with third parties.

To fix a typo or white out something that isn't sensitive, see how PDF editors differ or read how to remove text from a PDF.

Which Tool Do I Need: Redact, Sanitize, Remove Metadata, or Flatten?

Securing a PDF involves different mechanisms depending on what data needs to be removed. Here is how TryDocsy's four privacy tools differ in code execution and purpose:

ToolWhat It RemovesUnderlying Code ActionVector Text StatusWhen to Use
Redact PDFVisible text, photos, and signaturesFlattens redacted pages to JPEG at scale 2 (max 4M pixels)Removed on redacted pages; intact on clean pagesCensoring personal data, account numbers, and ID numbers
Sanitize PDFExecutable JavaScript, auto-actions, and embedded filesStrips /OpenAction, /AA, and names dictionary streams100% IntactNeutralising active payloads and macros before opening untrusted files
Remove MetadataDocument Info dictionary and XMP tracking streamsPurges Author, Title, Creator, Producer, and XMP blocks100% IntactScrubbing author identities and revision dates before public release
Flatten PDFInteractive AcroForm fields and annotationsMerges field widgets into static page content via getForm().flatten()100% Intact (Static)Locking submitted contract forms so fields cannot be modified

Measured Proof: True Redaction Versus Vector Annotation Overlays

Most desktop viewers and basic online editors perform fake redactions: they place a black visual rectangle over the page but leave the underlying text operators intact. Anyone inspecting the document with pdfjs or copying with Ctrl+A can extract the hidden text. TryDocsy uses true client-side flattening. We tested this in our benchmark suite with before-simple.pdf:

StageFile NameSizepdfjs Text Content ExtractionSelectable Text Status
Before Redactionbefore-simple.pdf1,039 bytes'Due Date: 15 Oct 2024' (1 item found)Selectable and searchable
After TryDocsy Redactionbefore-simple-redacted.pdf9,404 bytes0 text items found (completely empty)Permanently eradicated

Code fact: Redacted pages are flattened using Math.min(TARGET_SCALE, cap) where TARGET_SCALE = 2 and MAX_PIXELS = 4_000_000, ensuring high-DPI clarity without browser memory exhaustion. Unredacted pages are transferred directly via outDoc.copyPages, retaining 100% original vector typography.

How to Redact a PDF

  1. 1

    Select or drop your PDF: processing runs locally in your browser memory without uploading.

  2. 2

    On each page, click and drag to draw an opaque black redaction rectangle over sensitive text or images.

  3. 3

    Use the page navigator to review the file. Pages without redactions remain untouched in full vector quality.

  4. 4

    Click 'Apply & Download' to generate your redacted PDF with the blackened areas burned permanently into the page.

  5. 5

    Open the downloaded PDF in any reader to verify that the text under the boxes cannot be highlighted, selected, or searched.

Related PDF Security Tools

Frequently Asked Questions

Why is my PDF still searchable after I blacked it out with drawing tools?

Standard PDF viewers only draw a visual black box annotation on top of the text layer, leaving the underlying text stream completely searchable and copyable. TryDocsy eliminates this risk by rendering redacted pages to a fresh image at scale 2 (capped at 4,000,000 pixels). The covered characters are permanently erased from the document stream, which we verified by extracting zero text items from before-simple-redacted.pdf.

How do I redact a PDF for free without Adobe Acrobat Pro?

Upload your document to TryDocsy Redact PDF, draw black boxes over confidential details, and click Apply & Download. The tool permanently redacts the specified regions in your browser without requiring an Adobe Acrobat subscription.

Are unredacted pages converted to images or kept as vector text?

Unredacted pages are never rasterised. TryDocsy copies clean pages verbatim, preserving crisp vector typography, selectable text, and original file size. Only pages containing redactions are converted to images.

What is the difference between redacting, sanitizing, removing metadata, and flattening?

Redacting removes visible text and graphics by rasterising target pages. Sanitizing removes active JavaScript, launch triggers, and embedded attachments. Removing metadata scrubs author and document info properties. Flattening converts interactive fillable form fields into permanent page content.

Can someone reverse a redaction made with TryDocsy?

No. Redacted pages are flattened to a JPEG image where the hidden pixels are painted solid black. Because the underlying text characters and image layers are never written into the output file, the redaction cannot be undone.

Does redaction work on scanned document pages?

Yes. TryDocsy renders every page to canvas, so you can draw redaction rectangles over scanned handwriting, photos, and printed text alike.