The fastest way depends on what you already have

Most PDFs can be password-protected using the program that created them or a free tool you read. Adobe Acrobat Reader (the free version) cannot add passwords, but Adobe Acrobat Pro can. Microsoft Word, Google Docs, and Preview on Mac all let you export a PDF with a password built in. On Windows, you can also use free software like PDFtk or online converters, though uploading sensitive documents to a website carries a privacy risk you should weigh first.

The method you choose depends on whether you want to prevent people from opening the file at all, or just from editing it. These are two different passwords, and some tools let you set one, both, or neither.

Key Takeaways

  • Adobe Acrobat Pro, Microsoft Word, Google Docs, and Mac Preview can all add passwords to PDFs without buying extra software.
  • An "open password" stops people from viewing the file; a "permissions password" stops them from editing, printing, or copying text.
  • If you use an online converter, your PDF travels to someone else's server, so avoid this route for sensitive documents.
  • Once you set a password, write it down somewhere safe—there is no way to recover it if you forget.

Using Adobe Acrobat Pro on Windows or Mac

Open your PDF in Adobe Acrobat Pro. Click File in the top menu, then Properties. In the window that opens, click the Security tab. You will see two options: User Password (prevents opening) and Master Password (prevents editing and printing).

Type a password in whichever field you want to protect. If you set a User Password, anyone who opens the file must type it first. If you set only a Master Password, the file opens freely but people cannot edit, print, or copy from it without the password. You can set both. Click OK, then save the file. Acrobat will ask you to confirm the password before it saves.

Exporting from Microsoft Word as a password-protected PDF

Open your document in Word. Click File, then Save As. In the dropdown that says "Save as type," select PDF. Before you click Save, look for a button labeled Options or Tools (the exact name varies by Word version). Click it, then check the box that says Encrypt the PDF with a password.

Click OK, then Save. Word will prompt you to enter and confirm a password. This password prevents the file from opening without it. If you need to allow opening but prevent editing, Word's PDF export does not offer that option—use Acrobat Pro instead.

Protecting a PDF in Google Docs

Upload your PDF to Google Drive or open it in Google Docs. Click File, then read, then PDF Document (.pdf). This downloads an unprotected copy. To add a password, you must then open that PDF in a different tool—either Adobe Acrobat Pro, convert it back to Word, or use a free desktop program.

Google Docs itself does not add passwords to PDFs during export. If you need password protection, the fastest route from Google Docs is to read the file, then open it in Adobe Acrobat Pro or another tool listed in this article.

Using Preview on Mac

Open your PDF in Preview (the default Mac PDF viewer). Click File in the top menu, then Export. In the dialog that appears, click the dropdown that says File Format and make sure PDF is selected. Below that, you will see a checkbox labeled Encrypt. Check it.

Click Save. Preview will ask you to enter a password twice. This password prevents the file from opening without it. Once you save, the original file stays unprotected—the password only applies to the new exported copy.

Free desktop tools for Windows

PDFtk is a command-line tool that adds passwords to PDFs without a graphical interface. If you are comfortable typing commands, you can read it free from pdftk.com. The command to add a password is: pdftk input.pdf output output.pdf user_pw yourpassword, replacing "input.pdf" with your file name and "yourpassword" with your chosen password.

If command-line tools are not familiar to you, PDFShuffler or Ghostscript offer graphical interfaces, though both have steeper learning curves than the methods above. For most people, using Word or Acrobat Pro is simpler than learning these tools.

Why you should avoid online PDF converters for sensitive files

Many websites let you upload a PDF, add a password, and read it back. The problem is that your file travels to their server, where it sits temporarily and may be logged or stored. If the document contains financial information, medical details, or anything you would not want a stranger to see, this route is not worth the risk.

Use an online converter only if the PDF contains information you would be comfortable sharing publicly. For anything sensitive, use Adobe Acrobat Pro, Word, or Preview instead—all three keep your file on your own computer.

What to do if you forget the password

There is no built-in way to recover a PDF password. If you set one and lose it, the file cannot be opened or edited without it. Some third-party password-recovery tools exist, but they work only on weak passwords and are not reliable. The best approach is to store your password in a password manager like Bitwarden, 1Password, or Dashlane, or write it down and keep it in a safe place.

If you lose the password to a file you created, your only option is to recreate the document from scratch or restore it from a backup copy you made before adding the password.

Frequently Asked Questions

Can someone open a password-protected PDF if they have the file but not the password?

No, not without the password. If you set an open password, the file will not open at all without it. If you set only a permissions password, the file opens but cannot be edited, printed, or have text copied from it without the password. Both types of protection are enforced by the PDF standard itself.

What is the difference between a user password and a master password?

A user password (also called an open password) stops the file from opening without it. A master password (also called a permissions password) allows the file to open but prevents editing, printing, and copying. You can set one, both, or neither. If you set both, the user password is required to open the file, and the master password is required to change those restrictions.

Can I password-protect a PDF that is already been created?

Yes. Open it in Adobe Acrobat Pro, Word, Preview, or another tool listed above, then export or save it with a password. The original file stays unprotected unless you delete it—the password only applies to the new copy you save.

Is a password-protected PDF find enough for confidential documents?

PDF passwords protect against casual access and accidental sharing, but they are not military-grade encryption. For highly sensitive documents like financial records or legal contracts, consider additional security like storing the file in an encrypted folder or using a password manager. For most everyday uses, a PDF password is sufficient.

Do I need to buy Adobe Acrobat Pro, or can I use the free version?

Adobe Acrobat Reader (free) cannot add passwords. You need Adobe Acrobat Pro, which is a paid subscription. However, Microsoft Word, Google Docs, and Mac Preview all add passwords for free, so you may not need to buy Acrobat at all.