Password protection locks a PDF so it cannot be opened without the correct password
A password-protected PDF requires anyone who opens it to enter a password first. This is the most straightforward way to keep a document private. The protection happens at the file level — the PDF itself stays encrypted until someone types the right password.
There are two types of passwords you can set: one to open the document, and one to restrict editing or printing. Most people use the open password, which prevents anyone without the password from seeing the content at all. The edit password is less common and only stops people from making changes — they can still view the document if they have the open password.
How you add this protection depends on what software you have. Adobe Acrobat (the paid version, not the free Reader) has built-in password tools. Microsoft Word and Google Docs can export PDFs with password protection. Free tools like PDFtk and online converters also work, though you should be cautious about uploading sensitive documents to websites.
Key Takeaways
- Adobe Acrobat Pro lets you set an open password (to view) or an edit password (to prevent changes) in the File menu under Protect.
- Microsoft Word and Google Docs can password-protect PDFs when you export or download them as PDF files.
- Free desktop tools like PDFtk work without uploading your file to the internet, which is safer for sensitive documents.
- Once you set a password, write it down somewhere secure — there is no way to recover a PDF if you forget the password.
- Password protection does not hide the document name or file size, only the contents inside.
Using Adobe Acrobat Pro to password-protect a PDF
Open your PDF in Adobe Acrobat Pro (the paid desktop version). Go to File in the top menu, then select Properties. Click the Security tab on the left side of the window that opens.
You will see two password options. The User Password (or Document Open Password) is what stops people from opening the file at all. The Owner Password (or Permissions Password) restricts what people can do — print, copy text, or edit — but does not prevent them from viewing the document if they have the User Password.
For most situations, set only the User Password. Type a strong password (at least 8 characters, mixing letters, numbers, and symbols). Click OK, then save the file. The next time someone tries to open it, they will be prompted to enter the password.
Password-protecting a PDF from Microsoft Word
Open your document in Microsoft Word. Go to File, then Info. Click Protect Document and select Encrypt with Password. Type your password and click OK, then type it again to confirm.
Now save the document. When you export it as a PDF (File > Save As, then choose PDF from the file type dropdown), the password protection carries over. Anyone who opens that PDF will need to enter the password you set.
This method works if you are starting with a Word document. If you already have a PDF, you will need Adobe Acrobat Pro or a different tool.
Password-protecting a PDF from Google Docs
Open your document in Google Docs. Click File, then Download, then PDF Document (.pdf). This downloads an unprotected PDF to your computer.
Google Docs itself does not add password protection during download. Instead, you can use the downloaded PDF with Adobe Acrobat Pro, or convert it using a free tool like PDFtk (see below). Alternatively, you can restrict who can view the Google Doc itself using Google's sharing settings, though that is different from password-protecting the PDF file.
Using free desktop tools to password-protect PDFs
PDFtk is a free command-line tool that works on Windows, Mac, and Linux. Download it from pdftk.com. It does not have a graphical interface — you run it from the terminal or command prompt — but it is reliable and keeps your file on your computer instead of uploading it to a website.
The basic command is: pdftk input.pdf output output.pdf user_pw "yourpassword". Replace input.pdf with your file name, output.pdf with what you want to call the protected version, and "yourpassword" with your actual password. If you are not comfortable with the command line, graphical wrappers like PDFtk GUI exist for Windows and Mac.
LibreOffice (free, open-source office software) can also password-protect PDFs. Open your document in LibreOffice, go to File > Export as PDF, click Security, and set your password there.
Why you should avoid online PDF password tools
Many websites offer to password-protect PDFs for you. The risk is that your file gets uploaded to their server, where it may be stored, logged, or accessed by others. For documents with sensitive information — financial records, medical details, legal papers — uploading to a stranger's website is not worth the convenience.
Desktop tools like PDFtk, Adobe Acrobat, or LibreOffice keep your file on your own computer. If you do use an online tool, choose one that explicitly states it deletes files immediately after processing, and avoid uploading anything you would not want someone else to see.
What to do if you forget the password
There is no built-in way to recover a password-protected PDF. If you forget the password, the file cannot be opened. This is intentional — it is what makes password protection secure.
Your only option is to start over with the original, unprotected version of the document (if you still have it) and set a new password. This is why you should store your password somewhere secure — a password manager like Bitwarden, 1Password, or KeePass is better than writing it on a sticky note or storing it in plain text.
Frequently Asked Questions
Can someone break a PDF password?
Older PDFs (created before 2020) used weaker encryption that specialized tools can crack. Modern PDFs use stronger encryption that is much harder to break. A strong password — 12+ characters with mixed letters, numbers, and symbols — makes brute-force attacks impractical. If you need serious security, use a long, random password from a password manager.
Can I password-protect just certain pages of a PDF?
No. Password protection applies to the entire file. If you need to protect only some pages, you can split the PDF into separate files (one protected, one not) using tools like PDFtk or Adobe Acrobat, then share them separately.
Will password protection hide the file name or file size?
No. The file name and size remain visible. Only the contents inside are encrypted. If you need to hide what a document is about, rename the file to something generic before protecting it.
Can I remove a password from a PDF if I know it?
Yes. In Adobe Acrobat Pro, open the protected PDF (enter the password when prompted), go to File > Properties > Security, and delete the password. Save the file. With PDFtk, use the command without the password parameter to remove protection.
Is password protection the same as digital signatures?
No. A password protects the file from being opened. A digital signature proves who created or approved the document and detects if it has been changed. You can use both on the same PDF — password protection for privacy, digital signature for authenticity.