LocalPDF

How to Password-Protect a PDF in Your Browser

Lock a PDF with a password using AES-256 encryption, choose what readers can do, and share it safely. Free, no upload, works on any device.

Quick answer

To password-protect a PDF, open a PDF encryption tool, add your file, enter a strong password and choose whether readers can print or copy text, then download the protected copy. Modern PDF encryption uses AES-256, and with a local tool the password and file never leave your device.

How do I add a password to a PDF?

  1. Open Protect PDF and drop in your file.
  2. Enter a password of at least 8 characters — longer is better.
  3. Choose permissions: Allow printing and Allow copying text.
  4. Click Protect PDF and download the encrypted copy.
  5. Send the password separately from the file, for example by text message.

What's the difference between an open password and permissions?

ProtectionWhat it doesHow strong
Open passwordNeeded to open and read the fileStrong with AES-256 and a good password
PermissionsLimits printing, copying or editingA courtesy; some apps ignore it

An open password actually encrypts the file. Permission restrictions are respected by most viewers but aren't real security on their own.

How do I choose a strong PDF password?

  • Use at least 12 characters, or a phrase of four or more random words.
  • Don't reuse a password from your email or bank.
  • Avoid names, birthdays and document titles.

How do I remove a password later?

If you know the password, open Remove password, enter it once and save an unlocked copy. To lift print or copy limits on a file you own, use Remove restrictions.

If you forget the open password of an AES-256 PDF, there is no practical way to recover it. Keep a copy somewhere safe.

Frequently asked questions

Try it now

Protect PDF — right in your browser.

Free, no sign-up, and your file never leaves your device.

LocalPDF Team

We build free PDF tools that run entirely in your browser, so your documents never leave your device.