Protect a PDF with an AES-256 Open Password
Add a password to open a PDF, with AES-256 encryption done in your browser. No permission restrictions, no upload, and the password is not stored.
What it does
Protect PDF adds a password that is needed to open the file, using AES-256 encryption from qpdf running in your browser. You type one password; the tool also sets a random owner password that is never shown, and no printing or editing restrictions are added. The password is not stored and never goes into the page address. Your PDF is never uploaded, and the protected copy ends in -protected.pdf.
How to use it
- Choose one or more PDF files that are not password-protected yet.
- Type the password in "Password to open the file"; every file in the run gets the same password.
- Press "Protect PDF", then "Download" next to each result, or "Download all (ZIP)" when there are several.
Example
- Input
- contract.pdf (not protected), with a password typed in "Password to open the file"
- Output
- contract-protected.pdf in Results; PDF readers ask for that password before showing it
What happens to your file
- Your file or text is processed by code running in this browser tab. It is not uploaded to any server.
- The processing code is downloaded from this site with the page; nothing about your input is sent back.
- The result is created on your device and saved only when you choose to download it.
Limits
- Only a password to open the file is set; no printing, copying or editing restrictions are added.
- There is no password recovery; if the open password is forgotten, the file cannot be opened.
- Files that are already password-protected are refused until they are unlocked.
- Every file in one run gets the same password.
Questions
What encryption is used?
AES with a 256-bit key, applied by the qpdf engine running in your browser. The engine is downloaded from this site the first time you use the tool; the PDF is never uploaded.
Why is there only one password field?
You only choose the password to open the file. A PDF also needs an owner password, so the tool creates a random one that is never shown or saved. Anyone with the open password can use the file normally.
Does it restrict printing, copying or editing?
No. No permission restrictions are set; the password only controls who can open the file.
Is my password saved or put in the link?
No. It is not stored, and unlike other settings it is never written into the page address (URL), so it does not end up in your browser history or in links you share. Type it again each time you use the tool.
What if I forget the password?
There is no recovery. The owner password is random and never shown, so keep the open password somewhere safe; Unlock PDF on this site also needs it.
Can I protect a PDF that is already protected?
No. A file that is already password-protected is refused with a message. Unlock it first with Unlock PDF, then protect the unlocked copy.