Skip to content
DeviceCheckHub

Protect PDF

Add a password to a PDF so only people who know it can open it, with 256-bit AES encryption. Your PDF and password never leave your device.

Choose or drop a PDF to start. It stays on your device.

How to password protect a PDF

  1. Choose a PDF file or drop it on the box. It opens on your device; nothing is uploaded.
  2. Type a New password, then type it again so a typing mistake can’t lock you out. Tick Show passwords to check what you typed. The guide under the boxes tells you roughly how strong the password is.
  3. Press Protect PDF, then Download protected PDF. The file is named after the original with -protected added, such as contract-protected.pdf, and asks for the password every time it is opened. Your original file stays as it was.

How the protection works

A password-protected PDF isn’t just a PDF with a lock icon: its contents are encrypted. Every page, picture and line of text in the file is scrambled with a key made from your password, using 256-bit AES, the same kind of encryption that banks, messaging apps and disk encryption rely on. A PDF reader that is given the right password unscrambles the file and shows it; without the password, the file is unreadable data, whichever app or computer opens it.

The password you choose both opens the PDF and owns it, so anyone who knows it can also print, copy and edit, just like with the original. Nothing else in the file changes: pages, text, fonts, pictures, links, bookmarks and form fields stay the same, and the file stays close to its original size.

Choosing a good password

Encryption only protects the PDF as well as the password does. Programs that try to break into a PDF guess passwords, starting with common ones, words and names, so a short or familiar password can be found quickly, while a long, unusual one would take far too long to guess.

The Password Generator makes strong random passwords and passphrases; it opens in a new tab, so your PDF stays chosen here.

Sending a protected PDF

Send the password a different way from the file. If both are in the same email and that email is forwarded or the mailbox is broken into, the password protects nothing. Text the password, say it on the phone, or agree on it in person. For a document you send often, such as payslips, agree on a password once with the person who receives them.

Some company email systems hold back encrypted attachments, because they can’t scan them for viruses. If a protected PDF doesn’t arrive, share it through a cloud storage link instead.

Changing or removing a password

To change a PDF’s password, choose the PDF here: the tool sees that it already has one and asks for the Current password as well as the new one. The protected copy opens only with the new password.

A PDF that has restrictions, such as no printing or copying, but no password to open it, gets a password here as well; its old restrictions are replaced, so with the new password everything is allowed. To take a password off a PDF instead, use Unlock PDF.

Good to know

Other ways to add a PDF password

Most online tools that do this upload your PDF to their servers first. This one encrypts it in your browser, so the unprotected file and the password stay with you.

On a phone

The tool works in Safari and Chrome on iPhone, iPad and Android. Tap Choose a PDF file and pick it from Files, Google Drive or your downloads. On an iPhone the protected PDF goes to the Files app under Downloads; on Android it is saved to Downloads. Opening it in the Files app, Books or any PDF app asks for the password.

Privacy

PDFs that need a password are usually private ones: contracts, payslips, medical letters and tax papers. That is why this tool never uploads them. The PDF is encrypted by your browser on your device, the password you type is used only for that and is never stored, and when you close the tab both are gone from the page.

PDFs are encrypted with qpdf by Jay Berkenbilt (Apache 2.0 license), built for the browser by qpdf-wasm (ISC license; it also includes libjpeg-turbo and zlib, whose licenses are in the same file).

Frequently asked questions

Is my PDF or password uploaded?

No. Your browser encrypts the PDF on your own device. Neither the file nor the password is sent to this website or anyone else, and the password is cleared from the page as soon as the protected PDF is made.

How secure is a password-protected PDF?

The PDF is encrypted with 256-bit AES, the strongest encryption the PDF format has, so without the password its pages are unreadable data. In practice it is as strong as the password: a short or common one can be guessed by software that tries millions of passwords, so use 12 or more characters, or several random words.

Which apps can open the protected PDF?

Any current PDF reader that supports 256-bit AES: Adobe Acrobat and Reader (version X from 2010 and later), the PDF viewers in Chrome, Edge and Firefox, and Preview and Safari on Mac, iPhone and iPad. Each one asks for the password when the file is opened.

What if I forget the password?

Then the PDF can’t be opened, by this tool or any other: there is no master key and no way to reset it. Keep the password in a password manager, or keep an unprotected copy of the PDF somewhere safe.

Can I change or remove a PDF’s password?

Yes. To change it, choose the PDF here, type its current password and then the new one. To remove the password completely, use Unlock PDF, which saves a copy that opens without one.

Last updated · About DeviceCheckHub