Encrypt PDF with AES-256
Encrypt the contents of a PDF with AES-256 so that only people with your password can read it. The encryption is computed in this browser tab and the file is never sent to a server.
Your files never leave your device
Drop PDF files here
One or more PDFs. They are encrypted on your device and never sent anywhere.
You can also paste files with Ctrl+V.
In short
To encrypt a PDF, add it here, set a password, keep Encryption on AES-256 and press Protect PDF. The text, images and fonts of every page are then stored encrypted, and only someone with the password can decrypt and read them. No Adobe software or upload is needed.
How to encrypt a PDF with a password
- Add the PDF with Choose PDF files or by dropping it onto this page. Several files can be encrypted together with one password.
- Under Encryption, leave AES-256 (recommended) selected. Switch to AES-128 only if a recipient's very old reader can't open the AES-256 file.
- Enter a password and confirm it. A long phrase costs you nothing extra to encrypt with and is far harder to guess than a short word.
- Press Protect PDF and save the copy with Download. Open the copy once: your PDF app should ask for the password before showing anything.
How PDF encryption works
Encryption is part of the PDF standard itself. With AES-256, a random 256-bit key encrypts every text string and data stream in the document, and that key is stored in the file locked with a value derived from your password. Opening the document means deriving that value again from the typed password, unlocking the key and decrypting the pages on the fly.
Since everything hinges on the password, it is the only realistic point of attack. Nobody breaks AES-256 itself; people who want into an encrypted PDF run programs that try likely passwords very quickly. A password of twelve or more characters that isn't a word, a name or a date puts the file out of reach of that approach.
Frequently asked questions
How do I encrypt a PDF with a password for free?
Use the tool above: add the PDF, type the password twice and press Protect PDF. It costs nothing, needs no account and adds no watermark or branding to the encrypted file.
Can I encrypt a PDF without Adobe Acrobat?
Yes. The encryption format belongs to the open PDF standard, so any program that follows it can write it. This page uses the open-source QPDF library inside your browser, and the result opens in Acrobat Reader exactly like a file encrypted with Acrobat Pro.
How do I encrypt a PDF for email, Gmail or Outlook?
Encrypt the PDF here, then attach the encrypted copy to your email and send the password separately, for example by text message. Mail encryption features protect the message in transit, whereas an encrypted PDF stays protected after it is downloaded, saved or forwarded.
Is encrypting a PDF the same as password protecting it?
Yes, when the password is needed to open the file: the password protection is the encryption. A PDF that only restricts printing or copying is also encrypted, but with an empty open password, so it protects nothing confidential.
Which is better, AES-256 or AES-128?
AES-256 is the newer and stronger option and works in every current PDF app, so it is the default here. AES-128 remains safe with a good password but limits it to 32 plain characters; choose it only for readers that can't open AES-256.
Can I encrypt a PDF with a certificate instead of a password?
Not with this tool. Certificate encryption locks the file to the digital IDs of specific recipients and needs software such as Acrobat Pro on both sides. Password encryption is simpler to share and is supported by every PDF reader.
Does encryption hide the document title and file name?
The title, author and other document properties are encrypted along with the pages. The file name is not part of the PDF content, though, so choose a neutral name if the name itself would reveal something.
What an encrypted PDF hides, and what it doesn't
Encryption covers the content a reader cares about. The skeleton of the file, such as how many pages it has and their sizes, stays readable to anyone who inspects the raw file, and so does its total size.
- Encrypted: page text, images, fonts, form field values, comments, attachments and document properties.
- Not encrypted: the file name, the file size and the page structure.
- Kept intact: links, bookmarks and form fields work as before once the password is entered.
Will the recipient be able to open it?
AES-256 PDFs open in Adobe Acrobat and Reader from version X onward, in the PDF viewers of Chrome, Edge, Firefox and Safari, in Preview on macOS, in the Files app on iPhone and iPad, and in the common Android PDF apps. If someone still uses a reader from before 2010 and reports an error, encrypt a fresh copy with AES-128 for them.
How your files stay private
Lumofile runs this tool with JavaScript and WebAssembly inside your browser tab. Your files are read from your disk, processed in memory and saved back to your device. Nothing is uploaded: open your browser's network panel while you use the tool and you will see no upload request.
Presets
Related tools
- Remove PDF password Remove a known password or printing and copying restrictions from a PDF, without uploading it.
- Sign PDF Draw, type or add an image of your signature and place it on any page of a PDF.
- Watermark PDF Stamp text or a logo on PDF pages, centered or tiled, without uploading the file.
- Merge PDF Combine PDFs into one file and reorder pages, without uploading them.
- Compress PDF Shrink a PDF with sharp text, or bring it under a size like 1 MB, without uploading it.
- Split PDF Separate a PDF into several files by page range, every N pages or page by page.
Guides
- How to remove a password from a PDF you can open Bank statements, payslips and tax forms often arrive locked with a password you already know. Here is how to save an unlocked copy so you do not have to type it again.
- How to password protect a PDF Before you email a contract, a payslip or a scan of your ID, you may want it locked. A PDF can be protected in two quite different ways, and only one of them truly keeps the content private. Here is how to choose and apply the right one.
Last updated Nov 12, 2026