Allin1Tool
PDF ToolsRuns in your browser

Protect PDF

Apply AES-256 encryption with a password of your choice, so readers demand it before showing a single page.

Share:

Protect PDF workspace

Drop a file here

or click to browse your computer — .pdf, up to 100.00 MB per file

Runs in your browserNo upload

Your file stays on this device

Everything here runs as JavaScript inside your browser tab. Your document is read into the tab's own memory, processed there, and handed straight back to you as a download. It is never uploaded to a server, and the PDF rendering engine is served from this site rather than a third-party CDN.

Using Protect PDF

  1. Save the password you intend to use in your password manager first.

  2. Upload the finished PDF, after any merging, page edits or watermarking are done.

  3. Type a password of at least four characters, though a long passphrase is far better.

  4. Encrypt and download the protected file, then test it by opening it and entering the password.

The document is re-encrypted in your browser under AES-256 with a key derived from the password you type, and the password itself is never stored or transmitted. Granular print and copy permission flags are not exposed, because an open password is the part with real cryptography behind it.

Password-Protect a PDF with AES-256

This applies real encryption. The document's contents are encrypted with a key derived from your password, and every reader — Acrobat, Preview, Chrome, a phone — will demand that password before showing a single page. Without it, the file is noise.

That is worth stressing because plenty of "PDF protection" features are not this. Setting a read-only flag or stamping a confidentiality notice does nothing to a determined reader. Encryption does.

Before you type a password

Write it down first, in whatever you use to store passwords. Then type it here.

There is no recovery, no reset link, and no support address that can help. The password is used in your browser to derive an encryption key, and it is never stored, transmitted or recorded anywhere. If you forget it, the document is gone. Not "gone until you contact us" — gone.

This catches people out most often with files they encrypt and then archive. You will remember the password this week. Next March, you will not.

The minimum length accepted is four characters, which is a floor rather than a recommendation. Four characters is trivially brute-forced. For anything you genuinely care about, use a long random string from a password manager, or a passphrase of several unrelated words.

What the encryption covers

Everything: page content, text, images, embedded files and metadata. This is the AES-256 scheme from PDF 2.0, the current standard, and it is what corporate and legal workflows expect.

What it does not include is the granular permission system some PDF tools expose — separate switches for printing, copying text or adding annotations. Those flags are not offered here, and it is worth understanding why they are a weak control anyway: they are instructions to the reader software, not enforcement. A reader that chooses to ignore "do not print" will print. An open password is the part with actual cryptography behind it, and that is the part this tool does.

What a password does not protect you from

Encryption controls who can open the file. It has nothing to say about what happens next.

  • Anyone who opens it can screenshot it, print it, or retype it.
  • Anyone who has the password can pass on both the file and the password.
  • Emailing the encrypted file and the password in the same message protects nothing at all. Send the password by a different channel — a phone call, a message app — and never in the covering email.
  • If someone had a copy before you encrypted it, they still have that copy.

Encryption is the right tool for "this attachment might be forwarded to the wrong person" and the wrong tool for "I need to control what the recipient does with it".

Order of operations

Encrypt last. Once a file is encrypted, the other tools here cannot read it — merging, splitting, rotating and watermarking all refuse encrypted input at upload, and so will most other software.

So do the document work first, check the result, then protect it. If you already encrypted something and need to change it, Unlock PDF will decrypt it with the password so you can edit and re-protect.

Practical notes: the file is encrypted in your browser tab and downloaded from there, so the password never travels. Inputs up to 100 MB are accepted. If you want a visible ownership marker as well as encryption, apply Add Watermark before you encrypt, not after.

Frequently asked

What happens if I forget the password?

The document is unrecoverable. The password is used in your browser to derive the encryption key and is never stored, sent or logged anywhere, so there is no reset and no support route that can open the file. Save it in a password manager before you encrypt.

Is this real encryption or just a flag in the file?

It is genuine AES-256 encryption covering the page content, text, images and metadata. Every reader will ask for the password before displaying anything, and without it the file is unreadable.

Can I allow viewing but block printing or copying?

Those granular permission flags are not offered here. They are also weak by nature, since they are instructions to the reader software rather than anything enforced by cryptography, and a reader that ignores them will print anyway.

Can I still edit the PDF after protecting it?

Not with the other tools on this site, which refuse encrypted input at upload. Do your merging, page work and watermarking first and encrypt last, or decrypt with Unlock PDF if you need to make a change.