Is the password sent anywhere while the file is encrypted?
No. The password is read from the form and passed into the encryption routine in this tab. It is not written to analytics, not stored in localStorage, and not attached to a request. The download is the only copy that leaves the page, and it leaves to your disk.
Which algorithm is written into the file?
AES-256, security handler revision 6 (qpdf reports this as R = 6 and AESv3). The PDF header is raised to the version that handler requires. RC4 is not offered. It is obsolete, and the library refuses it unless a caller explicitly opts into weak cryptography, which this page does not.
What happens if I leave the owner password empty?
It is set equal to the open password. That is deliberate. An empty owner password can mean anyone who opens the file is the owner. If you also unchecked a permission, the download is blocked until you supply a different owner password, because otherwise the checkbox would not apply to the person you send the open password to.
Why can the opener still copy text if I unchecked Copy?
Only if they also know the owner password, or if their software ignores permission bits. With two different passwords, a conforming reader restricts the open password. qpdf, given the open password, reports the restriction. Given the owner password, it reports owner access. A tool that decrypts and rewrites the file can drop the flags entirely. The unlock page on this site is one of those tools, and it expects a secret you were given rather than one you are hunting for.
Does encryption also hide the author and title?
The Info strings are inside the encrypted file, so a reader that has not been given the password does not show them. pdfinfo on the fixture printed nothing but an incorrect-password error until -upw was set. After the password, the title and author were visible again. Encryption is not a metadata eraser. Use the metadata tool on the plaintext first if the author string itself should be gone.
Can I encrypt a PDF that is already password protected?
Not on this page. The file is opened with the stock PDF library, which stops on an encryption dictionary. Open the unlock tool for a secret you already hold, then protect the result.
Will Chrome's built-in viewer open the download?
Current Chrome, Edge, Firefox, Preview, and Acrobat open AES-256 revision 6 and prompt for the open password. That was the behaviour pdfinfo and qpdf also showed: no password, no document; the right password, the document. A viewer from before this handler existed may refuse the file.
Is the original replaced?
No. You download a new file with -protected in the name. The file you selected stays where it was. Delete it yourself if the plaintext should not remain next to the encrypted copy.
How long can the password be?
The field will take a normal passphrase. Revision 6 is specified for long Unicode passwords, unlike the old 32-byte limit on earlier handlers. This page does not truncate to 32 bytes. Avoid a password you cannot type again. There is no recovery.
Does this stop someone editing the PDF in another tool?
It stops a conforming reader from editing when they only have the open password and modifying is unchecked. It does not stop someone who has the owner password, and it does not stop a program that decrypts with a password it was given and writes a new file. The password is the control. The checkbox is a request to viewers.
Does encryption need a network connection?
Not after the page has loaded the encryption library, which is downloaded only when you open this tool. The cipher uses the Web Crypto random source in the browser and does not call a key server. There is no key escrow.
Is an account required to set a PDF password?
No. An account would be a place to store the password, which is the opposite of what you want. Nothing here remembers it for you. Write it down in whatever password store you already use.
Will the protected file be much larger?
Encryption wraps the existing streams. The fixture grew by a few kilobytes of handler data, not by a second copy of the pages. A 10 MB PDF stays on the order of 10 MB. There is no server size cap. Memory on your device is the limit, because the whole file is held while it is rewritten.