Generating a decrypted PDF using QPDF

Saturday, March 14, 2020


If you have a password-protected PDF and want to generate a decrypted version, it’s very simple with QPDF:

$ qpdf --password=123 --decrypt input.pdf output.pdf

To avoid entering the password on the command line (perhaps you don’t want it saved in your shell history):

$ qpdf @- --decrypt input.pdf output.pdf

Then enter --password=123 and hit enter and ^D.

Tags: pdf | Posted at 22:04 | Comments (1)


Comments

XRumerTest on Thursday, November 26, 2020 at 19:24

Hello. And Bye.

Add a comment

Name:
Email: (optional, not displayed to public)
URL:

Comment: