I am trying to fill out some docs, but the provided PDFs are "SECURED", meaning I can't use FoxIt's typewriter tools.
Is there any way to remove the security?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
Contrary to the other solutions, you do not need additional software.
Anyone with Windows can do it with no extra software in 4 simple steps.
In my case I had to remove the first/last page of a document so I only printed the pages required.
Assuming it's simply a 'rights' (owner) password that restricts things like editing, printing, and copying (i.e. the password does not need to be entered to open the file) the following will remove the restrictions:
qpdf --decrypt InputFile.pdf OutputFile.pdf(use
"s if the file name has spaces).
If your PDF file is user password protected, change step 4 to
qpdf --decrypt --password=yourpassword InputFile OutputFile
This won't work for Adobe Digital Editions and may have issues with digitally-signed files.
Some discussion on the background of these owner password restrictions at https://lwn.net/Articles/335415/ .
Edit the resulting
.ps file and remove:
mark currentfile eexec 54dc5232e897cbaaa7584b7da7c23a6c59e7451851159cdbf40334cc2600 ... cleartomark
Save and distill the
Directly (see and) remove the restrictions from your pdf without any tricks:
1- Online method:
If you want to do in your browser (without installing a tool), then use PDFUnlock. You just need to upload your pdf (drop it to the available box) and it removes the security restrictions. However, up to 5MB files are converted for free.
2- Offline method:
But, like me, if you prefer having an offline tool on your machine, then you can install Weeny Free PDF Password Remover.
I needed this technique fix the pdf file so it would display on my Kindle DX, via the "Advanced..Preflight" menu. This method worked perfectly on a file that had resisted all attempts by the four major utilities that offer to remove restrictions on pdf files (i.e. A-PDF, pdftk, Kernel PDF, UnrestrictPDF) .
Using google chrome offline (without uploading anything)
It's a slightly old thread but as I use this often, I wanted to update it:
The "print"->"save as" step can be tricky when you do it the first time, as you might choose the PDF Writer/Maker for output and you will end up with a locked PDF again.
The process is further described here: Save As PDF
On some versions of chrome (older?) you have to activate the "save as PDF" option first.
As you can install chrome without giving them your email address, I would consider this a truly "free" solution.
I upload it to google drive with chrome, hit the print button and save it as pdf (which has to be enabled within chrome settings on some versions). I get the real deal, images are same resolution, file size checks out too, but all the security restrictions are gone.
Also removes printing restrictions from files. (Credit @Rob)
Beware! Also removes bookmarks and links. (according to @Barleyman)
Thanks Google! You guys are hackers :-)
My 20-page tax form ballooned to 70MB when I removed the password through a PDF-printer. But then I tried using PDFsam Basic, a free tool that I usually use for splitting and merging pdfs.
To my surprise, it handles password-protected PDFs well and, when exporting the document, removes the password protection without increasing the file-size.
In fact, the file-size decreased by a few kB.
you can use PDF CPU:
pdfcpu decrypt in.pdf out.pdf
note that it actually resulted in a smaller resulting file for me, versus QPDF:
|5,406 KB||5,339 KB||4,617 KB|
Removing user/open password is next to impossible, but if your PDF file is only protected with owner password, i.e., PDF print, edit, copy and other functions are disabled then there are several programs available to remove PDF security like the one mentioned in this article: http://www.instructables.com/id/How-to-Remove-PDF-Password-Security-PrintEditCo/
Due to security and privacy reasons I would not recommend those online services where you’re supposed to upload your PDF documents to remove PDF security.
In my case, there was a view password that maintained its state through save -- but print, etc. were not blocked. That left open the analog method, or print-to-PDF-printer, which is what I did. The resulting file lacked a password, and seemed to suffer no degradation.