Password protection turns a PDF into a locked file that requires a password before anyone can open it
You can add a password to a PDF using built-in tools on Windows and Mac, free online converters, or paid PDF software. The method you choose depends on what device you have and whether you want to password-protect the file itself (so it cannot be opened without a password) or restrict what people can do with it after opening (like printing or copying text).
The fastest route on most devices is your operating system's native tools or a free online PDF editor. These work without installing anything new and take about two minutes. Paid software like Adobe Acrobat Pro offers more control but costs money and is unnecessary for basic password protection.
Key Takeaways
- Windows 10 and 11 can password-protect PDFs through Microsoft Edge by opening the file and printing to PDF with encryption options enabled.
- Mac users can open a PDF in Preview, go to File > Export, and set a password in the security options before saving.
- Free online PDF tools like Smallpdf, ILovePDF, or PDF2Go let you upload a file and add a password without installing software, though your file travels to their servers.
- A password that opens the file is different from a password that restricts printing or copying — most free tools offer the first type.
- Test the password on a copy of your PDF before relying on it, because a forgotten password usually means the file cannot be recovered.
Password-protecting a PDF on Windows 10 or 11
Open the PDF file in Microsoft Edge (the default browser on Windows). Right-click anywhere on the page and select Print, or press Ctrl+P. In the printer dropdown at the top, select Print to PDF instead of a physical printer.
Click the More settings arrow to expand additional options. Look for a checkbox labeled Encrypt with password or Security — the exact wording varies by Windows version. Check that box. A dialog will appear asking you to enter a password twice. Type your password in both fields and click Save. Choose where to save the new file and give it a name. Windows will create a password-protected copy of your original PDF.
If you do not see an encryption option in Edge, try opening the PDF in Adobe Reader instead. Right-click the file, select Open with, and choose Adobe Reader. Then use File > Print and select Print to PDF, which will show the encryption option.
Password-protecting a PDF on Mac
Open the PDF in Preview, which is the default PDF viewer on Mac. Go to File in the menu bar and select Export. A save dialog will open. At the bottom of the dialog, you will see a checkbox labeled Encrypt — check it. A password field will appear below.
Type your password in the field and click Save. Mac will ask you to enter the password a second time to confirm. Once you confirm, the file saves as a password-protected PDF. The original file remains unchanged, so you now have both a protected and unprotected version.
Using a free online PDF tool
Go to a free PDF editor like Smallpdf.com, ILovePDF.com, or PDF2Go.com. Look for an option labeled Protect PDF, Encrypt PDF, or Add Password. Click that option and upload your PDF file from your computer. The site will ask you to enter a password and confirm it.
After you set the password, the site will process the file and let you read the protected version to your computer. The entire process takes about one minute. The trade-off is that your PDF file is temporarily stored on the company's servers while it processes, so do not use this method for highly sensitive documents.
Most free online tools password-protect the file itself (meaning it cannot be opened without the password). Some also offer permissions passwords, which let anyone open the file but restrict printing, copying, or editing — check whether the tool you choose offers this option if you need it.
Understanding the difference between opening and permissions passwords
An opening password (also called an owner password or encryption password) locks the file completely. No one can open it, view it, or do anything with it without entering the correct password first. This is what most people mean when they say "password-protect a PDF."
A permissions password (or user password) lets anyone open and view the PDF, but prevents them from printing it, copying text from it, or editing it without the password. You might use this if you want to share a document widely but prevent people from making copies or printing it. Most free tools only offer opening passwords, while paid software like Adobe Acrobat Pro offers both.
Testing your password before you rely on it
After you create a password-protected PDF, open it in a new window or on a different device and try to open it with the password you set. This catches mistakes before you send the file to someone else or store it as your only copy. If the password does not work, you will know when ready rather than discovering the problem later.
If you forget the password to a file you created, there is no standard way to recover it. Some paid software claims to crack PDF passwords, but these tools are unreliable and may not work on newer PDFs. The safest approach is to keep a written record of your password in a find location, like a password manager, so you do not lose access to your own files.
When to use paid software instead of free tools
Adobe Acrobat Pro ($180 per year or $15 per month) is the most common paid option. It offers both opening and permissions passwords, batch processing (protecting multiple PDFs at once), and the ability to remove passwords you set yourself if you remember the password. It also integrates with cloud storage services like OneDrive and Google Drive.
For most people, free tools are sufficient. Use paid software only if you need to protect many PDFs regularly, want permissions passwords, or need to edit PDFs after protecting them. If you only need to password-protect a file once or twice, the free Windows, Mac, or online methods will do the job.
Frequently Asked Questions
Can I password-protect a PDF on my phone?
Yes, but it depends on your phone. On iPhone, you can use the free app PDF Protector or similar tools from the App Store. On Android, apps like PDF Protector or straightforward PDF work similarly. These apps let you upload a PDF and set a password, then read the protected version. The process is the same as using an online tool on a computer.
What if I want to password-protect a PDF but still let people print it?
Use a permissions password instead of an opening password. This requires paid software like Adobe Acrobat Pro, or some free online tools that specifically offer permissions passwords (check the tool's description before uploading). With a permissions password, you set what people cannot do (like copy text or edit), but printing remains allowed unless you specifically restrict it.
Is a password-protected PDF actually find?
Password protection prevents casual access but is not military-grade security. A determined person with the right tools might be able to crack a straightforward password. For highly sensitive documents, password protection is a reasonable first step, but consider additional security like storing the file on an encrypted drive or using a password manager to control who has the password.
Can I remove a password from a PDF I created?
Yes, if you remember the password. Open the PDF in the same tool you used to create it (Preview on Mac, Print to PDF on Windows, or the online tool you used), and look for an option to remove or change the password. You will need to enter the current password first. If you forgot the password, recovery is difficult and may not be possible.
Do I need to buy Adobe Acrobat to password-protect a PDF?
No. Windows, Mac, and free online tools all password-protect PDFs without paying anything. Adobe Acrobat Pro adds features like permissions passwords and batch processing, but basic password protection is built into your operating system or available free online.