How to Password Protect a PDF Free: Encrypt Files Locally
A plain PDF can be read by anyone who gets a copy. Add a password in your browser and learn the habits that make that protection count.

On this page
Email a payslip, a medical report or a signed contract as a plain PDF, and anyone who gets a copy can read it: a forwarded thread, a shared inbox, a lost laptop. PDF password protect features encrypt the content so only people with the password can open it. Done well, it takes a minute and holds up.
This guide explains the two types of PDF password, how to add one with PdfPress without uploading anything, and the habits that make the protection count.
Open password or permissions password?
The PDF format supports two separate passwords, and mixing them up is the most common mistake people make.
| Open password (user password) | Permissions password (owner password) | |
|---|---|---|
| What it does | Required to open and view the document | Restricts printing, copying or editing |
| Can the content be read without it? | No | Yes, the file opens normally |
| How strong is it in practice? | Strong, if the password is strong | Weak: it relies on the reader software playing along |
| Best used for | Keeping content confidential | Discouraging casual edits or copying |
Warning: A permissions password alone won't stop anyone reading your document. If confidentiality matters, set an open password.
Permission restrictions are honoured by well-behaved PDF readers, but other software can ignore or strip them. Think of them as a "please don't" sign rather than a lock.
What actually protects the file
When you set an open password, the PDF's content is encrypted with a key derived from that password. Modern software uses AES, with AES-256 the strongest option in current versions of the PDF standard. Older files may still use 40-bit or 128-bit RC4, which is considered weak today.
Here's the part that matters most: the algorithm is rarely what fails. The password is. Something like "london1" can be guessed by automated tools very quickly, while a long random passphrase cannot be cracked in any practical timeframe. Encryption only ever is as good as the password feeding it.
How to password protect a PDF with PdfPress
Protect PDF encrypts your file inside your browser. The document and the password stay on your device and never get uploaded.
- Open Protect PDF.
- Drop in the PDF you want to secure, or choose it from your device.
- Type a strong password, and confirm it if asked.
- Apply the protection and download the encrypted file.
- Open the download and make sure it asks for the password before you send it anywhere.
Tip: Do every other edit first. Merging, compressing, page numbers and watermarks all belong before protection, because an encrypted PDF has to be unlocked before you can change it again.
Picking a password worth using
Length beats cleverness. Aim for at least 12 to 16 characters; four or five random words strung together ("copper lantern biscuit orbit") are both strong and easy to read out over the phone. Keep it unique, too. If you reuse your email password and it leaks, the PDF goes with it, and vice versa.
Avoid anything someone could guess from context. An accountant protecting a client's tax return with the client's date of birth or postcode is a surprisingly common pattern, and exactly what an attacker would try first. A password manager solves most of this: it generates something random and remembers it for you.
Sharing the file and the password safely
Encryption is half the job. Delivery is the other half.
Send the password through a different channel from the file. If the PDF goes by email, share the password by text, phone call or a messaging app. Putting both in the same email is like taping the key to the door. For people you exchange documents with regularly, agree on a method once and stick to it.
Remember that the file name isn't encrypted. Smith_divorce_settlement.pdf gives the game away even when the content is locked. Use neutral names for sensitive files; our PDF naming guide has some ideas. Document metadata, like author or title, may also stay readable, so clear it with Remove PDF Metadata before you apply the password.
Note: A password protects the file in transit and in storage. Once the recipient opens it, they can save, print or forward the content. For sensitive material, a visible watermark like "Confidential: prepared for J. Smith" adds a useful deterrent.
Removing a password you no longer need
Protection becomes a nuisance once a document lands in your internal archive or needs more editing. Unlock PDF removes the password, provided you know it, and like the other tools it runs locally in your browser. A typical round trip looks like this: unlock the file, merge in the signed page or compress it, then protect it again with a fresh password before sending.
What if you forget the password?
This is the bit people skip until it's too late. A properly encrypted PDF can't be opened without its password, and that includes by you. PdfPress doesn't store your files or passwords, so there's nothing to recover on our side, and Unlock PDF needs the correct password too. It removes protection; it doesn't guess.
The safeguard is simple. Keep an unprotected original somewhere secure that you control, such as an encrypted drive, and save the password in your password manager the moment you create it. If you send protected files often, note which password went with which file and recipient.
Encryption is not redaction
Protecting a PDF doesn't hide specific details from people allowed to open it. Say you're sending a bank statement to a letting agent, and you want them to see the balance but not the account number. A password does nothing for that, because once they open the file they see everything. What you need is redaction, which permanently removes the content. Our article on PDF redaction vs whiteout explains the difference and why drawing a white box over text isn't enough.
Used together, careful redaction and a strong open password cover most everyday needs, from a single payslip to a folder of client contracts, all without uploading a thing.
Written by PdfPress Editorial
Our editorial team writes and maintains practical guides on PDF workflows. Articles are reviewed for accuracy and updated when tools or best practices change. Spotted an error? Let us know.
Questions readers ask
Can a password-protected PDF be opened without the password?
With modern AES encryption and a strong, unique password, the content cannot practically be read without the password. Weak or short passwords, however, can be guessed by automated tools, so password strength matters as much as the encryption itself.
What happens if I forget the password to my PDF?
There is no back door. Legitimate tools, including PdfPress's Unlock PDF, need the correct password to remove protection. Keep the password in a password manager or keep an unprotected original in a secure location.
Does the password protect the file name and metadata too?
The file name is never encrypted, since it belongs to your file system, not the PDF. Depending on the settings, some document metadata may also remain readable, so avoid putting sensitive details in the file name or title.
Is a permissions password enough to stop copying or printing?
Not reliably. Permission restrictions are honoured by compliant PDF readers, but they can be removed by other software. Treat them as a polite request, not a security control.

