Redact a PDF by Blacking Out Regions – Free

Redact a PDF by listing the rectangles to black out. The tool rebuilds every page as an image in your browser, so the covered text is removed and not merely hidden.

How to use the Redact PDF tool

  1. Choose the document under PDF file. It can be up to 60 MiB and 80 pages.
  2. In Page, x, y, width, height (one rectangle per line), enter each area to cover, for example 1, 36, 48, 144, 24.
  3. Select Redact PDF and wait while all pages are rendered.
  4. Check the Result box, which confirms the count, such as 1 redaction rectangle(s) applied.
  5. Select Download to save redacted.pdf, then open it and verify every box before you share the file.

Why this PDF redaction cannot be undone

The classic redaction mistake is to draw a black shape over text in an editor. The words stay in the file, where copy and paste or a text extractor finds them.

This tool avoids that by discarding the original page content. It renders each page to a canvas at two pixels per point, which is 144 pixels per inch, paints your rectangles in solid black on the pixels, saves the canvas as a lossless PNG and builds a new PDF from those images alone. In a test, a ten-page document with 790 text fragments had none left after redaction.

How to write the coordinates

Every line holds five comma-separated numbers: page, x, y, width and height. The unit is the PDF point, 72 to an inch. The values x and y locate the top-left corner of the box, measured from the top-left corner of the page as it is displayed. Width runs to the right and height runs down. Decimals are allowed for the four measurements, and the page must be a whole number.

A US Letter page is 612 by 792 points and an A4 page about 595 by 842. If your viewer reports positions in inches, multiply by 72.

1, 36, 48, 144, 24

page         1
left edge    36 pt  (0.5 in from the left)
top edge     48 pt  (0.67 in from the top)
width        144 pt (2 in)
height       24 pt  (0.33 in)
covers       x 36 to 180, y 48 to 72

Side effects of image-based redaction

Removing the text layer is the point of the tool, and it affects the whole document, not only the boxes.

  • All pages become images, including pages without any rectangle. Nothing can be selected or searched afterward.
  • Files made of text usually grow. A 12.9 KB text document became 3.55 MB, and a two-page scan went from 2.19 MB to 2.69 MB.
  • Links, bookmarks, form fields and document properties of the source are not present in the export.

Validation errors and what triggers them

The input is checked before and during rendering. Any failure cancels the export.

  • Enter one valid page, x, y, width and height per line: a line has the wrong number of values, is blank, contains text, has a negative x or y, a zero width or height, or a fractional page.
  • A selected page is outside the document: a page number is higher than the page count.
  • A redaction rectangle extends outside page 2: the box crosses the right or bottom edge of the named page.
  • Enter up to 500 redaction rectangles: the list is too long for one run.

Frequently asked questions

Can redacted text be recovered from the exported PDF?

No. The export contains only pictures of the pages, and the pixels under each box are black. No text objects from the source are copied. Text outside your boxes is still readable in the image, so check that the boxes cover everything.

How do I find the coordinates of the area to redact?

Measure from the left and top page edges to the area in a viewer or image editor and convert to points at 72 per inch. Start slightly larger, export, inspect the result and adjust.

Does redaction also remove document metadata?

Yes. The output is a newly created file that holds page images. Title, author, attachments and hidden layers of the source document are not transferred into it. Visible annotations become part of the page picture.

Can I use a different color or a label on the box?

No. Rectangles are always solid black. There is no option for labels, white boxes or blur, and a solid fill is the safer choice because blur and pixelation can sometimes be reversed.

Is the document uploaded for redaction?

No. Rendering, painting and rebuilding the PDF all take place in your browser. Sensitive pages are never transmitted.

Related tools