How to protect a PDF, step by step

Drop the PDF into the upload zone, type the password you want into both boxes — they must match, and the Show passwords box lets you check what you typed — then click Protect PDF. The tool opens the document in your browser, re-saves it with AES-256 encryption, and offers the result as a new file with “-protected” added to its name. Your original stays untouched, so you still have the unprotected copy if anything goes wrong. Before you share the protected file, open it once yourself and confirm the password works.

What the encryption actually scrambles

A protected PDF is not a normal file with a lock icon — its contents are mathematically scrambled using a key derived from your password. Text, images, attachments and the document’s own metadata are all encrypted, so opening the raw file in another program shows nothing readable. What encryption does not hide is the file itself: anyone can see that a PDF exists, roughly how large it is, and when it was changed. Think of it as a sealed envelope rather than invisibility — the message is safe; the envelope is not a secret.

Open passwords and owner passwords

PDFs support two passwords. A user password — the open password — is required before the file can be viewed at all. An owner password controls permissions such as printing and copying on a file that may still open freely. This tool sets the password you choose as the open password, with no permission restrictions attached: anyone who knows it can open, print, copy and edit the document as normal. A file that opens for everyone but merely resists copying is a much weaker protection — this tool deliberately does the stronger thing.

The password is the weak point

AES-256 has no known practical attack; nobody is going to break the cipher. What attackers break is the password, by trying millions of likely candidates against a copy of the file — and they can do that offline, at whatever speed their hardware allows, with no lockout stopping them. That is why length and uniqueness matter more than clever substitutions: long passphrases and generated passwords survive guessing, while names, dates and single dictionary words do not. Use a different password for each sensitive file, and keep it in a password manager rather than in the same email thread as the file.

Forgotten passwords are final

Because the password is the key, forgetting it is not an inconvenience — it is the protection working as designed. Neither this tool nor our PDF Password Remover can recover a forgotten password: the remover removes protection only when you can type the current password in. If a file matters, save its password somewhere safe at the moment you protect it, and tell anyone you share the file with to do the same.

Your file — and your password — stay on your device

Sending a sensitive document to a server-based tool means trusting that service with both the document and its password. Here there is nothing to trust: the encryption library runs entirely in your browser tab, the file is encrypted in memory, and the protected copy downloads directly from the page. The password you type is never sent, logged or stored anywhere.

Common mistakes

  • Sharing the password in the same message as the file. Send it by a different channel — a call, a text message, or a password-manager share.
  • Using a short or reused password. Guessing software tries the common passwords first; length and uniqueness are the defence.
  • Assuming encryption restricts what recipients can do. Once a file is opened with the password it can be printed, copied and forwarded like any other. Encryption controls who gets in, not what they do afterwards.
  • Protecting an archival PDF/A file. The PDF/A standard forbids encryption, so a protected copy is no longer a valid archive document.