I have to extract a PDF book from a PW protected RAR file.

I successfully extracted the compressed file with 7-Zip, but when I try to open the decompressed PDF book I am asked for a PW. There are a number of applications to retrieve the PW, but in order to better target my search I'd like to know where should I look for the PW: in the RAR archive or in the extracted PDF file? Some password retrieval applications are designed for PDF files and others for RAR/ZIP archives. Where should I look for?


  • How uncompressed PDF is related to RAR archive where it leaves before? How piece of cookie related to its package? Fridge have no clue what it freezing... and so on...
    – Alex
    Feb 6, 2017 at 20:42
  • First, you cannot retrieve a password from an encrypted RAR file. Encryption doesn't work that way. Second, your process indicates that the password is being asked by your PDF viewer, so thinking through your steps so far you have already answered your own question. Feb 6, 2017 at 20:48
  • Alex, I really can't understand your question and how it relates to my issue. Perhaps it would help if you said something more ( and more specific!) than "..and so on.."
    – Ittiandro
    Feb 6, 2017 at 22:02
  • Alex, I inadvertently sent the comment before finishing: I'll will conclude by saying that even I can normally understand metaphorical or analogic language, still I can't see what bearing do your cookie or fridge similes have on the relationship between " uncompressed PDF and "RAR archive", unless you want to be somewhat paradoxically witty..
    – Ittiandro
    Feb 6, 2017 at 22:10
  • 1
    Further, you have not yet clarified whether it is the RAR password you need or the PDF you don't have. As you have already decompressed the PDF we are assuming it is the PDF password you need. If this is the case, could you edit the question to indicate this is what you're looking for. Feb 7, 2017 at 18:30

2 Answers 2


If you have a normal PDF file that is not in an RAR file, and when you open the PDF it asks for a password, there is no way whatsoever that the password should somehow be part of the RAR file.

The PDF is locked/encrypted and you need the key to open it.


If the password challenge shows at PDF opening then it's saved into the PDF file security settings. If the password challenge shows at RAR extracting then it's in the RAR file.

Current standards for secured PDF files use AES-256 so good luck with that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.