Password protection locks a PDF so only people with the password can open it or make changes

A password-protected PDF requires someone to enter a password before they can view, print, or edit the document. Most PDF readers — including Adobe Acrobat Reader, Preview on Mac, and built-in Windows tools — support password protection. You can set two types of passwords: one to open the file, and a separate one to restrict editing or printing.

The method you use depends on what software you already have. If you own Adobe Acrobat Pro, you can password-protect directly in the application. If you use free tools, you have several options: online converters, built-in operating system features, or free desktop software. Each approach takes between two and five minutes.

Key Takeaways

  • You can set an open password (required to view the file) and a permissions password (required to edit or print) separately, so someone can view but not modify a document.
  • Adobe Acrobat Pro has password protection built in, but free alternatives like PDFtk, Smallpdf, or your operating system's native tools work for basic protection.
  • Online PDF tools are fastest for one-off protection but upload your file to a third-party server, so avoid them for sensitive documents.
  • Password-protected PDFs can still be opened by someone who knows the password, so this method protects against casual access, not determined attackers.

Password protection in Adobe Acrobat Pro

If you have a subscription to Adobe Acrobat Pro, open your PDF in the application. Click "File" at the top, then select "Properties." In the window that opens, click the "Security" tab. Choose "Password Security" from the dropdown menu.

You will see two password options. The first is the "Document Open Password" — anyone who wants to view the file must enter this. The second is the "Permissions Password" — this controls whether people can print, copy text, or edit the document without entering a different password. You can set one, both, or neither. After you enter your passwords and click "OK," save the file. The protection is now active.

Using free desktop software

PDFtk is a free command-line tool that works on Windows, Mac, and Linux. It is more technical than other options but does not upload your file anywhere. Download it from pdftk.com, then open your computer's terminal or command prompt. The command to add a password is: pdftk input.pdf output output.pdf owner_pw YourPassword (replace "YourPassword" with your actual password and "input.pdf" with your file name).

If command-line tools feel unfamiliar, PDFShuffler (Mac and Linux) and PDF-XChange Editor (Windows, free version available) both have graphical interfaces. Open your PDF, look for a "Security" or "Encrypt" option in the menu, and enter your password. Save the file when done.

Using your operating system's built-in tools

On a Mac, you do not need extra software. Open your PDF in Preview (the default PDF reader). Click "File" at the top, then "Export As." In the dialog that appears, click the "Security Options" button. Check the box next to "Encrypt PDF," then enter and confirm your password. Choose whether to require the password to open the file, print it, or copy content from it. Click "Save" when finished.

On Windows 10 and 11, the built-in PDF reader does not offer password protection directly. Instead, use Microsoft Word: open the PDF in Word, then go to "File" > "Info" > "Protect Document" > "Encrypt with Password." Enter your password and save the file as a PDF. Alternatively, print the PDF to a PDF printer (like Microsoft Print to PDF) and select password options during that process — though this method is less reliable.

Online PDF tools for quick protection

Websites like Smallpdf, ILovePDF, and PDF2Go let you upload a PDF, set a password, and download the protected version without installing software. These are fastest for a single document, but your file is temporarily stored on someone else's server. Only use this method for documents that are not confidential or sensitive.

To use an online tool, visit the site, click the upload button, select your PDF, enter your password, and download the result. Most free versions limit you to a few conversions per day or per month. If you protect PDFs regularly, a desktop tool or Adobe subscription is more practical.

What password protection does and does not do

Password protection prevents someone from opening, printing, or editing your PDF without the password. It is effective against casual sharing — if you email a protected PDF to the wrong person, they cannot open it by accident. It also stops someone from editing your document and passing it off as unchanged.

Password protection does not make a PDF unbreakable. Someone with technical knowledge and time can remove weak passwords or crack simple ones. If your document contains truly sensitive information (financial records, medical data, legal contracts), password protection is a starting point, not a complete solution. For high-security needs, consider encryption software or services designed for confidential documents.

Choosing between an open password and a permissions password

An open password prevents anyone from viewing the PDF at all without entering the password. Use this when the entire document is confidential. A permissions password lets anyone open and view the PDF, but requires a password to print, edit, or copy text from it. Use this when you want to share a document for reading only but prevent modification.

You can set both passwords at once. For example, you might require a password to open the file, and a different password to edit it. This way, someone who receives the file cannot view it without the first password, but if you give them that password, they still cannot change the document without the second password. Most people use either one or the other, not both.

Frequently Asked Questions

Can someone remove the password from a PDF I protected?

Yes, if they have the right tools and time. Password protection is not encryption — it is a lock that can be picked. For documents that need serious security, use full-disk encryption or a dedicated secure file service instead of PDF password protection alone.

What if I forget the password I set?

If you forget an open password, you cannot recover it — the file will be locked permanently. If you forget a permissions password, you can usually open the file but cannot edit or print it. There is no "forgot password" recovery for PDFs. Write down your passwords or store them in a password manager before protecting the file.

Does password-protecting a PDF change the file size?

No, the file size stays roughly the same. Password protection adds a small amount of metadata but does not compress or expand the document itself.

Can I password-protect a PDF on my phone?

Yes, but options are limited. On iPhone, use the Shortcuts app to automate protection through a third-party service, or upload to an online tool like Smallpdf. On Android, apps like PDF Protector or Adobe Acrobat Reader (paid version) can add passwords. Desktop tools are faster and more reliable for this task.

If I password-protect a PDF, can the recipient still search inside it?

That depends on which password you set. If you use only a permissions password (not an open password), the recipient can open and search the document but cannot edit or print it. If you use an open password, they cannot do anything without entering the password first.