Guides/Security

How to Password-Protect a PDF

Lock any PDF with strong 256-bit AES encryption — free, private, and nothing ever leaves your browser.

PrivaPDF Team·3 min read
Try it free — no upload, no account
All processing happens locally in your browser.
Lock a PDF now

Why password-protect a PDF?

Adding a password to a PDF restricts who can open it. This is useful when:

What type of encryption does PrivaPDF use?

PrivaPDF uses AES-256 encryption — the same standard used in banking and government systems. This is the strongest encryption available for PDF files per the PDF specification.

Crucially: the encryption happens entirely inside your browser. The password and the document content are never sent to any server. Even PrivaPDF cannot see your file or password.

Step-by-step: lock a PDF with PrivaPDF

1
Open the Lock PDF tool

Go to privapdf.net/tools and click Lock PDF.

2
Drop your PDF

Drag and drop the PDF you want to encrypt, or click to browse. The file loads into your browser's memory — nothing is uploaded.

3
Enter and confirm your password

Type your password in both fields. Use a mix of letters, numbers, and symbols. The longer the password, the harder it is to crack.

4
Click Lock and download

Hit Lock PDF. Your encrypted file downloads immediately. Anyone who opens it will be prompted for the password.

Tips for strong PDF passwords

Frequently asked questions

Can I also restrict printing or copying of the text?

The Lock PDF tool currently applies an open password. Permission restrictions (copy, print, edit) are on the roadmap for the Business plan.

What if I forget the password?

There is no recovery mechanism for a forgotten password — that's the point of strong encryption. Store your password securely before locking.

Can I remove the password later?

Yes. Use the Unlock PDF tool on PrivaPDF. Enter the correct password and the tool will produce an unlocked version.

Ready to try it?

Free, instant, private. No account needed.

Lock a PDF now
← All PDF guides