Password Protect PDF with 256-Bit AES

Add a password to PDF free — lock and encrypt with user and owner passwords, and restrict printing, copying and editing.

Drop your PDF here

or press Ctrl+V to paste

PDF • Limit adjusts to your device

or

No sign up • Nothing uploaded • No watermark.

How to Protect PDF Files

  1. Step 1

    Upload PDF File

    Drag and drop your PDF document into the upload dropzone or select from your device.
  2. Step 2

    Set Password & Permissions

    Enter a strong password and choose permissions (prevent printing, editing, or copying).
  3. Step 3

    Encrypt & Download

    Click Protect PDF to apply strong encryption (up to 256-bit AES) instantly in your browser, then download.

AFFLIGO Protect vs Smallpdf & iLovePDF

AFFLIGO
  • ✓AES-256 - qpdf compiled to WebAssembly runs --encrypt … 256 inside the tab
  • ✓Separate open and owner passwords, plus printing, copying and editing switches
  • ✓No upload at any point, so the password never crosses a network
  • ✓Batch queue with an adaptive device guard, 1 GB per file
Smallpdf
  • ✓Free, no account needed, works on Mac, Windows, Linux and mobile
  • ✓Files deleted an hour after processing, TLS in transit, passwords never stored
  • ✗AES 128-bit throughout their own Protect PDF page; 256-bit is never mentioned
  • ✗One password to type and confirm; no owner password or permission switches described
iLovePDF
  • ✓Basic and Advanced tabs - password only, or password plus permissions
  • ✓Seven separate permissions, more granular than AFFLIGO's three (comments, form filling, assembly, accessibility extraction)
  • ✓Enforces a minimum 8 characters with a live strength checklist
  • ✗Upload-based: the PDF is encrypted on their servers, not in your browser

Two Passwords, Three Switches

  • •The open password is the one that matters most. Without it the file cannot be decrypted at all. The owner password is the key to the permission flags, so keep the two different if you plan to change permissions later.
  • •Fill only one field and it is used for both. That is the right choice for "just stop people opening this", but it also means anyone who can open the file can edit the permissions.
  • •Printing is all-or-nothing here: the switch writes qpdf's --print=full or --print=none, with nothing in between. Copying maps to --extract, and the editing switch drives --modify-other, --annotate and --form together.
  • •Accessibility stays open by design. --accessibility=y is always passed, so a screen reader can still read a file where copying is switched off - worth knowing before you lock a document for a public body.

What Comes Back, and the One-Way Door

  • •Naming: each file returns as name_protected.pdf. Protect more than one and the run offers a ZIP, with a Download All button on the done card.
  • •Already-protected files are opened first. You are asked for the existing password in the tab, that copy is decrypted, and the new password and permissions are applied on top - instead of the run failing halfway.
  • •Limits: 1 GB per file, and the adaptive device guard may refuse a heavy file earlier on a small phone or laptop with a message that explains why. Encrypting is CPU work, so a big scan takes longer than a text page.
  • •Nothing is stored, so nothing can be recovered. No password reaches a server, which also means a forgotten password leaves the file locked for good. Save the password in a manager before you delete the original.

Frequently Asked Questions

Yes. All processing happens directly in your browser using the local encryption engine (QPDF compiled to WebAssembly, with pdf-lib fallback). No files are ever uploaded to any server.
A user password is required to open the PDF. An owner password controls permissions like printing, copying, and editing. You can set either or both.
Yes. Use the permission checkboxes to independently control printing, copying, and editing permissions on the protected PDF.
Limits adapt to your device - the dropzone shows your exact per-file limit. Encryption is fast since it happens entirely in your browser with no upload required.
qpdf is compiled to WebAssembly and called with --encrypt <user> <owner> 256, which is the 256-bit AES mode of the PDF standard - the same engine the compress tool uses. It runs inside the tab, so the file and the password are never sent anywhere. If the WebAssembly build cannot start on an old browser, the tool falls back to pdf-lib's own encryption rather than failing.
Yes. Enter the existing password when prompted, then set a new one. The tool decrypts that copy first and applies the new password and permissions on top, so you can strengthen protection or change the switches at any time. Need to remove protection entirely? Use our Unlock PDF tool.
Both are AES; 256 simply means a longer key, so a brute-force search has exponentially more work to do. It matters because plenty of well-known tools stop at 128 - Smallpdf's own Protect PDF page advertises AES 128-bit and never mentions 256. One thing 256 does not fix: printing, copying and editing restrictions are flags that a reader is asked to respect, so a non-conforming tool can ignore them. iLovePDF says as much on its own Protect page.
Free, no sign up. qpdf compiled to WebAssembly encrypts the file inside the tab, so the PDF and both passwords never leave your device and nothing is stored.