How to add a password to a PDF

A step-by-step guide to secure PDF files on any device

7 mar. 2022
How to add a password to a pdf file

This post will show you how to lock your PDF in 3 ways: Online, offline, and on your mobile device.

If you are sending an email to someone with a PDF file attachment that contains sensitive information, you might want to add some security to it first so it doesn’t fall into the wrong hands. 

The best way to restrict unauthorized access to a PDF document is by securing it with a password. 

What is a password-protected file?

A protected PDF file requires a password to open. You will be prompted to enter the password when you click on the file. The type of password used to open a PDF is sometimes known as a Document Open Password or User Password.

You can only open the PDF document if you enter the correct password. Securing your PDF document in this way ensures that people who shouldn’t have access to it won’t be able to view its contents.

How can I password-protect a PDF?

For easy and secure document encryption, you can use iLovePDF’s free Protect PDF tool. It’s available on any browser and operating system. To encrypt your PDF file with iLovePDF, just choose one of these methods:

Method 1: Protect PDF online

  1. Go to the iLovePDF Protect PDF tool
  2. Upload your PDF file from your computer, Google Drive or Dropbox.
  3. Set a password for your PDF file by typing in the box.
  4. Confirm the password by retyping it.
  5. Click on the red Protect PDF button.
  6. Click on Download protected PDF to save your locked file.

Method 2: Protect PDF on Mac or Windows

  1. Download and install the iLovePDF Desktop App
  2. Open your PDF file in iLovePDF. 
  3. In the right toolbar, click on Protect PDF.
  4. Set a password for the document, then repeat it.
  5. Click the red Protect button.
  6. The protected PDF will be saved in your Output folder.

Method 3: Protect PDF on iOS and Android

  1. Download iLovePDF in the App Store or Google Play.
  2. Open your PDF file in the App file manager.
  3. To the right of your PDF, tap on the three dots.
  4. Select Tools, then Protect PDF.
  5. Enter a password, then type the password again.
  6. Tap on the red Protect button.
  7. Tap on Go to files to find your protected PDF.
Add a strong password to your PDF document to protect it from unauthorized access

How can I create a strong PDF password? 

It’s important that you choose a strong password to lock your PDF file. If you create a weak password, someone might be able to guess it and open your document. 

To create a password that nobody can guess (but one that you can remember!) try to make it long with a combination of lowercase and uppercase letters and numbers. Avoid including any personal details or words related to you that people might guess. 

Use an online tool you can trust 

Remember, when you’re handling sensitive data saved in PDF format, you’ll want to be sure that you’re using an online service that you can trust. 

iLovePDF is a world-renowned PDF Editor trusted by millions of users daily thanks to its 100% secure document management. When you upload a document to iLovePDF, it’s encrypted and automatically deleted after you process it. 

To find out more about the safety of your files when editing PDF online, read our post, Are my files safe with iLovePDF?. Or, if you prefer to work offline, just use the Desktop version.

How can I remove password security? 

If you later decide that you don’t want to restrict access to your PDF, you can remove the password again using the iLovePDF Unlock PDF tool

Just enter the password you created for the document and click on the Unlock button to reverse the document security. 

Heart file

Secure your PDF file with a password

Protect PDF

在我們這裏是有安全保障的

iLovePDF 非常重視安全性。請記住......
  • 無論你使用的是哪種工具,我們都是採用端到端的加密方式,以便為你的文檔提供最高等級的防護,確保你的文檔不被非法竊取或攔截。
  • 任何上傳至我們系統的文檔都將在2小時後自動刪除,以防止任何未經授權的第三方訪問。
  • 我們所有的伺服器都受歐洲法律的保護,這是世界上最嚴格的法律之一。