The simplest way to lock a PDF depends on what you already have
You can password-protect a PDF using the software that created it, a free tool like Google Drive or Preview (on Mac), or a dedicated PDF editor. The fastest route for most people is Preview on Mac or Adobe Acrobat Reader on Windows, both of which let you add a password in under a minute. If you do not have either, Google Drive works on any device with a browser — upload the PDF, open it in Google Docs, download it back as a PDF, and choose password protection during download.
The choice matters because different methods protect different things. Some passwords prevent anyone from opening the file at all. Others let people open it but prevent printing, copying text, or editing. Decide what you actually need to stop someone from doing, because that determines which tool to use and how strong your password needs to be.
Key Takeaways
- Mac users can password-protect a PDF in Preview by opening the file, choosing File > Export As, and entering a password before saving.
- Windows users with Adobe Acrobat Reader can open Tools > Protect > Encrypt with Password and choose whether to restrict opening, printing, or editing.
- Google Drive works on any device: upload the PDF, open it in Google Docs, download as PDF, and select password protection during download.
- A password that prevents opening is stronger than one that only prevents printing, but takes longer to crack either way if you use 12+ random characters.
- Password-protecting a PDF does not hide the file itself — you still need to store it somewhere secure, like an encrypted folder or password manager.
Using Preview on Mac
Preview is built into every Mac and handles PDF passwords without installing anything. Open the PDF in Preview, then go to File in the menu bar and select Export As. A dialog box appears with the filename and location options.
At the bottom of the dialog, you will see a checkbox labeled "Encrypt". Check that box. A password field appears. Type your password twice to confirm it, then click Save. The file is now password-protected — anyone who tries to open it will see a password prompt before the PDF displays.
This method sets what is called an "owner password" or "open password", meaning the file cannot be opened without the correct password. Preview does not offer options to restrict only printing or copying; it is all-or-nothing protection.
Using Adobe Acrobat Reader on Windows
Adobe Acrobat Reader (the free version) lets you add passwords that restrict specific actions. Open the PDF in Acrobat Reader, then click the Tools icon in the top right (it looks like a wrench). Select Protect, then Encrypt with Password.
A dialog appears with two options: "Require a password to open the document" and "Restrict editing and printing". You can use one, both, or neither. If you check the first, anyone opening the file must enter a password. If you check the second, you set a separate password that controls whether people can print, copy text, or edit the document — they can still open it without this password, but they cannot perform those actions.
Choose which restrictions match what you need. If you want to stop people from opening the file at all, use only the first password. If you want to let trusted people open it but prevent them from printing or copying, use the second password alone. Click OK, enter your password or passwords, and save the file.
Using Google Drive on any device
Google Drive works on Windows, Mac, or any device with a web browser. Go to drive.google.com, click the New button on the left, and select File Upload. Choose your PDF from your computer. Once it uploads, right-click the file and select Open With > Google Docs. The PDF converts to a Google Doc format.
Once it opens in Google Docs, go to File in the menu and select Download > PDF Document. A dialog appears with download options. At the bottom, check the box for "Encrypt this file with a password". Enter your password and click Download. The file saves to your computer as a password-protected PDF.
This method creates an open password — the file cannot be opened without the password. It does not offer options to restrict only printing or editing the way Acrobat Reader does.
Understanding the difference between open passwords and restriction passwords
An open password (also called an owner password or encryption password) prevents the file from opening at all. Without the correct password, the PDF viewer will not display the content. This is the strongest protection if your goal is to keep the file completely private.
A restriction password (also called a user password or permissions password) lets the file open but prevents specific actions like printing, copying text, or editing. Someone can read the content on screen but cannot save a copy, print it, or extract text. Adobe Acrobat Reader offers this option; Preview and Google Drive do not.
If you use both types of passwords in the same file, the open password is checked first. The file cannot be opened without it. Once open, the restriction password controls what the person can do inside the file. Most people need only one or the other, not both.
Choosing a password that actually protects the file
A password is only as strong as its length and randomness. A 12-character password made of uppercase, lowercase, numbers, and symbols (like "K7$mP2@xL9vQ") is far harder to crack than a short word or a predictable pattern. Password managers like Bitwarden, 1Password, or KeePass can generate and store strong passwords so you do not have to remember them.
Avoid passwords based on birthdays, names, or words from a dictionary. Avoid reusing a password you use elsewhere — if that password leaks from another service, someone could try it on your PDF. If you are protecting sensitive documents, treat the PDF password the same way you would treat a bank password.
Keep in mind that password-protecting a PDF does not make the file invisible. Someone with access to your computer or cloud storage can still see the filename and know the file exists. If you need to hide the file itself, store it in an encrypted folder (Windows Encrypting File System, Mac FileVault, or a tool like VeraCrypt) or in a password-protected cloud storage account.
What password protection does and does not do
Password protection stops someone from opening the file without the password, or from printing or copying it, depending on which type you choose. It does not prevent someone from taking a screenshot of the content, recording their screen, or photographing the PDF on a monitor. It does not encrypt the file in a way that survives if someone steals your computer — they would need the password, but the file itself is still there.
If you send a password-protected PDF to someone, the password travels separately. Do not send the password in the same email as the file, and do not use a password you have already shared elsewhere. If the PDF is intercepted in transit, the password is the only thing protecting it.
Password protection is useful for preventing accidental access, stopping casual copying, and meeting basic security requirements in some workplaces. It is not a substitute for encryption if you are protecting highly sensitive data like medical records or financial information — for that, consider encrypting the entire folder or using a service designed for secure document handling.
Frequently Asked Questions
Can I remove a password from a PDF I already locked?
Yes, but only if you remember the password. Open the PDF in the same tool you used to lock it (Preview, Acrobat Reader, or Google Drive), enter the password when prompted, then export or download it again without selecting the encryption option. If you forgot the password, you cannot remove it without specialized software, and even then the process is slow and unreliable for strong passwords.
What if someone forgets the password to open my PDF?
There is no "forgot password" recovery for PDFs the way there is for email or social media accounts. You have to send them the password again through a separate channel, or you have to unlock the file yourself and send them an unprotected version. This is why it is important to share the password securely — not in the same email as the file, and ideally through a phone call or in person.
Does password-protecting a PDF work on mobile phones?
Yes. Most PDF readers on iOS and Android will prompt for a password when you try to open a protected file. However, not all mobile apps support adding passwords to a PDF — you usually have to protect it on a computer first, then open it on your phone. Google Drive works on mobile and can protect PDFs the same way it does on desktop.
Is a PDF password as secure as encrypting a file?
PDF passwords are weaker than full-file encryption because they only protect the PDF itself, not the data around it. A strong PDF password is still useful for preventing casual access, but if someone has your computer or steals your cloud storage account, they can see the filename and know the file exists. Full encryption (like FileVault on Mac or BitLocker on Windows) hides the entire file until you unlock the drive.
Can I password-protect a PDF that is already in the cloud?
Not directly — you have to download it, add the password using one of the methods above, and upload the protected version back. Google Drive is the exception: you can open a PDF in Google Docs, download it with password protection, and it replaces the original file. For PDFs in Dropbox, OneDrive, or iCloud, download first, protect it, then upload the new version.