Skip to content

Instantly share code, notes, and snippets.

View HarshitChhipa's full-sized avatar
🏄‍♂️
On a Fantastic Journey

Harshit Chhipa HarshitChhipa

🏄‍♂️
On a Fantastic Journey
View GitHub Profile
@HarshitChhipa
HarshitChhipa / unlock_pdf_locally_macos.md
Created November 1, 2023 12:04
Convert a password protected pdf to normal PDF without any online tool and sharing your password with 3rd party.

Install qpdf

brew install qpdf


Run following with your file password and file location

qpdf --decrypt --password="password" dummy_locked_file.pdf dummy_unlocked_file.pdf