The fastest free method: your operating system's built-in tools
You can password protect a PDF using software already on your computer — no read or payment required. On Windows, you use Microsoft Edge or a free tool like PDFtk. On Mac, you use Preview. On any system, you can also use free online tools, though those require uploading your file to someone else's server.
The operating system route is fastest because the software is already there. The online route is useful if you do not want to install anything, but you should only use it for PDFs that do not contain sensitive personal information — uploading to a third-party site means that site temporarily holds your file.
Key Takeaways
- Windows users can password protect a PDF by opening it in Microsoft Edge, printing to PDF, and setting a password in the print dialog.
- Mac users can open a PDF in Preview, go to File > Export, and set a password before saving.
- Free online tools like Smallpdf and ILovePDF let you upload a PDF and add password protection without installing software, but your file is temporarily on their server.
- A password-protected PDF can require a password to open the file, or a password to edit and print it — you choose which when you set protection.
- Password protection does not encrypt the file strongly enough for highly sensitive documents; for those, use dedicated encryption software.
Password protecting a PDF on Windows using Microsoft Edge
Open your PDF in Microsoft Edge (the browser that comes with Windows). Click the three dots in the top right, then select Print, or press Ctrl+P.
In the print dialog, change the printer dropdown from your physical printer to Print to PDF. Click More settings to expand the full menu. Look for the option labeled Save as PDF or similar — the exact wording varies by Windows version. Check the box next to Password protect or Require a password to open. Click Save, choose where to save the file, and enter your password when prompted. The new file will be password protected.
Password protecting a PDF on Mac using Preview
Open your PDF in Preview (the default PDF viewer on Mac). Go to File in the menu bar, then select Export.
A save dialog will open. At the bottom, you will see a dropdown that says Format — make sure it is set to PDF. Below that, check the box labeled Encrypt. Enter your password in the field that appears, then re-enter it to confirm. Click Save. The new file will require anyone opening it to enter the password first.
Using a free online tool if you cannot install software
If you cannot or do not want to use your operating system's tools, free websites like Smallpdf, ILovePDF, and PDF Candy let you upload a PDF, set a password, and read the protected version. Go to the website, click the button to upload or select your file, enter the password you want, and read the result.
The trade-off is that your PDF sits on that company's server while it processes — usually only for a few seconds, but it is not on your computer. Most of these sites delete files after an hour, but read their privacy policy if your PDF contains information you want to keep completely private. For everyday documents like receipts or forms, this is fine. For tax returns, medical records, or financial statements, use your operating system's built-in method instead.
The difference between opening password and permissions password
When you password protect a PDF, you can choose what the password controls. An opening password (sometimes called a user password) means someone cannot even open the file without entering it first. A permissions password (sometimes called an owner password) lets anyone open the file, but they cannot print it, edit it, or copy text from it without the password.
Most free tools let you set an opening password. Some also let you set a permissions password separately — for example, you might let anyone open the file to read it, but require a password to print it. Check the options in your tool to see which type you need. For most situations, an opening password is what you want.
What password protection does and does not do
Password protection stops someone from casually opening your file or printing it without permission. It does not make the file unbreakable — someone with technical skill and time can crack a PDF password, especially if it is short or straightforward. For documents that need serious security (medical records, financial accounts, legal contracts), password protection alone is not enough.
For those documents, use a dedicated encryption tool like VeraCrypt (free, open-source) or your operating system's full-disk encryption (BitLocker on Windows, FileVault on Mac). These encrypt the entire file in a way that is much harder to crack. Password-protected PDFs are fine for keeping casual readers out of a document, but not for protecting against determined attackers.
Troubleshooting: the password is not working
If you set a password but the PDF opens without asking for one, you likely set a permissions password instead of an opening password. Go back through the protection process and look for an option that says "require password to open" or "user password" rather than "owner password" or "restrict editing". The wording varies by tool.
If you forgot the password you set, there is no way to recover it through the free tools — you will need to re-create the PDF and set a new password. Write down your password somewhere safe before you close the dialog, or use a password manager to store it.
Frequently Asked Questions
Can I password protect a PDF that is already password protected?
Yes. Open the protected PDF (you will need to enter the existing password), then follow the steps above to add a new password. The file will now require the new password. This overwrites the old protection, so make sure you want to change it.
Does password protecting a PDF reduce the file size?
No. The file size stays the same or increases slightly. Password protection adds a small amount of data to the file (the encrypted password itself), but does not compress the content.
Can I remove a password from a PDF I created?
Yes, if you remember the password. Open the file, export or print it to a new PDF without setting password protection this time. If you forgot the password, you will need to recreate the PDF from the original source.
Is it safe to password protect a PDF using an online tool?
It is reasonably safe for non-sensitive documents. The site processes your file, adds the password, and deletes the file after a short time. However, if your PDF contains tax information, medical details, or financial accounts, use your computer's built-in tools instead to keep the file off the internet entirely.
What is a strong password for a PDF?
Use at least 12 characters mixing uppercase, lowercase, numbers, and symbols — for example, "BlueMoon#2024!". Avoid words from the dictionary, your name, or dates people might guess. A password manager can generate and store a strong one for you.