I occasionally receive financial statements as password-protected PDF files. I appreciate the security but would prefer to archive the files without the password requirement as I’m never going to remember the password when I do need to open them again.
There are lots of PDF password removal applications out there, but I’ve found QPDF to do the job quite well. You can either install it from their site or simply install it with Homebrew:
brew install qpdf
Then, simply run the below in Terminal:
qpdf --decrypt --password=your_password encrypted_filename.pdf decrypted_filename.pdf