2026-07-29
How to Password-Protect a PDF in Your Browser
Encrypt a PDF with a password and optional print/copy restrictions, privately.
A password-protected PDF adds a useful barrier when you must send sensitive material by email or file share. Tax documents, identity scans, invoices, and client reports can all benefit from an extra opening password. It is not a substitute for checking the recipient, using an approved sharing method, or maintaining secure records, but it is better than treating an ordinary attachment as private by default.
Open Encrypt PDF only for a document you own or are authorized to protect. Set a strong user password; that is the password needed to open the finished file. Avoid short phrases, names, and passwords you reuse elsewhere. Keep an unprotected original in a secure location because a lost password cannot be recovered through the tool.
The tool also supports an optional owner password and permission choices for printing, copying, and modification. These settings can communicate how you intend the file to be handled, but no permission flag should be treated as complete access control. Choose AES-128 when broad reader compatibility is important, or AES-256 when your recipient can reliably open it and stronger encryption is appropriate.
Encrypt PDF runs locally in your browser with @cantoo/pdf-lib. The file and passwords are not sent to an All PDF Needs processing server for this workflow. That is useful for sensitive documents, but you should still use a trusted device and close shared sessions before handling confidential files.
Download the encrypted PDF and test it in a normal PDF reader before sending it. Confirm that the user password is required and that the intended recipient can open it. If the file will be reviewed by someone using an older reader, compatibility matters more than choosing the strongest available setting without testing.
Never send the password in the same email as the attachment. Send the file by email and the password by a phone call, text message, or another approved channel. If the recipient forwards the email, separating the password reduces the chance that both pieces travel together.
If you need to merge, edit, or archive a protected PDF that you own, Unlock PDF can remove a password you already know. It does not crack, guess, or bypass unknown passwords. It creates a new unprotected copy while leaving the original protected file unchanged.
After an authorized edit, you can encrypt the new final copy again. Keep filenames clear, such as `client-packet-original.pdf`, `client-packet-signed.pdf`, and `client-packet-encrypted.pdf`, so you do not accidentally share an unprotected version.
For an attachment that is large as well as sensitive, finish the document first, then use Compress PDF before encryption. Review the compressed output, encrypt the verified copy, and retain the original. That order gives you a reliable record and avoids repeated processing of the password-protected file.
Try a private tool: Encrypt PDF · Unlock PDF