File Tools

Redact PDF

Black out text and images in a PDF for real: redacted pages are flattened so the hidden content is gone, not just covered. Find emails, phone numbers and more.

Drop the PDF to redact here, or click to browse

Your PDF is opened in your browser and never uploaded.

About this tool

Redact PDF permanently removes what you mark, instead of laying a black box on top that someone can move or copy text from. Open a PDF, flip through its pages, and hide areas with rectangles, circles or a brush, or switch on Redact whole page; every shape stays editable, with undo and redo. Find and redact searches the text for email addresses, phone numbers, SIN and SSN numbers, card numbers, dates and web addresses, or any words, names or regular expression you type (with an optional match-case setting), lists every hit with its page, and boxes the ones you tick. When you download, each page with redactions is rendered as an image at 150, 200 or 300 DPI with the redactions painted into the pixels, so the text, images and fonts underneath are no longer in the file. Pages without redactions are copied unchanged and keep their selectable text. The copy also leaves out the title, author and other document details, XMP metadata, bookmarks, attachments, links, comments and form fields. Your original file is not changed, and the PDF never leaves your browser.

How to use the Redact PDF

  1. Drop in a PDF. It opens in your browser and is not uploaded.
  2. Go to a page and draw rectangles, circles or brush strokes over what you want hidden, or switch on Redact whole page.
  3. To find text, tick patterns such as email addresses or phone numbers, or type words, then choose Find matches, untick anything to keep, and choose Redact selected.
  4. Check each marked page, then pick the colour and quality for the redacted pages.
  5. Choose Download redacted PDF and check the new file before you share it.

Use it from your code

The Redact PDF is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

curl -X POST https://opentools.ca/api/v1/tools/redact-pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@statement.pdf" \
  -F "presets=email,phone,card" \
  -F 'terms=["Jane Doe"]' \
  -F 'areas=[{"page": 1, "x": 400, "y": 40, "width": 150, "height": 60}]' \
  -D headers.txt \
  -o statement-redacted.pdf

Give us your feedback

Help us improve Redact PDF!

Frequently asked questions

Is the redacted text really gone?

Yes, in the downloaded file. Every page with a redaction is replaced by a picture of the page with the redacted areas painted solid, so the text, images and fonts that were on it are not in the new file. Pages you did not mark are copied as they were.

Why can't I select text on some pages afterwards?

Pages with redactions become images, which is what makes the redaction permanent, so their text can no longer be selected, searched or copied. Pages without redactions keep their text. Run OCR on the result if you need the flattened pages searchable again.

What does Find and redact look for?

Email addresses, phone numbers, nine-digit SIN and SSN numbers, 13 to 19 digit card numbers, dates and web addresses, plus any words or regular expression you type, with an option to match case. It searches the PDF's text layer, so it cannot see text inside scanned pages or pictures. Draw boxes over those yourself, and always check the results.

Is there a pixelate option?

No. Pixelated text can sometimes be reconstructed, so PDF redactions are always a solid colour: black, white or one you pick.

What else is removed from the file?

The downloaded copy leaves out the document title, author, subject, keywords, creator and producer, XMP metadata, bookmarks, attachments and document scripts. Links, comments and form fields are removed from every page, because they can hold text or point back at the original pages.

Is my PDF uploaded?

No. The PDF is opened, searched, flattened and saved entirely in your browser, and your original file is left unchanged. Password-protected PDFs cannot be redacted here; remove the protection first.

Redact PDF screenshot