OOnDevice

Protect PDF

Add password protection to a PDF — right in your browser. Set a password and download the encrypted file.

Works offlineNothing uploaded

Drop a PDF here — it stays on your device

Add password protection to your PDF

Files stay on your device

Upload a PDF to add password protection.

How to use it

1

Upload PDF

Click the upload area or drag and drop your PDF file.

2

Set password

Enter a strong password to protect your document.

3

Protect and download

Click Protect and download your secured PDF file.

When to use Protect PDF

You're emailing a salary benchmark report to a hiring manager at a company you're still vetting, and you want to make sure the document can't be casually forwarded to anyone with an inbox. Upload the PDF, type a password, and pdf-lib applies AES encryption on your own machine — the encrypted copy downloads immediately while the original stays untouched on your hard drive. The resulting file won't open in any reader without that password. This is also the right step before posting a sensitive document to a shared drive or attaching it to a form submission on an unfamiliar portal. Store the password somewhere reliable — there is no recovery path if it's lost.

  • Encrypt a salary report before emailing it to an external hiring manager
  • Password-protect a contract draft before uploading it to a shared drive
  • Lock a board presentation before distributing ahead of a confidential vote

About this tool

Need to lock a PDF before sharing it? Upload the file, type a password, confirm it, and download an encrypted copy that requires that password to open. Useful when emailing a contract to a client you haven't fully vetted, sharing a salary document internally, or distributing a report where you control access. Keep the original — a password-protected PDF can't be unprotected if you forget the password. Both your file and your password run entirely on your computer; nothing is transmitted to any server.

Frequently asked

Is this PDF password tool private? Does my password leave my browser?
No. pdf-lib applies AES encryption on your own machine — your PDF and the password you type stay in this browser tab and are never transmitted anywhere.
How do I add a password to a PDF?
Upload your PDF, enter and confirm a password, then click Protect. Download the password-protected version instantly.
What encryption does this tool use?
pdf-lib applies AES-based PDF encryption. The resulting file requires the correct password to open in any PDF reader.
Is my password stored anywhere?
No. The password exists only in your browser tab for the duration of the operation. Once the encrypted file is downloaded, no record of the password remains.