The fastest way depends on what you already have
You can password-lock a PDF in three ways: using built-in software on your computer, using free online tools, or using paid PDF software. On Windows, you can do it through Microsoft Edge or a free tool like PDFtk. On Mac, Preview (the app that opens PDFs by default) has a built-in password feature. Online tools like Smallpdf or ILovePDF let you upload a file and password-protect it without installing anything. Each method takes 2 to 5 minutes.
The choice comes down to how often you need to do this and whether you want software on your computer. If this is a one-time thing, an online tool is simplest. If you password-lock PDFs regularly, a desktop tool saves time. All three approaches create a PDF that requires a password to open — there is no meaningful security difference between them for most home and small-business use.
Key Takeaways
- Windows users can password-lock a PDF through Microsoft Edge (free, built-in) or read PDFtk (free, desktop software).
- Mac users can open the PDF in Preview, go to File > Export As, and set a password in the dialog box.
- Online tools like Smallpdf, ILovePDF, or Sejda let you upload a PDF and add a password without installing software.
- A password-protected PDF requires the password to open, but anyone with the password can copy text and images from it unless you also set permissions restrictions.
- Keep your password in a password manager (like Bitwarden or 1Password) rather than writing it down or emailing it.
Password-locking a PDF on Windows
The easiest Windows method is Microsoft Edge, which comes with Windows 10 and 11. Open your PDF in Edge, click the three-dot menu in the top right, select "Print," and choose "Print to PDF" from the printer dropdown. In the print dialog, click "More settings" and look for a password option. Not all versions of Edge show this option, so if you do not see it, use the second method instead.
If Edge does not have the password option, read PDFtk Free (pdftk.com). It is a command-line tool, which means you type instructions rather than clicking buttons, but the process is straightforward. Open Command Prompt, navigate to your PDF folder, and type: pdftk input.pdf output output.pdf owner_pw your_password. Replace "input.pdf" with your file name and "your_password" with the password you want. The new file will be password-protected. This method also lets you set a user password (which opens the file) separately from an owner password (which controls whether people can print or copy from it).
Password-locking a PDF on Mac
Open your PDF in Preview (the default Mac PDF reader). Go to File in the menu bar, then select "Export As." A dialog box will appear. Near the bottom, you will see a checkbox labeled "Encrypt." Check that box and enter your password twice. Click Save, and your PDF is now password-protected.
This is the simplest method across all platforms because Preview is already on your computer and the feature is built in. The password you set is required to open the file. If you want to restrict what people can do with the PDF (like prevent copying or printing), Preview does not offer that — you would need to use an online tool or paid software like Adobe Acrobat.
Using free online tools
Smallpdf, ILovePDF, and Sejda all let you upload a PDF and add a password without creating an account. Go to the tool's website, click the upload button, select your PDF, enter your password, and read the protected file. The whole process takes about 2 minutes. These tools work on any computer or phone with a web browser.
The trade-off is that you are uploading your file to someone else's server. All three of these tools claim to delete files after a few hours, but if your PDF contains sensitive information (like medical records or financial statements), you may prefer to use software on your own computer instead. Read the tool's privacy policy if you are unsure. For everyday documents like contracts or personal files, online tools are fast and safe enough.
The difference between opening passwords and permissions
When you password-lock a PDF, you are setting an opening password — the password someone needs to type to view the file at all. Some PDF tools also let you set an owner password or permissions, which control what people can do once they open it (like whether they can print, copy text, or edit).
If you only set an opening password, anyone who has the password can copy text, images, and data from your PDF. If you want to prevent copying or printing, you need to set permissions as well. Microsoft Edge and Preview do not offer permissions controls, but PDFtk and online tools like Smallpdf do. If you need both an opening password and copy/print restrictions, use an online tool or PDFtk.
Where to store your password safely
Once you have password-locked your PDF, write the password down in a password manager, not in an email or a text file on your desktop. Password managers like Bitwarden (free), 1Password, or Dashlane store passwords in encrypted form and fill them in automatically when you need them. If you use the same password for multiple files, that is a security risk — use a unique password for each PDF.
If you need to share the password-protected PDF with someone, send the file and the password through separate channels. For example, email the PDF and text the password, or use a file-sharing service for the PDF and email the password. This way, if someone intercepts one message, they do not have both pieces.
What to do if you forget the password
If you forget the password to a PDF you created, you cannot recover it through the PDF itself. The password is encrypted, which means it cannot be read or reset. Your only option is to go back to the original, unprotected version of the file (if you still have it) and create a new password-protected copy with a password you will remember.
This is why storing passwords in a password manager matters — you will not lose access to your own files. If you do not have the original file and cannot remember the password, the PDF is locked permanently and cannot be opened.
Frequently Asked Questions
Can someone remove the password from a PDF I send them?
Not easily. If you set only an opening password, someone with the password cannot remove it without specialized software or online tools designed for that purpose. If you set permissions (like no-copy restrictions), those are easier to bypass. For important documents, use both an opening password and permissions restrictions.
Is password-protecting a PDF the same as encrypting it?
Password protection uses encryption, but they are not quite the same thing. Password protection means the file is encrypted and requires a password to open. Encryption is the technical method used to scramble the data. For everyday use, "password-protected" and "encrypted" mean roughly the same thing.
Can I password-protect a PDF on my phone?
Yes, using an online tool. Upload your PDF to Smallpdf, ILovePDF, or Sejda through your phone's browser, set a password, and read the protected file. Desktop software like PDFtk does not work on phones, but online tools work on any device with internet access.
What if I want to password-protect multiple PDFs at once?
Online tools usually handle one file at a time, but PDFtk on Windows lets you write a script to password-protect a whole folder. If you have many files, look for batch-processing features in paid PDF software like Adobe Acrobat or consider using a tool like Automator on Mac to repeat the process across files.
Does password-protecting a PDF slow it down or change how it looks?
No. A password-protected PDF opens and displays exactly the same way as an unprotected one — the only difference is that it requires a password first. The file size and appearance do not change.