Encrypt a PDF File With a Password: What This Tool Really Does
This tool encrypts a PDF file with a password, using AES-256 encryption that runs entirely in your browser — no upload happens at any point, so the original PDF never leaves your device. It is free, with no signup and no watermark.
Read this before you lock an important file: the locked file is an encrypted binary, not a standard password-protected PDF. It will not open in Adobe Reader, Preview, Chrome, or any normal PDF reader. It reopens only in this tool's Decrypt mode or with a compatible decryptor. If you need a file that opens in any PDF reader after entering a password, use a tool that follows the PDF password specification instead — this tool does not produce that kind of file.
How the Encryption Works
When you click Encrypt PDF, the tool creates a random salt and initialization vector, derives a 256-bit key from your password with PBKDF2 (100,000 iterations, SHA-256), and encrypts the entire file with AES-GCM. The download joins the salt, the initialization vector, and the ciphertext into a single file. All of this runs in your browser tab using the Web Crypto API: the file is never sent to a server or stored anywhere, and no copy remains after you close the tab.
How to Encrypt a PDF File in 3 Steps
- On the Encrypt PDF tab, choose a PDF file or drop it into the upload area (50 MB maximum, as listed there).
- Type the password you want to lock the file with. There is one password box and no confirmation box, so type carefully — a typo locks the file with the wrong password.
- Click Encrypt PDF, then download the locked file. It saves with "encrypted_" added to the original file name, and the original PDF is untouched.
Keep the original PDF and the password somewhere safe: a lost password means the locked file cannot be recovered.
How to Decrypt a File Locked With This Tool
Open the Decrypt PDF tab, choose the encrypted file, type the same password, and click Decrypt PDF to download the rebuilt original, named with "decrypted_" added. Decrypt mode only reverses files encrypted by this tool: feed it a standard password-protected PDF, or the wrong password, and it reports "Incorrect password or file format." It cannot remove the password from a PDF locked in Adobe Acrobat or any other standard tool.
Passwords: Strength, Loss, and Sending the File
The encryption is only as strong as the password. A short or common password can be guessed; a long password with mixed letters, numbers, and symbols resists guessing far better. The tool sets no strength or length rule, so the choice is yours — and there is no recovery option or reset link, so store the password somewhere safe, such as a password manager. If you send a locked file, send the password through a different channel (a direct message, a phone call, in person), never in the same email as the file, and tell the recipient the file opens only in this tool's Decrypt mode. Test the round trip first: lock a copy, decrypt it, and confirm the original comes back.
Privacy: Your File Never Leaves Your Device
Encryption and decryption run locally in your browser, so the file's bytes stay on your device from selection to download — suited to documents you would not send to a server. For other PDF jobs, browse the PDF tools suite, and if a PDF is too large for the upload area, shrink it first with the PDF compressor.