How to Password-Protect — or Unlock — a PDF
Some documents should not be readable by just anyone who gets the file: contracts, payslips, medical letters, anything with personal or financial detail. Adding a password encrypts the PDF so only someone with the password can open it. The reverse is just as useful — removing a password from a file you are allowed to access so you can actually work with it. This guide covers both, and explains what PDF passwords can and cannot do.
Add a password in three steps
- Open the Protect PDF tool on the pdfly home page.
- Drop in your PDF and type the password you want to set.
- Download the encrypted file. From now on it asks for that password to open.
Remove a password you know
If you have a PDF that you can already open — you know the password, or your bank sends statements locked with your account number — you can strip the protection so you no longer have to type it every time, or so you can edit and merge it. Provide the file and its current password, and download an unlocked copy. This is for documents you are entitled to access; it is not a way around a password you do not have.
Choose a password that actually protects
Encryption is only as strong as the password. A short, common word can be guessed; a longer passphrase cannot. Use something with a mix of length and unpredictability, avoid reusing a password you use elsewhere, and — the part people forget — send the password through a different channel than the file. Emailing the locked PDF and the password in the same message defeats the whole purpose. Text the password, say it on a call, or use a separate app.
The two kinds of PDF password
PDFs support two passwords. An open password (user password) is required just to view the document — the strong protection most people want. A permissions password (owner password) leaves the file readable but restricts actions like printing or copying. Permissions restrictions are much weaker and are widely ignored by software, so do not rely on them for anything that truly must stay private — use an open password for real security.
The honest limits of PDF security
A password stops casual access, which is what most situations need. But once you give someone the password, they can read, copy, print, and re-share the content — encryption cannot follow the file after it is opened. For documents that must be tightly controlled after delivery, a password alone is not enough; that is a job for a dedicated secure-sharing platform. For everyday privacy, though, a strong open password is exactly the right tool.
Common problems and quick fixes
“I forgot the password.” There is no legitimate way to recover a strong open password — that is the point of encryption. Go back to whoever created the file.
“I can open it but can’t print or copy.” That is a permissions restriction; unlocking removes it so you can use a file you are entitled to.
“I need to merge a locked file.” Unlock it first, then merge.
Is it private?
With pdfly, the file and any password you enter are used only to perform the encrypt or decrypt operation and are removed from the server shortly after — nothing is stored or logged for later. Given that this tool exists precisely for sensitive files, that short-lived, no-account handling over HTTPS is the whole point.
Frequently asked questions
Can you recover a password I lost? No — a strong open password cannot be bypassed, which is exactly why it protects the file.
Is a protected PDF safe to email? Safer than an unprotected one — just send the password separately, never in the same message.
Does adding a password change the content? No — it only encrypts the file; the pages are untouched.
Related guides
Merge PDFs · Split a PDF · Compress a PDF
Do it now: Protect or unlock a PDF on pdfly — free, no signup, right in your browser.