Protect PDF with Password

Add a password to a PDF, so it asks for that password before it opens. Pick a file, type a password twice, then download.

Choose a PDF

Click or drop one PDF file here.

One file, up to 50.0 MB. Files stay on your device.

Keep your password safe. It never leaves your browser and is not saved anywhere, so there is no way to get it back if you forget it. Without it, the file cannot be opened.

A PDF that already has a password cannot be used here. This site does not remove or break passwords.

The file is locked with AES-256 by the @cantoo/pdf-lib library, which runs in your browser.

Strong encryption

The file is locked with AES-256, the method the current PDF standard (PDF 2.0) recommends. Weaker methods are not offered.

Optional limits

Turn off printing, copying or editing, with an owner password. Most PDF readers follow these limits.

Private

Your file and password stay in your browser. Nothing is uploaded or saved.

How to use the Protect PDF with Password

  1. Choose one PDF, up to 50 MB.
  2. Type a password of at least 6 characters, then type it again. Untick printing, copying or editing if you want limits, and add an owner password.
  3. Click Protect PDF, then download the file. Keep the password safe, it cannot be recovered.

Questions and answers

Is it free?

Yes. The tool is free to use and needs no account or sign-up.

Is my file or password uploaded?

No. The file is read and locked in your browser. The password is not sent or saved anywhere.

What if I forget the password?

There is no way to get it back, and the file cannot be opened without it. Keep the password somewhere safe and keep your original file.

Are the printing and copying limits a strong lock?

No. Most PDF readers follow them, but some do not. The password to open the file is the strong part.

Can I use a PDF that already has a password?

No. The tool says the file is already protected and stops. This site does not remove or break passwords.