How to password protect a PDF
Password protecting a PDF means encrypting the file so that nobody without the password can open the document. On BestPDFInTheWorld it takes three steps: choose the file, write the password (at least 3 characters) and download the protected PDF. The encryption is real AES-128, with no back door, there is no recovery for a lost password, not even for BestPDFInTheWorld itself, so keep it safe before downloading. Everything runs in your browser: the PDF and the password never leave your computer. This tool is part of the Premium subscription, EUR 1.99 a month, which removes the limits on every tool and adds OCR. Sign PDF opens on the free plan, with one signature a day.
Verified 2026-08-12
- Three steps, nothing to install: choose the file, write the password, download.
- Passwords from 3 characters upward; the longer and less obvious the password, the stronger the protection.
- Real AES-128 encryption, no back door: there is no recovery for a lost password, not even for BestPDFInTheWorld.
- No uploads: the encryption runs in the browser, and the PDF and the password never leave your computer.
- This tool is part of the Premium subscription, EUR 1.99 a month, which removes the limits on every tool and adds OCR. Sign PDF opens on the free plan, with one signature a day.
How to password protect a PDF, step by step
Password protecting a PDF takes under a minute and needs nothing to install:
- Open the Password protect a PDF tool and drop the file into the window, or click to choose it. It stays in your browser the whole time.
- Write the password: at least 3 characters. The longer and less obvious it is, the stronger the protection.
- Download the protected PDF, already asking for the password whenever anyone opens it.
The processing runs on your computer, not on a server: the file never leaves it during the process.
Which cipher protects the file? AES-128
The tool encrypts with AES of 128 bits, applied to the whole file after the PDF header is forced to version 1.7 right before encrypting. It is not the newer 256-bit AES: the library this tool uses cannot yet generate that stronger encryption level.
AES is a robust cipher used as an industry standard, and the strength of the protection comes mostly from the password, not the algorithm. The 3-character minimum is the technical minimum, not a recommendation: a long, unpredictable passphrase protects far more than a short password that is only technically valid.
And there is no back door: because the encryption is real, there is no recovery for a lost password. BestPDFInTheWorld does not keep a copy of the password, and there is no way to recover it once the PDF is protected.
Opening password and permissions: not the same thing
The PDF format knows two different protections: the opening password, which asks for the key before you can even open the document, and the permission passwords, which restrict what can be done with it, printing, copying or editing. This tool applies the opening password: anyone without it cannot open the file. High-resolution printing, however, remains allowed to whoever has it, and there is currently no separate option to restrict printing, copying or editing.
If you want to understand the differences between the two passwords and the ciphers of the format, read the guide PDF passwords: what actually protects.
Tips for password protecting PDFs
- Keep the password safe before downloading. There is no recovery: if you forget it or lose it, nobody, including BestPDFInTheWorld, can open the file again. Choose something you will remember, confirm it, and if in doubt save it in a password manager.
- An already protected PDF will not open here. If the input file already has a password, the tool shows a generic error as soon as you load it. To change the protection, first open the PDF with the current password and save a copy with no protection at all, to remove the encryption from one of your files, use the Unlock PDF tool.
- Heavy file to send? Follow up with the Compress PDF tool to reduce its size.
- It works on your phone. You can choose the file, write the password, and download the protected PDF directly in your phone's browser.
Is password protecting PDFs free? What are the limits?
No. This tool is part of the Premium subscription, EUR 1.99 a month, which removes the limits on every tool and adds OCR. Sign PDF opens on the free plan, with one signature a day.
| Plan | What it allows |
|---|---|
| Free plan | Only Sign PDF opens without paying, with one signature a day and files up to 10 MB. |
| Premium (EUR 1.99/month) | No limits anywhere, plus OCR. No annual plan. |
Questions about password protecting a PDF.
I forgot the password after protecting the PDF. Can it be recovered?
No. The encryption is real and has no back door: BestPDFInTheWorld does not keep a copy of the password, and there is no way to recover it once the PDF is protected. If you are not sure you will remember it, save it in a password manager before downloading the file.
The tool accepts passwords from 3 characters. Is that safe?
The 3-character minimum is the technical minimum, not a recommendation. The strength of the protection comes mostly from the password, not the algorithm: a long, unpredictable passphrase protects far more than a short password that is only technically valid.
Can I stop whoever opens the PDF from printing or copying it?
Not with this tool. Protection always asks for the password to open the file, but high resolution printing remains permitted to anyone who has it. There is currently no separate option to restrict printing, copying or editing.
Can I use this tool on a PDF that already has a password, to change the protection?
No. If the input PDF is already protected, the tool cannot even open it to re-encrypt: it shows a generic error as soon as you load the file. To change the protection, first open the PDF with the current password and save a copy with no protection at all.
Are my files kept on your servers?
No. The encryption runs in JavaScript inside your browser: the PDF and the password never leave your computer or pass through a server.
Is password protecting PDFs free?
No. This tool is part of the Premium subscription, EUR 1.99 a month, which removes the limits on every tool and adds OCR. Sign PDF opens on the free plan, with one signature a day.
Does it work on mobile?
Yes. You can choose the file, write the password, and download the protected PDF directly in your phone's browser.
Keep reading
How to unlock a PDF
Step by step to remove the password from a protected PDF, as long as you know it, with all the processing in the browser and nothing sent to servers.
PDF tools compared
Who uploads your files to a server and who processes in the browser. List prices and real limits.
How to check whether a site uploads your PDF
The Network tab test in under a minute, to run on any tool, and where BestPDFInTheWorld fits.
Got a document
to protect?
Encrypt it with a password, without leaving the browser. Free, with a daily limit.
Open the protect tool