122

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?

askedAug 22, 2010 at 16:52
AngryHacker's user avatar
3

16 Answers16

68

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.

  1. Open the PDF
  2. Go to File > Print.From your print options chooseMicrosoft XPS Document Writer. Although you might expect it to print, it does not print anything, it will create an XPS Document.
  3. Open the resulting XPS file
  4. PressPrint, go toMicrosoft PDF Creator. It will now save it as a PDF again. Again, it will not print.

In my case I had to remove the first/last page of a document so I only printed the pages required.

answeredNov 10, 2015 at 12:05
Eoin's user avatar
11
  • 2
    I love this idea and worked for me. Only issue was the quality change in conversion to XPS and back to PDF. It would be just specific to my document, though.CommentedAug 24, 2016 at 13:16
  • Interesting, I have also found the MS PDF creator to be a bit pants. I use the Adobe PDF creator, although I believe it came with Adobe Creative Suite so not everyone will have a copy (could be wrong).CommentedAug 24, 2016 at 13:36
  • 2
    This approach worked for me, by opening it in Chrome, printing, choosing 'Print to PDF' and then opening the outputted PDF.CommentedAug 31, 2016 at 3:17
  • 15
    The major downside of this is that you cannot mark or copy text anymore.CommentedMay 8, 2018 at 9:49
  • 1
    @basseur If the text was OCR'd text in images then just re-run Acrobat's OCR on the unprotected PDF and re-save it with the recognized text.CommentedAug 3, 2021 at 0:23
