Guide

Redact or crop a PDF: why a black box is not enough

Reviewed 23 November 2026 · 6 min read · Written and maintained by Toolnexo

Before you send a PDF to someone you do not fully trust, you may want to hide a name, an account number or a whole paragraph. The obvious approach is to draw a black box over it. That is a picture of a black box, and the text is still in the file underneath. This guide explains the difference between hiding and removing, why cropping a page has the same weakness, and how to check your result. The tools mentioned here, PDF Redact and PDF Crop on this site, work in your browser, so the document is not uploaded.

Why a black rectangle does not hide anything

A PDF page is a set of drawing instructions: put this text here, draw this shape there. A black rectangle drawn with a markup or annotation tool is one more item placed on top of the text. The text instruction is still in the file. Select all and copy, search for the word, or run a text extractor, and the covered words are there.

That is why hiding is not redaction. Real redaction removes the underlying content so that nothing is left to find.

Why cropping is not deleting either

Every PDF page has a media box, the full sheet, and an optional crop box, the part a viewer shows. Cropping sets the crop box, and the media box too if you leave that option on, to a smaller rectangle, so the page opens at the new size. Nothing is re-rendered and nothing is removed.

The content outside the new boundaries stays inside the file. Cropping is the right tool for taking out scanner margins or fitting a page to a print size. An A4 page of 210 × 297 mm with 15 mm removed on each side becomes 180 × 267 mm, and the original file is not changed. It is the wrong tool for anything confidential.

How true redaction works here

PDF Redact turns each page that has a box on it into an image, paints the boxes solid black onto the pixels, and writes the images into a new PDF. The text and pictures under the boxes do not exist in the output, because the new page is a picture and the black pixels replaced whatever was there.

You can draw boxes by dragging on the page, or type words and tick patterns such as email addresses and phone numbers to box every match. Document properties such as title and author are cleared from the new file.

The trade-offs to expect

  • Redacted pages become pictures, so their text can no longer be selected or searched. Pages you did not box can be kept as they are, with their text and file size.
  • Annotations, form fields and links on a redacted page are drawn into the picture and stop working.
  • Resolution is a balance. 150 DPI suits reading and sharing, and a higher setting is sharper but makes a bigger file.
  • Up to 100 pages per file. A password protected PDF must be unlocked first, with PDF Unlock.

Search finds text, not scanned pages

Searching works only on pages that contain real text. A scanned page is a picture and has no text to search, so draw the boxes by hand on those. Search also looks inside each run of text on the page, so a phrase split across two runs can be missed.

For both reasons, treat search as a way to save time and not as a guarantee. Go through every page of the preview and add or remove boxes before you apply.

Check the result before you send it

  • Open the new file and press select all on a redacted page. Nothing should highlight, because the page is a picture.
  • Use the viewer's search for the words you removed on the whole document. Pages that were not boxed still contain text, so check that the sensitive words do not appear there either.
  • Look at the file name and the document properties. A name in the file name is easy to forget.
  • Keep the original somewhere safe. The redacted copy cannot be un-redacted, which is the point.

Which tool for which job

Use PDF Crop to trim margins, remove a scanner border or fit a page, and accept that the outside content stays. Use PDF Redact whenever the goal is for someone not to see something. If the file is also too big to send, PDF Compress can shrink it afterwards.

Tools in this guide

Put it into practice

How this guide is maintained

This page is reviewed when the related tools change. It describes what the published tools actually do: the tools run in your browser tab, so your files stay on your device. If you find something inaccurate, email [email protected] and it will be corrected.

Keep reading

Other guides

All guides →