Password protection turns a PDF into a locked file that requires a password to open

Most PDF readers and editors let you add a password in a few clicks. The process differs slightly depending on what software you use, but the basic steps are the same: open the file, find the security or protection menu, set your password, and save. Some tools password-protect on export (when you create the PDF), while others password-protect after the fact (when the file already exists).

Two types of passwords exist. An owner password restricts what people can do with the file — print it, copy text, edit it — without opening it. A user password (or open password) locks the file itself, so someone must type the password just to view it. You can set one, both, or neither, depending on what you need.

Key Takeaways

  • Most PDF readers built into Windows and Mac can add an owner password but not an open password; you need a dedicated tool for that.
  • Adobe Acrobat (the paid version) and free alternatives like PDFtk or iLovePDF let you set both types of passwords in seconds.
  • An owner password stops people from printing or copying text without opening the file; an open password locks the file itself.
  • Password-protecting on export (when you create the PDF) is faster than protecting a file that already exists.

Adding a password in Adobe Acrobat

Open your PDF in Adobe Acrobat (the paid desktop version, not the free Reader). Click File in the top menu, then Properties. In the window that opens, click the Security tab. You will see two password fields: one for opening the document and one for changing permissions.

Type a password in the User Password field if you want to lock the file itself — anyone opening it will need to type this password first. Type a password in the Owner Password field if you want to restrict printing, copying, or editing without locking the file. Click OK, then save the file. The next time someone opens it, they will see a password prompt if you set an open password, or restrictions will explore if you set an owner password only.

Using free online tools like iLovePDF or Smallpdf

If you do not have Adobe Acrobat, free web-based tools work just as well. Go to iLovePDF.com or Smallpdf.com, click the Protect PDF option, and upload your file. Type your password, then read the protected version. The file is encrypted on their server, then deleted after a few hours.

These tools are fast and require no installation, but they do upload your file to the internet. If your PDF contains sensitive information, check the site's privacy policy first. Most reputable services delete files automatically and do not store them, but you should verify before uploading anything confidential.

Password-protecting when you create a PDF

If you are creating a PDF from scratch — exporting from Word, Excel, or another program — you can often set the password during export instead of afterward. In Microsoft Word, go to File > Save As, choose PDF as the file type, click Options, and check Encrypt the document with a password. Type your password and save.

In Google Docs, you cannot password-protect directly, but you can read as PDF and then use iLovePDF or another tool. In Adobe InDesign or Illustrator, go to File > Export, choose PDF, and click the Security button in the export dialog. Setting the password during creation is often faster than protecting the file afterward.

The difference between owner and user passwords

An owner password does not lock the file — anyone can open it — but it prevents specific actions. You can restrict printing, copying text, editing, or adding comments. Someone with the file can still read it on screen, but they cannot print it or extract text without the password. This is useful for documents you want to share but not modify.

A user password (or open password) locks the file completely. No one can open it, view it, or do anything with it without typing the correct password first. This is stronger protection and is what most people mean when they say "password-protect a PDF." You can set both passwords on the same file — one to open it and another to restrict what people do once it is open.

What to do if you forget the password

If you set an owner password and forget it, you can usually remove it with a tool like PDFtk or an online service. These tools can strip the owner password (the one that restricts printing and copying) but cannot remove a user password (the one that locks the file). If you forget the user password, the file is locked permanently — there is no way to recover it without the password.

Write down your passwords somewhere safe, or use a password manager like Bitwarden or 1Password to store them. If you lose the user password, you will have to recreate the PDF from the original source file.

Choosing between desktop software and online tools

Desktop software like Adobe Acrobat gives you full control and keeps your files on your computer. Online tools like iLovePDF are faster and require no installation, but your file travels to the internet. For non-sensitive documents, online tools are fine. For confidential files, a desktop tool is safer.

If you password-protect PDFs regularly, Adobe Acrobat or a similar desktop tool saves time. If you do it once in a while, an online tool is simpler. Free desktop alternatives like PDFtk (command-line) or Sejda (web-based with offline mode) split the difference — they are free and do not require a subscription, but they have a steeper learning curve than Adobe or iLovePDF.

Frequently Asked Questions

Can someone crack a PDF password?

Owner passwords (the ones that restrict printing and copying) are weak and can be removed with free tools in seconds. User passwords (the ones that lock the file) are stronger, but older PDFs use encryption that can be cracked. For truly sensitive documents, password protection is a deterrent, not a may provide of security.

Does password-protecting a PDF make the file bigger?

No, the file size stays roughly the same. Encryption adds a small amount of overhead, but it is negligible — usually less than 1 percent of the original file size.

Can I change or remove a password after I set it?

Yes, if you know the password. Open the file in Adobe Acrobat or your PDF tool, go to the security settings, and change or delete the password. If you forgot the password, you can remove an owner password with a free tool, but a user password cannot be removed without it.

Will password-protected PDFs open on phones and tablets?

Yes, but the app must support password-protected files. Most PDF readers on iOS and Android handle them fine — you will just see a password prompt when you open the file. Some older or simpler apps may not support encrypted PDFs.