How to password-protect a PDF
Last updated: September 6, 2026
Contracts, ID documents, medical records: some files shouldn't travel naked. Adding a password to the PDF itself means the protection travels with the file, wherever it goes. Here's how to do it, and how to do it right.
Use our free Protect PDF with Password tool. Fast and secure.
Locking a PDF in four steps
- Open the Protect PDF tool.
- Select or drag in the document you want to secure.
- Type a password and confirm it. Anyone with it can open the file; without it, no one can.
- Press Protect PDF, then download the encrypted copy and share the password through a separate channel.
Encryption, not just a "please don't" sign
The word "protect" hides an important distinction. PDFs support two very different mechanisms, and only one of them is real security.
| Open (user) password | Owner / permissions password | |
|---|---|---|
| What it does | Encrypts the file so it can't be opened at all without the password | Lets the file open freely but flags it "no printing / copying / editing" |
| Actually secure? | Yes. The content is scrambled and unreadable without the key | No. It's a request readers may honour, removable without any password |
| Applied by this tool | Yes, with AES-256 | No. If you need that, see Unlock PDF to understand how easily it lifts |
So if your goal is "only people I trust can read this," you want the open password, genuine encryption. This tool applies exactly that, using AES-256, the current standard supported by every modern PDF reader and far stronger than the legacy 40- and 128-bit formats older tools still produce.
When a password on the file earns its keep
- Emailing an ID document or a bank letter. Attachments pass through mail servers you don't control, and an encrypted file is noise to anyone who intercepts it.
- Sending a signed contract to a counterparty, where the terms shouldn't be readable by whoever forwards the thread.
- Sharing medical or payroll records via a cloud link that may outlive your intention to delete it.
Choosing a password that actually helps
AES-256 is only as strong as the password guarding it, so this is where your effort pays off. Length beats cleverness: a passphrase of four unrelated words is both easier to remember and harder to crack than a short scramble of symbols. Share the password over a different channel than the file (text it if you emailed the PDF) because sending both together is like taping the key to the lock. And store it somewhere you won't lose it, which brings us to the one thing everyone should understand before clicking the button.
How the protection is applied
This tool uses a server implementation for encryption: your PDF is uploaded with your chosen password to our server over HTTPS, encrypted there by qpdf using temporary server files in a separate job directory. Cleanup is attempted when processing ends, but immediate or secure deletion cannot be guaranteed. Uploads are size- and rate-limited to keep things fair. It is a real trade-off, and for extremely sensitive material you should weigh it deliberately. Our are online PDF tools safe guide lays out how to think it through.
Questions people ask
What if I forget the password? The file is gone, unrecoverable by design. Store it safely before you rely on it.
What encryption strength is used? AES-256, which every current PDF reader supports and which is the recommended modern standard.
Can I remove the password later? Yes. With the password in hand, Unlock PDF strips the encryption when a document no longer needs it.
Does the password stop editing too? An open password controls opening. Once someone is in with the password, they can do the usual things a reader allows; permissions-only restrictions are the weaker owner-password mechanism described above.
Will the recipient need special software? No. Any standard PDF reader prompts for the password and opens the file normally once it's entered.
Related tools
Need to lift protection from a file you own? Use Unlock PDF. Cleaning a document up before you send it? Check what it quietly reveals with PDF Metadata.