Password-protect a PDF

Encrypt a PDF with AES-256 so only the password opens it.

Drop your PDF hereor click to choose — up to 50 MB free

Protecting a PDF encrypts it with 256-bit AES so that a reader asks for the password before showing any page. You choose one password of 4 to 128 characters, and it is the only thing that opens the file. Printing and copying are not restricted once the file is open. There is no way to recover a forgotten password, so keep it somewhere safe.

How to use it

  1. Drop your PDF on the page, or click to choose it.
  2. Type a password of 4 to 128 characters.
  3. Click Protect PDF and download the encrypted copy.
  4. Open the copy once to confirm that the password works before you delete the original.
  5. Send the password to the recipient by a different route than the file.

What the protection does

The whole document is encrypted with a 256-bit AES key derived from your password. The same password is set for both roles a PDF knows: the one that opens the file and the owner one that controls its settings.

No permission restrictions are added. Anyone who has the password can read, print, copy and edit the document. To leave a file open to everyone but switch off printing or copying, use PDF permissions instead.

Choosing and keeping the password

The encryption is only as strong as the password. A short or common word can be guessed by software that tries many passwords, so use a long phrase. The password cannot contain a line break.

The password is used for the job and erased from the job record as soon as the job ends. It is not kept, so nobody can look it up for you later. If you lose it, Unlock PDF cannot help, because that tool needs the password too.

Files that are already protected

A PDF that already needs a password to open has to be unlocked first. A PDF that opens freely but has printing or copying restrictions can be protected directly; the new encryption replaces the old restrictions.

Questions

What encryption does this use?

AES with a 256-bit key, applied to the whole document. The file cannot be displayed without the password.

What if I forget the password?

The file stays locked. The password is not stored after the job finishes, and no tool on this site opens a PDF without it. Keep an unprotected original or record the password.

Can I stop people printing or copying as well?

Not in the same file with these tools. This one sets a password to open and no restrictions; PDF permissions sets restrictions and no password to open. Running one after the other replaces the settings of the first.

Why was my password rejected?

It must be between 4 and 128 characters and must not contain a line break. Anything else is refused before the file is touched.

Can I edit or compress the file after protecting it?

Not while it is protected: the other PDF tools refuse an encrypted file. Do the editing first, for example compress it, and add the password as the last step.

Are the file and the password kept?

The password is erased when the job ends. The PDF you uploaded and the protected copy are deleted automatically within one hour.