The two ways to lock a PDF: password protection and file encryption
You can encrypt a PDF in two different ways, and they do different things. Password protection lets you set a password that someone must enter to open the file at all — this is the simpler option and works in almost every PDF reader. File encryption scrambles the PDF's contents using a mathematical algorithm, making it unreadable without the correct key — this is stronger but requires compatible software on both ends.
Most people who say they want to "encrypt" a PDF actually want password protection. It's faster to set up, works everywhere, and stops casual access. True encryption is worth the extra steps only if you're protecting sensitive documents like financial records, medical files, or legal contracts that need to survive being intercepted or stolen.
Your choice depends on what you're protecting against. Password protection stops someone from opening the file by accident or from a quick look. Encryption stops someone from reading it even if they have the file and unlimited time to crack it.
Key Takeaways
- Password protection requires a password to open the PDF and works in any PDF reader, but the password can be cracked with enough effort.
- File encryption scrambles the PDF's contents mathematically and is much harder to break, but both sender and recipient need compatible software.
- Most PDF tools built into Windows, Mac, and Adobe Reader can add password protection in under a minute.
- True encryption usually requires dedicated software like Adobe Acrobat Pro, 7-Zip, or VeraCrypt, depending on your operating system.
- You can combine both methods: encrypt the file, then password-protect the PDF itself for a second layer of security.
Password-protecting a PDF on Windows, Mac, or Linux
If you're using Adobe Reader (the free version), open your PDF, go to Tools, then Protect. Click "Encrypt with Password" and choose whether you want to require a password to open the file, to print it, or to copy text from it. You can set all three. Enter your password twice and save the file — it's now password-protected.
On Windows 10 or 11 without Adobe Reader, you can use the built-in Print to PDF feature. Open your document in any program, press Ctrl+P, select "Print to PDF" or "Microsoft Print to PDF", then look for a security or options button before you print. Not all print dialogs show this button, so this method is less reliable than using Adobe Reader or a dedicated tool.
On Mac, open your PDF in Preview, go to File, then Export. In the dialog box, click the Security Options button. Check "Encrypt PDF" and enter a password twice. Save the file with a new name so you don't overwrite the original.
On Linux, you can use a command-line tool like qpdf. Open a terminal and type: qpdf --encrypt yourpassword yourpassword 40 -- input.pdf output.pdf. Replace "yourpassword" with your actual password and the filenames with your file names. This creates a new encrypted copy of your PDF.
Encrypting a PDF file itself (not just password-protecting it)
True encryption scrambles the file so thoroughly that opening it without the key is mathematically impractical. The most common approach is to encrypt the PDF before you send it, using software that both you and the recipient have access to.
Adobe Acrobat Pro (the paid version, not free Reader) can encrypt PDFs with 128-bit or 256-bit AES encryption. Open the file, go to Tools, Protect, and choose "Encrypt with Certificate" or "Encrypt with Password". The password method is simpler — you set a password and anyone with that password can decrypt the file. The certificate method uses public-key encryption, which is more complex but doesn't require sharing a password.
7-Zip (free, Windows and Mac) can encrypt any file including PDFs. Right-click your PDF, select "7-Zip", then "Add to Archive". In the dialog, enter a password in the "Encryption" field and choose AES-256 as the encryption method. This creates a .7z file that contains your encrypted PDF. The recipient needs 7-Zip or a compatible tool to open it.
VeraCrypt (free, Windows, Mac, Linux) creates an encrypted container — think of it as a locked folder. You put your PDF inside, set a password, and the entire container becomes unreadable without the password. This is overkill for a single PDF but useful if you're protecting multiple files together.
What password strength actually means for PDFs
A weak password like "password123" or "pdf2024" can be cracked in seconds by modern computers trying thousands of guesses per second. A strong password for a PDF should be at least 12 characters long and mix uppercase letters, lowercase letters, numbers, and symbols — something like "Tr0pic@lSunset#42" is much harder to crack than "summer".
Password-protected PDFs are vulnerable to brute-force attacks, where software tries every possible combination until it finds the right password. The longer and more random your password, the longer this takes. A 12-character password with mixed characters would take a standard computer years to crack. A 6-character password takes minutes.
If you're protecting something truly sensitive, use a password manager like Bitwarden or 1Password to generate and store a random 20+ character password. Write it down nowhere except in the password manager itself. This removes the temptation to use something you can remember, which is almost always weaker.
Sending an encrypted PDF to someone else safely
If you password-protect a PDF and email it, the password and the file travel separately — send the file in the email and the password through a different channel, like a phone call or a separate text message. This way, if someone intercepts your email, they have the file but not the password.
If you use true encryption like 7-Zip or VeraCrypt, the recipient needs the same software to open it. Before you send an encrypted file, confirm that the person on the other end has the tool installed or is willing to install it. 7-Zip is free and widely available, so it's usually the easiest choice for sharing with non-technical people.
For highly sensitive documents, consider using a service like Tresorit or Sync.com, which encrypt files on your computer before uploading them to the cloud. You can share a link with someone, and they read the file already encrypted. This avoids emailing sensitive data altogether.
When password protection is enough and when you need real encryption
Password protection is sufficient for most everyday use: protecting a resume from casual viewing, keeping a draft document from being opened by accident, or preventing someone from printing a PDF without permission. It's also the only option if the person receiving the file uses a basic PDF reader that doesn't support encryption.
True encryption is worth the extra steps if you're protecting financial records, medical information, legal documents, or anything that could cause real harm if it fell into the wrong hands. It's also necessary if you're required by law or by your employer to encrypt sensitive data — many industries have compliance rules that specifically require encryption, not just password protection.
If you're unsure, ask yourself: would I be comfortable with this file sitting unencrypted on a stolen laptop? If the answer is no, use encryption. If the answer is yes, password protection is fine.
Frequently Asked Questions
Can someone remove a password from a PDF I sent them?
If you only set a password to prevent printing or copying, yes — these restrictions can be removed with free online tools. If you set a password to prevent opening the file, removing it is much harder but still possible with brute-force software if the password is weak. True encryption (not just password protection) cannot be removed without the decryption key.
What's the difference between a user password and an owner password?
A user password prevents someone from opening the PDF at all. An owner password lets anyone open the file but prevents printing, copying, or editing unless they know the owner password. You can set both — the file opens with the user password, but certain actions require the owner password.
Do I need to buy software to encrypt a PDF?
No. Adobe Reader (free) can password-protect PDFs. 7-Zip (free) can encrypt any file including PDFs. Mac's Preview (built-in) can password-protect PDFs. Windows Print to PDF has some encryption options. You only need to buy Adobe Acrobat Pro if you want advanced features like certificate-based encryption or batch processing many files at once.
If I encrypt a PDF, can the recipient edit it?
Encryption and editing are separate. An encrypted PDF can still be edited if the recipient has the decryption key and uses software that supports PDF editing (like Adobe Acrobat Pro). If you want to prevent editing, you need to set an owner password or use a tool that locks the PDF against modifications after decryption.
What happens if I forget the password to my own encrypted PDF?
There is no recovery. If you forget the password, the file is unreadable. There is no "forgot password" button for PDFs. Keep your passwords in a password manager, and keep a backup of important documents unencrypted in a find location.