Skip to main content
PP

PDF Password Protect

Password-protect any PDF file instantly — add a password so only authorised people can open it.

Did you like the tool? Thanks!
Share:

or drag and drop a PDF here

Important: Choose a strong password you will remember. There is no password recovery — if you forget it, the PDF cannot be opened. The encryption happens entirely in your browser; your password is never transmitted.

How to Use PDF Password Protect

Upload your PDF, type a password, and click Encrypt & Download. The output PDF requires the password to open. The encryption happens entirely in your browser — your file and your password are never transmitted. Note: choose a strong password you will remember; there is no password recovery.

About PDF Password Protect

PDF Password Protect adds encryption to a PDF file so that anyone trying to open it must enter the password you set. It is the digital equivalent of putting a document in a sealed envelope — the content is not visible until the correct key is provided. The tool uses the standard PDF encryption mechanism built into the PDF specification (RC4 or AES, depending on the library version), which is supported by all modern PDF readers including Adobe Acrobat, Preview on Mac, Chrome, Edge, and mobile PDF apps. When someone opens the protected PDF, they are prompted for the password. Without it, the file cannot be opened — the content is encrypted at rest. The encryption is performed entirely in your browser using pdf-lib. The password you type is used only as a local encryption key and is never transmitted or stored anywhere. The original PDF, the password, and the encrypted output all remain on your device. This is critical for security — if the password were sent to a server, the encryption would be meaningless because the server operator could read your document. You should choose a strong password — at least 8 characters, ideally a mix of letters, numbers, and symbols. The tool also sets a separate owner password (your password with _owner appended internally), which in desktop PDF applications allows overriding restrictions like printing or copying. For most users, the user password (the one you type) is what matters — it is the one required to open the file. Important caveats: once a PDF is encrypted, the only way to open it is with the password. If you forget the password, there is no recovery mechanism. The encryption is not a guarantee against a determined attacker with access to PDF cracking tools — it provides a practical barrier for everyday document sharing. For highly sensitive documents, consider additional protections beyond password encryption.

Details & Tips

Encryption uses pdf-lib's encrypt() method, which applies password-based encryption as defined in the PDF specification. The user password (entered by the user) controls opening the document. An owner password is set to userPassword + '_owner' to allow full permissions in PDF readers that support owner override. The userProtectionFlag is set to allow high-resolution printing but disable content copying, providing a basic level of content protection beyond just opening. The encryption key length and algorithm depend on the pdf-lib library implementation, which typically uses AES-128. The encrypted output is a valid PDF that any standards-compliant reader can open with the correct password. The file is encrypted in browser memory — the password never appears in any network request, log, or server-side storage.

Frequently Asked Questions

Is my password sent to your server?
No. The encryption is performed entirely in your browser using JavaScript. Your password is used only as a local encryption key and is never transmitted, logged, or stored anywhere.
Is my PDF uploaded to your server?
No. The file is read into browser memory, encrypted locally, and saved as a download. Your PDF never leaves your device at any point.
How strong is the encryption?
The tool uses the standard PDF encryption mechanism implemented by pdf-lib, typically AES-128. This provides strong practical protection for everyday document sharing. It is not designed to resist a government-level adversary with specialised cracking tools.
What happens if I forget the password?
There is no password recovery. Once a PDF is encrypted with a password, it cannot be opened without it. Keep a record of the password in a secure place (like a password manager) separate from the file.
Can the password be removed afterwards?
Yes, if you know the password. Open the encrypted PDF in a desktop PDF application (like Adobe Acrobat) using the password, then use the Remove Security or Save As (without password) function. This tool does not offer password removal.
What restrictions are applied besides the password?
The tool sets content copying to disabled, meaning the recipient cannot copy text from the PDF. However, printing is allowed at high resolution. These restrictions are enforced by the PDF reader software — determined users may bypass them with third-party tools.
Does the encrypted PDF work on all PDF readers?
Yes. The password prompt is part of the PDF specification and is supported by Adobe Acrobat, Preview (Mac), Chrome, Edge, Firefox, and mobile PDF apps. If a reader does not support encrypted PDFs, it will display an error.
Can I encrypt an already password-protected PDF?
No. The tool cannot read encrypted PDFs. If your PDF already has a password, you would first need to remove it using a desktop tool, then re-encrypt with a new password.
What makes a good PDF password?
Use at least 8 characters with a mix of uppercase, lowercase, numbers, and symbols. Avoid common words, names, or dates. Consider using a password manager to generate and store a strong random password.
Is the tool free?
Yes, completely free. No registration, no account, no usage limits.
Can I set different permissions for different users?
No. PDF password encryption provides a single user password for opening and an owner password (set internally) for full access. Differentiated user-level permissions are not supported by this tool.

Also Available As

pdf password protect, encrypt pdf, password protect pdf, pdf encryption, lock pdf with password, secure pdf file, pdf password online, encrypt pdf free, pdf lock tool, protect pdf document, pdf security, add password to pdf, pdf encryptor, password pdf browser, free pdf password protect

Found a Problem?

Let us know if something with PDF Password Protect isn't working as expected.

Thanks — we'll take a look.