Password Protect a PDF Without Uploading It
Lock a PDF with a password using AES-256 encryption, then watch the tool re-open the locked file to prove the password works. Runs in your browser, nothing is uploaded.
- Free, no account
- No watermark
- No usage limit
About the Password Protect PDF
The PDF you want to password protect is, by definition, the one you'd rather strangers didn't read. Which makes the usual advice a little strange. Upload that exact file to a site you found on page one of Google, let their server encrypt it, download it back, and trust the line about automatic deletion.
This one never asks for the file. The encryption runs here in your browser, on your own machine, so your document is never sent anywhere. That also means no upload wait and no file size cap, since there is no server in the loop.
The other thing it does is prove the lock worked before handing you anything. When the encryption finishes, the tool opens the finished file for real and tries it once with your password, which has to succeed and read every page back, then once with nothing at all, which has to be refused. Both have to pass or you get an error instead of a download. Most tools hand you a file and let you discover the problem when a client can't open it.
What gets applied is AES-256 at revision 6, the strongest option the PDF format defines, which is real encryption rather than a "protected" flag a reader can be talked out of. Without the password there is nothing readable in the file.
How to password protect a PDF
- Add your PDF. Drag it onto the box, click to browse, or paste one you copied. One file at a time.
- Type the password. This is what anyone opening the document will be asked for. The meter gives you a rough guessing time as you type, and it says so outright when you've picked something a cracking list already knows.
- Or let it make one. "Make a strong one" generates twenty random characters with no lookalike letters, so nothing goes wrong when you read it off a screen. Hit Copy and put it in your password manager before you go further.
- Decide what readers can do. Printing, copying text and images, editing, and comments each get a checkbox. Leave them all ticked if you just want the file locked shut.
- Click Lock the PDF. The lock check runs, and when both parts come back green the download appears. Your original is untouched, you get a new file ending in
-locked.pdf.
The lock check, and why it exists
Encrypting a PDF is fiddly, and a tool can get it subtly wrong in ways nobody notices until the file is already sent. Maybe the password ends up doing nothing at all, or the file opens in one reader and errors in another, and you'd only find out when the person on the other end replied.
So this tool checks its own work. It runs the finished file through a real PDF reader, in the page, twice. The first pass supplies your password and has to come back with every page readable. It reports the page count it found, so you can confirm that matches the document you started with. The second pass supplies nothing and has to be turned away. If either result is wrong you get an explanation and no file, because handing you a file we can't confirm is locked would defeat the point.
There's one thing it can't catch. The check tests the password you typed, so if you fat-fingered it, the check happily confirms that your typo works perfectly. That's what the show-password eye is for, so use it once before you click.
Your open password is the lock, the checkboxes are a request
The password to open the file is real security. Without it there's nothing to read, and no software gets around that.
The permission checkboxes are a different animal. "No printing" and "no copying" are flags recorded inside the document asking readers to behave. Adobe Reader and Preview both honor them. A determined person with the right utility ignores them completely, because anyone who can open the file already holds the decryption key. Ticking them stops an honest accident, someone printing a copy without thinking about it, and that's about all they're for.
There's also a trap in how the two passwords interact. A PDF has two: yours, and an owner password that lifts the restrictions. If one password does both jobs, everyone who opens the file counts as the owner, and the restrictions you just ticked off apply to precisely nobody. Every tool with permission checkboxes works this way and hardly any of them mention it. That's why the owner password field here warns you the moment you turn a restriction off, set a different password there and the limits actually bind.
Frequently asked questions
Will this open in Adobe Reader, Preview, and phones?
Yes, and in Chrome, Edge, Firefox, and Foxit. AES-256 at this revision arrived with Acrobat X in 2010, so anything current handles it without a thought. The place you can get caught out is older hardware. A scanner's built-in viewer or an aging e-reader sometimes stops at the previous AES-128 standard and refuses the file. If a specific old device has to open it, test one page before sending the real thing.
Can I take the password off again later?
Not with this tool, it only adds protection. To remove it, open the locked PDF in any reader using your password, then use Save As or Print to PDF to write a fresh unprotected copy. That copy has no encryption on it, so put it somewhere sensible. You need the password to do this at all, which is rather the point.
What happens if I forget the password?
The file stays shut, permanently. Nobody can help with that, including us, because your password was never sent anywhere and no copy of it exists outside your own machine, which is the flip side of encryption that actually works. Save it in a password manager before you close the tab, not after.
Does locking it change the document itself?
Pages, fonts, images, links, and layout come out identical. Nothing is re-compressed or downscaled, the content is simply scrambled and put back in the same order. File size is the one thing that can shift, and the encryption is only a small part of why. The scrambling adds a percent or two, since it rounds every piece up to a fixed block size. What actually moves the number is that a locked PDF has to be written back out in a plainer internal layout, and Word, Acrobat and most modern exporters pack their text into compressed bundles that layout can't keep. So a text-heavy contract can come back noticeably larger, sometimes close to double the original. Image-heavy files barely move, since the pictures were already stored separately.
Why does it say my file cannot be opened?
Almost always one of two things. The PDF already has a password on it, so there's nothing to open until you supply that one first, and this tool doesn't remove existing protection. Or the file is damaged, which happens easily enough with documents that were emailed around or half-downloaded. Open it in any reader, save a fresh copy, and bring that copy back here.