7

I need to send a pdf containing bank details about a payment, only some of the data in the pdf is relevant to the receiver, and I would like to hide everything else.

I have opened the PDF in preview and I put white squares on all the numbers I want to hide, and "printed" it to a new PDF.

When I open the new PDF all the data is invisible, but I can still select the text using the mouse, copy it, and paste it to a text document. All the data is still there, easily accessible.

How could I delete the data for good so that it's not there any more?

here's a screenshot of me selecting the data although it's hidden: screenshot

Rik
  • 13,565

5 Answers5

3

If you don't need the text to be selectable or searchable you can try this trick:

After blocking out the text you want hidden, export the document to TIFF format. You do this via the menu item File > Export... and then choosing TIFF from the format menu at the bottom. This will create a large image file.

Open this file and export again but this time back to PDF.

You'll end up with a PDF containing an image of each page instead of text.

Yony
  • 133
  • 6
2

The only way I've managed to do it with Preview is by adding a black rectangle with the "add shape" option under Markup Toolbar. Then you can shape the rectangle to fit the text you want to hide! You just have to save it on print > save as pdf, or else other programs will be able to mess with it.

0

You can do this with free tools like LibreOffice. The current download version is 6, but I managed to open a PDF with LibreOffice 5, edit the text (actually using a cursor to remove or alter text characters), and at the time of saving it will ask you to use its .odt format, but it also has an option of Export to PDF. The generated PDF won't contain the removed/altered text, since it wasn't merely hidden.

0

Open it with a PDF editor, like Acrobat Standard, and actually remove the text you want gone, then save it.

0

Open the PDF in Irfanview (which creates a bitmapped image from it). Then use Irfanview to blot out the necessary passages and save it, either as PDF or as JPEG.

As Yoni points out you will no longer have searchable text if you do this, because it is now an image, not a text document. If you need to be able to select/search the rest of the text, then you need Acrobat Standard, as Ƭᴇcʜιᴇ007 stated.

You can do this with any image editor able to open PDFs, including PhotoShop, but Irfanview is a free download.

hdhondt
  • 4,374