How to Password Protect a PDF

Last updated: February 22, 2026

Sharing sensitive documents — contracts, financial records, medical information — without encryption is a risk you don't need to take. OneClickPDF lets you add AES-256 encryption and granular permission controls to any PDF, entirely in your browser. Your unprotected file never touches any server.

Step-by-Step Guide

1

Open the Protect PDF tool

Go to the Protect PDF page on OneClickPDF.

2

Upload your PDF

Drop your file on the upload zone. It loads locally in your browser.

3

Set your passwords and permissions

Enter an open password (required to view the PDF). Optionally add a separate owner password for editing permissions. Choose AES-256 or AES-128 encryption. Configure granular permissions: allow or block printing, copying, modifying, annotations, form filling, and more.

4

Protect and download

Click Protect. The encrypted PDF is generated in your browser and ready to download. A password strength meter shows you exactly how secure your chosen password is.

Protect PDF

Password-protect your PDF to prevent unauthorized access.

Try It Free

Frequently Asked Questions

What's the difference between the open password and owner password?
The open password (user password) is required to view the PDF at all. The owner password controls what viewers can do — print, copy text, modify, etc. You can set just an open password, just permissions with an owner password, or both.
Which encryption standard should I choose?
AES-256 is the strongest option and recommended for sensitive documents. AES-128 is slightly faster and compatible with older PDF readers. Both are secure for everyday use.
Can I prevent printing but allow viewing?
Yes. The permissions system lets you independently control printing (high-res, low-res, or none), text copying, document modification, annotations, form filling, and accessibility access.
Is the encryption actually secure?
Yes. OneClickPDF uses pdf-lib-plus-encrypt with genuine AES encryption. The password is used to derive an encryption key that protects the entire document content. Without the correct password, the content is cryptographically inaccessible.

True PDF encryption means even if someone intercepts the file, they can't read it without the password. OneClickPDF uses industry-standard AES encryption — the same standard used by governments and financial institutions — and the entire process happens locally.

Related Guides