"Password-protected" sounds like one level of security. On a PDF it isn't. Two files that both ask for a password can differ enormously: one can be opened by a determined amateur in an afternoon, the other is practically unbreakable. The difference comes down to which encryption scheme the file uses and how good the password is.
How PDF passwords work
The PDF standard (ISO 32000-1, section 7.6) encrypts the strings and streams in a file, which is where the page content and text live, using either RC4 or AES. The qpdf manual explains the design: the real encryption key is stored inside the file, protected by the passwords. "Either password can be used to retrieve the encryption key."
There are two passwords:
- The user (open) password protects the key. Without it, the content is unreadable.
- The owner (permissions) password sets restrictions like no printing or no copying. If the user password is empty, the file opens for everyone and the restrictions are, in qpdf's words, "solely enforced by the software."
So the first rule is simple: only an open password protects the content. A permissions-only password is a request, not a lock.
The schemes, from weakest to strongest
The PDF format has gained new schemes over three decades. Here's what each one means, based on the qpdf manual and the PDF standard:
| Scheme | Introduced | How secure |
|---|---|---|
| RC4, 40-bit (V 1, R 2) | Original PDF security | Broken. The key is 5 bytes long and "can be easily brute-forced", whatever the password |
| RC4, 128-bit (V 2, R 3) | PDF 1.4 | Weak. qpdf says RC4 "is also known to be insecure" |
| AES-128 (V 4, R 4) | AES from PDF 1.6 | Reasonable cipher, older scheme; deprecated in PDF 2.0 |
| AES-256, revision 5 | Acrobat extension | Withdrawn; qpdf says it "should not be used" except for compatibility testing |
| AES-256, revision 6 | PDF 2.0 | Current. The only revision "not deprecated in the PDF 2.0 specification" |
qpdf's summary: "the only way to securely encrypt a PDF file using the standard security handler... is to use AES encryption," and "there is no reason to use 128-bit encryption with AES. If you are going to use AES, just use 256-bit encryption instead." With AES-256 and a strong password, it says, the protection is comparable to encrypting the file with a general-purpose encryption tool.
One more detail from the standard: the older schemes (revisions 2 to 4) use only the first 32 bytes of a password. A 50-character passphrase on an RC4 or AES-128 file is no stronger than its first 32 characters.
The password matters as much as the scheme
AES-256 doesn't help if the password is "123456". Unlike a website login, a PDF has no lockout: anyone who has the file can try passwords on their own computer, as fast as their hardware allows, for as long as they like.
- Length beats cleverness. NIST's guidance for passwords used as the only login factor asks for at least 15 characters, and it tells services not to force mixtures of character types. A PDF faces offline guessing, so treat 15 as the minimum, not the goal.
- Words work. A phrase of four or five unrelated words is long, memorable and easy to type on a phone.
- Unique matters. A password you've used elsewhere may already be in a leaked list that guessing tools try first.
What the Protect PDF tool on this site uses
Here's what its code does today. The Protect PDF tool encrypts every file with qpdf, compiled to WebAssembly and run in your browser, using --encrypt … 256: AES-256 for every input, whatever PDF version the file declares. The pdf-lib library it also loads is used to unlock files, to verify the output reopens with your password, and only as a fallback for encryption if the qpdf engine cannot be downloaded; that fallback picks the scheme from the file's PDF version (AES-128 for 1.6 and 1.7, 128-bit RC4 for 1.4 and 1.5, 40-bit RC4 for older and 2.0 files), which is why it is no longer the main path.
Until October 17, 2026 that pdf-lib path was the main one, so a file you protected here earlier may carry a weaker scheme. Check before you rely on it: drop the protected copy into Unlock PDF. It reads the encryption settings on your device and shows the scheme, without needing the password or changing the file. If it reports RC4, protect the file again.
The same check is worth doing on files made by other apps, since many don't say which scheme they used.
What a PDF password never covers
Even the best scheme has limits:
- The recipient. Anyone with the password can open the file and save an unprotected copy.
- Visible details. Only strings and streams are encrypted. The file name, size and basic structure stay visible, so don't put sensitive details in the file name.
- Your device. A protected PDF on a phone with no passcode is still on a phone with no passcode. What Face ID app locks actually protect covers the device side.
- Forgotten passwords. There's no recovery, by design. Keep the original somewhere private.
Putting it together
For a document you're sending, such as an ID scan or a set of immigration papers (the immigration paperwork checklist lists the usual ones), you want: an open password, not just permissions; AES, ideally AES-256; a long, unique password; and the password sent by a different channel. The steps for the last part are in should I password-protect a PDF before emailing it? and how to send important documents by email.
A PDF password is good at one job: keeping a file private while it travels and sits in other people's inboxes. With a modern scheme and a strong password, it does that job well.