PDF Password Protect

Set a password on any PDF with AES-256 encryption — upload the file, choose a password, and download the protected PDF. No software to install.

PDF Tools Server tool · file deleted within 1 hour

Reviewed 17 November 2026 · Free · No account needed

ExecutionOur serverOnly the chosen file is uploaded
File retention≤ 1 hourAutomatic deletion + Delete now
AccountNot requiredNo sign-up, no paywall
PriceFreeNo trial, no usage cap on the tool itself

How to use

  1. Enter the password you want to set.
  2. Choose a PDF to protect.
  3. Download the protected PDF — anyone opening it will need the password.

Example

Input: contract.pdf + password “Blue-River-27”

Output: contract-protected.pdf — opens only with that password

How it works

The PDF is rewritten with pypdf and encrypted with AES-256 using your password as the user password. The original file is unchanged — the protected copy is a new file.

Protected file = original pages + AES-256 encryption with your password as the user password (the owner password is the same password).

Worked example

contract.pdf protected with “Blue-River-27” downloads as a PDF that asks for that password on open.

Edge cases to know

  • A forgotten password cannot be recovered — there is no reset.
  • Already-encrypted PDFs are refused; unlock them first.
  • Passwords are capped at 128 characters.

Limits & compatibility

  • Passwords are at most 128 characters — and they cannot be recovered if you forget one.
  • Already-encrypted PDFs cannot be protected again — unlock them first.
  • The password is the only key: lose it and the PDF cannot be opened.

Privacy

Your PDF and password are sent to our server once, used only to encrypt the file, and deleted automatically after 1 hour. Nothing is stored, and the password is never logged.

Related tools

FAQ

Questions about PDF Password Protect

What encryption is used?

AES-256, the modern PDF standard, applied with pypdf. Any standards-compliant PDF reader will ask for the password before opening the file.

What if I forget the password?

The file cannot be opened — there is no reset and no recovery, because the password is never stored anywhere. Keep a copy somewhere safe before you protect an important file.

Can I protect a PDF that already has a password?

No — already-encrypted PDFs are refused. Unlock the file first, then protect it with the new password.

Is my password stored anywhere?

No. It is sent once with the upload, used only to encrypt the file, and deleted with the job after 1 hour. It is never written to the database or logged.