Password Protected PDF Compatibility With PDF Readers and AES-256

Last updated

For password protected PDF compatibility with PDF readers, what decides it is the encryption: Protect PDF always encrypts with 256-bit AES, using qpdf's --bits=256 option.

That 256-bit format is the AES-based encryption from the PDF 2.0 specification, and it needs at least PDF 1.7 with extension level 8. qpdf manual: Running qpdf

Protect PDF

Password Protected PDF Compatibility With PDF Readers by Encryption Type

Revision 6 of the standard security handler is the only 256-bit revision the PDF 2.0 specification (ISO 32000) doesn't deprecate. qpdf manual: PDF Encryption

An earlier 256-bit variant, revision 5, was never fully specified. It only showed up for a short time in some versions of Acrobat. qpdf manual: PDF Encryption

qpdf only writes that deprecated revision 5 if you give it the --force-R5 option. qpdf manual: Running qpdf

Protect PDF doesn't pass --force-R5, so its files use revision 6, the PDF 2.0 form.

qpdf's manual recommends 256-bit encryption. Compatibility with very old viewers is one of the few reasons it gives for picking a weaker format. qpdf manual: Running qpdf

What Opened Our AES-256 Test File

We locked a test file with Protect PDF in October 2026, and qpdf reported revision 6 and AESv3 for its streams, strings and files, at PDF 1.7 extension level 8.

Three PDF engines in our server image (Poppler 25.03.0, MuPDF 1.25.1 and Ghostscript 10.07.1) opened it with the password and refused it without.

PDF 2.0 makes 256-bit AES the standard encryption for PDF 2.0 files, so any reader that follows the current standard supports it. PDF on Wikipedia

A 256-bit AES encrypted PDF doesn't need extra software. A regular PDF viewer opens it once you enter the password. qpdf manual: PDF Encryption

Send the recipient a test file locked with a dummy password before you send the real one.

Check which reader and version the recipient uses before you send anything sensitive.

Protect PDF password form filled in before encrypting with AES-256, the setting behind password protected PDF compatibility with PDF readers
Both fields filled in; Protect PDF then encrypts with 256-bit AES.

When a Recipient Cannot Open the File

Share a download link for a current PDF reader with the recipient, then try the file again.

Retype the password by hand, in case a stray space came along with copy and paste.

Protect PDF has no setting for a weaker or older encryption level, so the fix for an outdated reader is updating it.

Continue with Is It Safe to Unlock PDF Online? What Happens to Your File or PDF Owner Password vs User Password, Explained Simply.

Frequently Asked Questions about Password Protected PDF Compatibility With PDF Readers and AES-256

Which encryption does Protect PDF use?

AES with a 256-bit key, written by qpdf in the PDF 2.0 format.

Can I choose 128-bit encryption for an older reader?

No. The key length is fixed at 256 bits in the qpdf command, and the form doesn't offer a choice.

Why does every reader ask for the password?

Protect PDF sets a user password, so every reader has to ask for it before it shows the pages.

Does protecting a PDF change its size?

Only a little in our test. A small 4.9 KB PDF grew to 5.8 KB after encryption and still had its single page.