141

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:

  1. Grabhttps://github.com/qpdf/qpdf/releases
  2. Unzip/Install and navigate to the bin folder that holds qpdf.exe (or similar for your platform)
  3. Place the PDF you wish to work on in the same folder
  4. Run:qpdf --decrypt InputFile.pdf OutputFile.pdf (use"s if the file name has spaces).
  5. Do what you like with the OutputFile.

If your PDF file is user password protected, change step 4 toqpdf --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 athttps://lwn.net/Articles/335415/ .

answeredApr 18, 2013 at 21:42
Dan's user avatar
9
  • 5
    qpdf work well for me. I can install it in OS X using homebrew.CommentedOct 6, 2015 at 15:15
  • I had to use qpdf then PDFcreator to enable edits on one PDF document. (PDFcreator without qpdf first wouldn't work). It was a document both password-protected and certified. Using the save as .ps trick didn't work. (I couldn't compare against unlock PDF websites as the document was confidential.)CommentedJan 11, 2017 at 17:57
  • Works fantastic on government-issued W-9 form. Genius bureaucrats locked down the PDF so you can't apply a signature through Foxit, but this fixes it!CommentedNov 30, 2017 at 0:00
  • 6
    Why oh why does Adobe come up with this stupid "encrypted" PDF marketing BS. If it can be viewed, it surely is decrypted already. BS.CommentedApr 30, 2021 at 14:42
  • 2
    As of March 2nd 2022 qpdf + PDFcreator still works, even for "certified" PDFs. Critically, it doesn't rasterize the text (like the Microsoft "Print-to-PDF" solution does for certified PDFs.CommentedMar 3, 2022 at 0:44
38
  1. Print to a PostScript (PS) printer (where the printer's port is set to print to file, not to the printer -- or check the "Print to file" option in the Print dialog)
  2. Edit the resulting.ps file and remove:

    mark currentfile eexec54dc5232e897cbaaa7584b7da7c23a6c59e7451851159cdbf40334cc2600...cleartomark
  3. Save and distill the.ps file

answeredMay 16, 2012 at 18:16
vladr's user avatar
3
  • Works for me. I have scripted it here:andorian.blogspot.ie/2014/05/…CommentedMay 19, 2014 at 15:37
  • I've used this trick before, but now I don't remember how I managed to convert to.ps. :(CommentedOct 28, 2014 at 21:16
  • mark currentfile eexec 54dc5232e897cbaaa7584b7da7c23a6c59e7451851159cdbf40334cc2600-These are not present in a pdf version 1.3 (Acrobat 4.x) digitally signed file. It was decrypted with qpdf. But the sign is still there and prevents editing.CommentedOct 15, 2017 at 2:19
15

Using google chrome offline (without uploading anything)

It's a slightly old thread but as I use this often, I wanted to update it:

  • Simply drag and drop the PDF in question on a blank chrome page.
  • Chrome opens the "locked" PDF.
  • Now print the document and use "save as PDF" as the printer of choice.
  • Enjoy your perfectly conserved and unlocked PDF (esp. copy & paste ;-) )

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.

aparente001's user avatar
aparente001
7042 gold badges9 silver badges29 bronze badges
answeredJul 25, 2017 at 16:04
Xan-Kun Clark-Davis's user avatar
3
  • Doesn't work any more.CommentedMar 24, 2018 at 23:04
  • 2
    This is the easiest way. Thanks!CommentedJul 5, 2024 at 5:54
  • Does not work. The resulting PDF is no longer editable.CommentedApr 18 at 16:21
10

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 usePDFUnlock. 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 installWeeny Free PDF Password Remover.

answeredNov 13, 2015 at 23:26
Alisa's user avatar
4
  • The PDFUlock website reported "The uploaded file is not secured and does not have any restrictions that can be removed" even though FoxIt reader declares my PDF "SECURED" and disables comments.CommentedAug 24, 2017 at 15:40
  • 3
    Weeny soft PDF Password remover tool worked great for me! I have tried 6 others before this: PDF Password Recovery, Instant PDF Remover, PDF Password Remover, GuaPDF, PDF Crack, the expensive Wondershare PDF Remover, which worked.. others did not.CommentedDec 21, 2017 at 3:45
  • This software is convenient for bulk filesCommentedAug 12, 2020 at 2:10
  • 4
    Please note that Wondershare products install Chinese-based adware software to your PC.CommentedApr 25, 2021 at 13:22
9

Easy!

  1. From the full version of Acrobat (I used v9.3), select "File..Export..Postscript..Postscript". This creates a ".ps" file.
  2. Click on the .ps file, it converts it back to pdf automatically with Acrobat distiller.
  3. You now have a perfect copy of the original file, minus any signatures, restrictions on editing, etc.

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) .

answeredSep 3, 2010 at 8:55
Contango's user avatar
3
  • 5
    Nope, this didn't work for me... Got this error: This PostScript file was created from an encrypted PDF file. Redistilling encrypted PDF is not permitted. Looks like they caught up with this trick.CommentedApr 27, 2012 at 13:03
  • 7
    This site unlocked a PDF for me.pdfunlock.comCommentedApr 27, 2012 at 13:10
  • By full version of Acrobat do you mean the paid version?CommentedJun 20, 2018 at 21:58
6

The best option I have found is this online tool:https://smallpdf.com/unlock-pdf

Edit: they now have a desktop application too.https://smallpdf.com/desktop

answeredSep 4, 2017 at 9:37
Sнаđошƒаӽ's user avatar
4
  • Thank you, that was the only thing that worked for me. Many other solutions rely on being able to print the PDF, but some protected PDFs can't be printed.CommentedApr 2, 2018 at 7:07
  • Glad it helped. Grateful to the guys who made that tool too :-)CommentedApr 2, 2018 at 9:09
  • Didn't work for me. Document was viewable in Reader, but its document properties couldn't be changed, which is what I wanted to do. SmallPDF appeared to open it, but displayed nothing.CommentedMay 16, 2019 at 15:36
  • This method works to unlock, but removes some filled out form text for fpca pdfs generated by the us governmentCommentedOct 20, 2022 at 13:56
6

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 :-)

answeredJul 25, 2016 at 14:50
Xan-Kun Clark-Davis's user avatar
5
  • Why is this downvoted?CommentedAug 24, 2016 at 13:37
  • 1
    Yeah, I would also be very interested. As a matter of fact, I had some tricky PDFs with images and vectorgraphics and I tried all "free" solutions (most of them aren't really free, it's mostrly trials and crippleware) and none of them worked. Maybe the purely commercial ones are so much better (don't forget, the Microsoft XPS Document Writer is the contrary of free and you better habe a valid MS License whe you export it, as it will be in your resulting PDF, along with your name and other "useful" stuff.) Then I tried the google way and it worked like a charm for all PDFs so far.CommentedSep 1, 2016 at 22:00
  • 1
    This also works for PDFs with printing disabled. They are printable after uploading to Google Drive.CommentedAug 24, 2020 at 2:51
  • 1
    This will strip the file of bookmarks and links so it's not ideal.CommentedJul 14, 2022 at 16:50
  • This does not work for whatever pdf format the usa gov uses for fpca generated pdf.CommentedOct 20, 2022 at 13:55
4

Building on Dan's answer, here's the full bash for OS X/Mac

#! /bin/bashbrew install qpdfPDF_PASS=YourPasswordHerefor file in *.pdfdo    echo "Removing password for pdf file - $file"    qpdf --decrypt "$file" "decrypt.$file" --password="$PDF_PASS"done
answeredOct 2, 2020 at 0:05
audfhg's user avatar
4

you can use PDF CPU:

pdfcpu decrypt in.pdf out.pdf

https://pdfcpu.io/encrypt/decryptPDF

note that it actually resulted in a smaller resulting file for me, versus QPDF:

originalQPDFPDF CPU
5,406 KB5,339 KB4,617 KB
answeredNov 26, 2023 at 15:09
Zombo's user avatar
0
3

My 20-page tax form ballooned to 70MB when I removed the password through a PDF-printer. But then I tried usingPDFsam 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.

Aulis Ronkainen's user avatar
Aulis Ronkainen
3,09246 gold badges32 silver badges30 bronze badges
answeredJul 12, 2020 at 8:30
Martin J.H.'s user avatar
1
  • Yup, works beautifully. And it keeps links and bookmarks intact. Just export pages '1-' and you're good to go.CommentedJul 14, 2022 at 16:51
1

Analog conversion. Print and re-scan.

answeredAug 22, 2010 at 18:04
easyegoism's user avatar
2
  • Hmmmm ... even if you wanted to go that way, isn't it easier to just "Print to PDF" from the full version of Acrobat? However, this ruins the margins, so you get a perfect conversion if you export to Postscript, then reimport to pdf (see my answer below)?CommentedSep 3, 2010 at 8:58
  • @gravitas That's only easier if you've paid for the full version of Acrobat, as the questioner is talking about FoxIt I'd assume they haven't got Acrobat Pro.CommentedSep 3, 2010 at 12:07
1

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.

answeredSep 25, 2013 at 7:55
Andrew Sarris's user avatar
1

On Windows 10, you can just :

  1. Open the document
  2. "Print" the document by selecting "Microsoft Print to PDF" printer

That's it! the protection is removed and you can still select the text in the document.

answeredDec 16, 2020 at 16:00
deltonio2's user avatar
0

In my case, there was a view password that maintained its state through save -- but print, etc. were not blocked. That left open theanalog method, or print-to-PDF-printer, which is what I did. The resulting file lacked a password, and seemed to suffer no degradation.

answeredMar 4, 2014 at 17:27
Michael Paulukonis's user avatar
0

You may simply use iLovePDF's"Unlock PDF" tool :

  1. accessthe website;
  2. select and upload your file(s);
  3. click "unlock PDF";
  4. click dDownload unlocked PDFs";
  5. voilà!
answeredSep 4, 2023 at 3:20
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar

You mustlog in to answer this question.

Protected question. To answer this question, you need to have at least 10 reputation on this site (not counting theassociation bonus). The reputation requirement helps protect this question from spam and non-answer activity.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.