Language
Category
Search

How to Remove Password from a PDF File in Linux Using Terminal

Learn how to remove password from protected PDF files in Linux using the qpdf command line tool

How to Remove Password from a PDF File in Linux Using Terminal
At Terminal By Rudi Drusian Lange
Published on
Last updated

Introduction

The qpdf is an open-source command-line tool and C++ library for working with PDF files. It offers a wide range of functionalities for manipulating, inspecting, and transforming PDFs, making it a valuable tool for developers, system administrators, and advanced users.

Removing the password

To remove the password from a PDF file in the Linux terminal, use the command:

$ bash

qpdf --decrypt --password=YOUR_PASSWORD protected_file.pdf unprotected_file.pdf

Replace YOUR_PASSWORD with the PDF's password, protected_file.pdf with the name of the protected PDF file, and unprotected_file.pdf with the name you want for the password-free file.

Site Notes

This is not my original language and I don't speak it very well. I used my little knowledge and translators tools to compose the text of this article. Sorry for possible spelling or grammatical errors, suggestions for corrections are appreciated and can be sent to the contact email in the footer of the site. My intention is to share some knowledge and I hope this translation is good enough.


Some of the content on this website, including text, images, graphics and other materials, may be generated or enhanced by artificial intelligence (AI) tools. For more details on the use of AI, please see our Term of Use.

Advertisement
Advertisement