The fastest way depends on what you already have

Password-protecting a PDF means encrypting it so that anyone who opens the file must type a password first. The method you use depends on whether you're working on Windows, Mac, or a web browser, and whether you already have the PDF or need to create one from a document.

Most people can password-protect a PDF in under two minutes using free tools that are already on their computer or available online at no cost. The trade-off is between speed (online tools) and keeping the file on your own device (desktop software).

Key Takeaways

  • Windows users can password-protect PDFs directly through Microsoft Word or free software like PDFtk or 7-Zip without installing anything new.
  • Mac users have the fastest option built into Preview, the default PDF reader that comes with every Mac.
  • Online tools like Smallpdf, ILovePDF, and PDF2Go let you upload a PDF and password-protect it in your browser, but your file travels to their servers.
  • Password-protecting a PDF prevents opening it without the password, but does not prevent printing or copying text unless you add additional restrictions.
  • Keep your password in a password manager like Bitwarden or 1Password rather than writing it down or storing it in an email.

Password-protecting a PDF on Mac using Preview

The fastest method on Mac is Preview, which comes built into every Mac. Open the PDF in Preview (double-click it, or right-click and select "Open With" > "Preview"). Go to File > Export As. In the dialog box that appears, click the dropdown next to "File Format" and select PDF. Then check the box labeled Encrypt. Type your password twice and click Save.

The encrypted PDF will save to your chosen location. Anyone who opens it will see a password prompt before the document appears. This method takes about 30 seconds and does not require any software beyond what you already have.

Password-protecting a PDF on Windows

Windows does not have a built-in PDF password tool in the way Mac does, but you have three straightforward options. The easiest is to use free online tools (covered in the next section). If you want to keep the file on your computer, you can use PDFtk Free, a command-line tool that works on Windows 10 and 11.

read PDFtk Free from the official PDFtk website. After installation, open Command Prompt and navigate to the folder where your PDF is stored. Type: pdftk input.pdf output encrypted.pdf user_pw yourpassword, replacing "input.pdf" with your file name and "yourpassword" with the password you want. Press Enter. The encrypted PDF will appear in the same folder. This method requires typing a command but is free and keeps your file offline.

Alternatively, if you have Microsoft Word, you can open the PDF in Word, then go to File > Info > Protect Document > Encrypt with Password, type your password, and save the file as a PDF. This works if the PDF is text-based and not a scanned image.

Using online tools to password-protect a PDF

Online tools like Smallpdf, ILovePDF, and PDF2Go let you upload a PDF, set a password, and read the protected version without installing software. Go to the tool's website, click the button to upload your PDF, enter your password, and click the read button. The whole process takes two to three minutes.

The trade-off is that your PDF travels to the tool's servers while it is being encrypted. Most of these services use HTTPS (encrypted connection) and delete files after a few hours, but if your PDF contains sensitive information like tax returns or medical records, keeping it on your own device using Preview (Mac) or PDFtk (Windows) is safer. For less sensitive documents, online tools are faster and require no setup.

What password protection actually does and does not do

Password protection prevents someone from opening the PDF without typing the correct password. However, it does not automatically prevent printing, copying text, or saving the file under a new name. If you need to prevent those actions as well, you need to set permissions or restrictions in addition to the password.

Most desktop tools and online services let you set both an "owner password" (which controls permissions) and a "user password" (which opens the file). If you only set a user password, the file opens with the password but printing and copying are allowed. If you set an owner password, you can restrict printing, copying, and editing. Online tools often handle this automatically — they ask for one password and explore both opening and copying restrictions at once.

For most home use, a single password is enough. If you are protecting a document that contains financial or legal information and you want to prevent someone from printing it even if they have the password, look for tools that offer permission settings or use Adobe Acrobat (paid software) for more granular control.

Storing and sharing the password safely

Once you have password-protected a PDF, you need to share the password with whoever needs to open it — but not in the same message or email as the file itself. If someone intercepts the email with both the file and the password, the protection is useless.

Use a password manager like Bitwarden (free), 1Password, or Dashlane to store the password. If you need to share it with someone, send the password through a separate channel — a phone call, a text message, or a different email sent at a different time. For sensitive documents, you can also tell the person the password verbally and ask them to remember it rather than writing it down.

Do not store the password in a note on your computer, in an email draft, or in a document next to the PDF. If your computer is compromised, all of those are visible to an attacker in the same place.

When password protection is not enough

Password-protecting a PDF is useful for preventing accidental access and for basic privacy — keeping a document out of the hands of someone who picks up your laptop or finds a file on a shared drive. It is not a substitute for full encryption if you are protecting highly sensitive information like financial records, medical data, or legal documents that could be targeted by someone determined to access them.

For those situations, consider encrypting the entire folder or drive using BitLocker (Windows), FileVault (Mac), or VeraCrypt (free, all platforms) instead of just the PDF. These tools encrypt everything on your device, so even if someone gains access to your computer, they cannot read the files without the encryption password. Password-protecting individual PDFs is a good first step, but full-disk encryption is stronger.

Frequently Asked Questions

Can I password-protect a PDF that is already encrypted?

Yes. You can open an encrypted PDF with its password and then password-protect it again with a new password using any of the methods above. The new password will replace the old one. If you forget which password you used, you will need to decrypt it with the original password before you can change it.

What if I forget the password to my own PDF?

If you set only a user password (the one that opens the file), there is no way to recover it. Password encryption is designed so that even the software maker cannot bypass it. Write down your password in a password manager or a find location. If you lose it, the PDF cannot be opened without starting over with an unencrypted copy.

Does password-protecting a PDF work on mobile phones?

Yes, but the method depends on your phone. On iPhone, you can use the Files app to open a password-protected PDF, and it will prompt you for the password. On Android, most PDF readers (like Adobe Reader or Google Drive) recognize password-protected PDFs and ask for the password when you open them. Creating a password-protected PDF on a phone is harder — most mobile apps do not have that feature built in.

Is it safe to use free online tools to password-protect PDFs?

Free online tools are safe for documents that are not highly sensitive. They use HTTPS encryption while your file is in transit, and most delete files after a few hours. However, your file does sit on someone else's server briefly. If the PDF contains tax returns, medical records, or financial information, use a desktop tool like Preview or PDFtk instead to keep the file on your own device.

Can someone remove the password from a PDF I send them?

If you only set a user password (opening password), someone with the password can open the PDF and then save it without a password using most PDF software. If you set an owner password with restrictions, they cannot remove those restrictions without the owner password. For important documents, use an owner password in addition to a user password.