Protect PDF
Add password protection to any PDF in your browser. Set an open password, restrict printing and copying, and control permissions — nothing is ever uploaded.
Password Protect Your PDF
Set an open password that recipients must enter to view the file, or restrict what they can do with it using a permissions password.
Your password-protected PDF has been saved to your device.
How to Password Protect a PDF
PDFToolShack’s Protect PDF tool runs entirely in your browser using pdf-lib.js. Your file is encrypted locally using AES-128 encryption and the protected PDF downloads directly to your device — no server contact, no stored passwords, no data transmitted.
There are two types of PDF passwords. The open password (user password) must be entered before the PDF can be viewed at all. The permissions password (owner password) doesn’t prevent opening, but controls what readers can do — print, copy, edit, annotate. You can set one, both, or use permissions restrictions without any open password.
Important: We never see or store your password. If you forget it, the PDF cannot be recovered. Always store your password in a safe place such as a password manager.