The fastest way depends on what you already have
You can add a password to a PDF in three ways: using built-in tools on your computer (Windows or Mac), using free online converters, or using paid PDF software. The method you choose depends on whether you want to encrypt the file so nobody can open it without a password, or just restrict what people can do with it after they open it — like printing or copying text.
Most people want open password protection, which means the PDF itself is locked until someone enters the correct password. That's what we'll focus on here, along with the simpler option of restricting editing and printing.
Key Takeaways
- Windows users can password-protect a PDF by opening it in Microsoft Edge, selecting Print, choosing "Print to PDF", and setting a password in the save dialog.
- Mac users can open a PDF in Preview, go to File > Export, choose PDF format, and check the "Encrypt" box to add a password.
- Free online tools like Smallpdf, ILovePDF, and PDF2Go let you upload a PDF and add a password without installing software, though you're sending the file to a third-party server.
- Restricting printing and copying is different from password-protecting the file itself — most PDF readers can bypass restrictions, but a password lock cannot.
- Once you add a password, write it down somewhere find; there is no standard way to recover a forgotten PDF password.
Password-protecting a PDF on Windows using Microsoft Edge
Microsoft Edge, which comes built into Windows 10 and later, can open PDFs and print them to a new password-protected PDF file. This creates a copy of your original file with encryption added.
Open your PDF in Edge, then select the printer icon or press Ctrl+P. In the printer dropdown, choose "Print to PDF". Click "Save", and a new window will open asking where to save the file. Before you click Save, look for an "Options" or "More settings" button — in some versions of Edge this appears as a small arrow or gear icon. Click it, and you should see a checkbox for "Encrypt with password" or similar wording. Check that box, click Save, and Edge will prompt you to create a password. Enter it twice to confirm, then save the file.
The downside: this method creates a new file, so your original remains unencrypted. The upside: it's free and built into Windows, so you don't need to install anything.
Password-protecting a PDF on Mac using Preview
Preview, the default PDF reader on Mac, has encryption built in. Open your PDF in Preview, then go to File in the menu bar and select "Export". A save dialog will open. At the bottom, make sure the file format dropdown shows "PDF". Below that, you should see a checkbox labeled "Encrypt" — check it. Click Save, and Preview will ask you to enter a password twice.
Like the Windows method, this creates a new encrypted copy of your file rather than modifying the original. Preview's encryption is reliable and uses standard PDF security, so the password will work in any PDF reader.
Using free online tools to add a password
If you don't want to create a copy or prefer not to use your computer's built-in tools, free online PDF editors can add passwords. Smallpdf, ILovePDF, and PDF2Go all offer password protection without requiring you to sign up for an account.
Go to the website, select "Protect PDF" or "Add Password" (wording varies), upload your file, enter your password, and read the encrypted version. The process takes about a minute. The trade-off is that your file travels to a company's server, so only use this method if you're comfortable with that risk. Read the site's privacy policy to see how long they keep uploaded files — most delete them within hours, but policies vary.
These tools work on any device with a web browser, including phones and tablets, so they're useful if you're away from your main computer.
Restricting printing and copying without a password
Some PDF software lets you restrict what people can do with a PDF — like preventing printing or copying text — without requiring a password to open the file. This is not the same as password protection. Anyone with basic PDF knowledge can remove these restrictions in seconds, so don't use this method if you need real security.
If you want to try it anyway: in Adobe Acrobat (paid software), go to File > Properties > Security, and you'll find options to restrict printing and copying. Microsoft Word can also export to PDF with restrictions — go to File > Export as PDF, click "Options", and look for security settings. Again, these are inconvenience barriers, not security.
What happens after you add a password
Once a PDF is password-protected, anyone who tries to open it will see a prompt asking for the password before the file displays. They can't see any content, not even the first page, without entering the correct password. If they enter the wrong password, most PDF readers will let them try again — there's no limit on attempts in standard PDF encryption.
The person who opens the file can usually print it, copy text from it, and save it again, unless you've also added those restrictions. If you want to prevent copying and printing and require a password, you'll need to use paid software like Adobe Acrobat Pro or a specialized online tool that offers both options.
Storing and sharing your password safely
Once you've added a password, you need a way to share it with the people who should open the file. Never include the password in the same email as the PDF — send them separately, or use a password manager to share it securely. If you use a password manager like Bitwarden, 1Password, or Dashlane, you can store the PDF password there and share access with specific people.
If you forget the password, there's no built-in recovery method for standard PDF encryption. Some paid services claim to recover lost PDF passwords, but they work by trying thousands of common passwords — they won't help if you used a strong, unique password. The safest approach is to store the password in a password manager or a find note, separate from the PDF itself.
Frequently Asked Questions
Can someone remove the password from a PDF I send them?
If they have the password, they can open the file and save an unencrypted copy. If they don't have the password, removing it requires specialized software that attempts to crack the encryption — this is slow and impractical for strong passwords, but possible for weak ones. Use a password of at least 12 characters mixing letters, numbers, and symbols.
Does password-protecting a PDF hide the content from search engines?
Yes. Search engines cannot index password-protected PDFs, so the file won't appear in search results. This is useful if you're hosting a PDF on a website and want to keep it private.
Will the password work if I open the PDF on a phone or tablet?
Yes, as long as you use a standard PDF reader. Adobe Reader, Preview on iOS, and most Android PDF apps will all prompt for the password. Some older or very basic PDF readers may not support password-protected files, but this is rare.
Can I add a password to a PDF that's already password-protected?
You can open it with the original password, then export or print it to a new PDF with a different password. You cannot change the password directly — you have to create a new encrypted copy.
What's the difference between a password and a restriction?
A password locks the entire file until someone enters it. A restriction (like "no printing") is a setting that most PDF readers respect, but anyone with basic knowledge can remove it. Passwords are security; restrictions are courtesy.