@latest_post
Remove PDF password in Linux
Using QPDF
QPDF is a command-line tool that transforms PDF files while preserving their content. It can encrypt, decrypt, web-optimize, split, and merge PDFs.
On Omarchy, QPDF should already be installed. If it isn't, install it with:
sudo pacman -S qpdf
To remove a known password from a PDF, run:
qpdf --password=mysecretpassword --decrypt the-secured.pdf new-unsecured.pdf