Table of Contents

Ubuntu - PDF - Remove password from pdf

There are many tools that can manipulate PDFs, including:

NOTE: The PDF Toolkit (pdftk) works for me, so instructions below are using this.


Using the PDF Toolkit (pdftk)

Install the PDF Toolkit (pdftk)

sudo apt install pdftk

Remove the password from the PDF

pdftk secured.pdf input_pw password output unsecured.pdf

Using QPDF

Install QPDF

sudo apt install qpdf

Remove the password from the PDF

qpdf –password=password –decrypt secured.pdf unsecured.pdf

Using xpdf-utils

Install xpdf-utils

sudo apt install xpdf-utils

Remove the password from the PDF

pdftops -upw password secured.pdf unsecured.pdf

References

https://www.howtogeek.com/197195/how-to-remove-a-password-from-a-pdf-file-in-linux/