← PDF security tools

Password Protect a PDF

Add AES-256 password protection to a PDF in your browser. Set an opening password and a separate owner password when choosing printing or copying permissions.

Preparing your workspace

The PDF tool will appear here when it’s ready.

Choose your PDF, type a password, and download a copy that asks for that password before it opens. It uses strong AES-256 encryption, and it all happens in your browser.

You can also add an owner password to stop printing, copying or editing.

How to password protect a PDF

  1. Choose the document to protect — Open one non-empty PDF up to 100 MB.
  2. Set passwords and permissions — Use an opening password to require a password on open. Set a distinct owner password before restricting printing, copying or editing.
  3. Test your protected copy — Download it, reopen it in a compatible PDF reader and confirm the opening password and intended behaviour.

Password protect PDF online for free

An opening password controls access to the encrypted document. An owner password controls permission settings in readers that respect them. Use different passwords when both are set, and store them somewhere safe.

Permission flags do not prevent screenshots or every method of copying. AES-256 accessibility remains enabled. Passwords are limited to 127 UTF-8 bytes, and rewriting affects existing signatures. Test the downloaded PDF before deleting your original.

When to password protect a PDF

  • Sending bank statements, payslips or ID copies by email.
  • Sharing contracts or private reports.
  • Storing personal documents in the cloud.

Password protect PDF tips

  • Use a long password, like three random words with a number.
  • Send the password in a different way than the file, like a text message.
  • The opening and owner passwords must be different.
  • Write the password down somewhere safe. It cannot be recovered later.

Password protect PDF features

The opening password is the one people type to see the file. Without it, the PDF will not open at all. Use this for bank details, ID copies, contracts and anything private.

The owner password controls permissions, like whether people can print, copy text or edit. People can still open the file, but most PDF readers will follow your rules. Use it for documents you want to share but not have reused.

Password protect PDF FAQ

How strong is the protection?

It uses AES-256 encryption, which is one of the strongest standard options for PDFs.

What is an owner password?

It controls permissions like printing and copying. It must be different from the opening password.

Can I remove the password later?

Yes. Use Unlock a PDF with the password.

Is my file or password uploaded?

No. Encryption runs in your browser.

Password protect a PDF step by step, with pictures

Bank statements, pay slips, contracts and ID copies often travel by email. If the email is forwarded or the file lands in the wrong folder, anyone can open it. A password fixes that: without it, the PDF will not open at all.

The screenshots below come from PDFzelo. The example locks a three-page rental agreement with AES-256 encryption, one of the strongest standard options for PDFs.

  1. Step 1: Open Password Protect PDF and add your file

    Password Protect a PDF page on PDFzelo with an arrow pointing to the upload area

    Go to Encrypt PDF on PDFzelo. Click the upload area to choose your PDF, or drag it onto the page. Files up to 100 MB work.

  2. Step 2: Check the file and the privacy note

    The file rental-agreement.pdf added, with a note that passwords are processed locally and never sent to a server

    Your file appears at the top with a Remove button in case you picked the wrong one. The green note explains that your passwords are processed locally and never sent to any server. The whole job happens in your browser.

  3. Step 3: Set the password to open the file

    User password box filled in, the password people must type to open the PDF

    Type a password in User Password (to open document). This is the password people must enter to see the PDF. Click the eye icon if you want to check what you typed.

    Choose something long and hard to guess. Three random words and a number, like Maple-River-42, is easy to remember and strong.

  4. Step 4: Add a separate owner password

    Owner password box, a second password that controls printing, copying and editing

    Type a different password in Owner Password (to change permissions). This second password controls what people can do after opening the file, and it is needed to change those rules later. The two passwords must not be the same.

  5. Step 5: Choose what people are allowed to do

    Document permission checkboxes such as allow printing, copying, modifying and filling forms

    Under Document Permissions, tick the actions you allow: printing, copying text, modifying, adding comments, filling forms and more. Untick anything you want to block. In this example, copying is turned off.

    Most PDF readers follow these rules, but not all of them. They are a polite lock, not a wall. The opening password is the part that really keeps people out.

  6. Step 6: Click Encrypt PDF

    Arrow pointing to the Encrypt PDF button

    Press Encrypt PDF. The tool locks the file with AES-256 encryption in a second or two.

  7. Step 7: Download the protected PDF

    PDF encrypted successfully message with a Download button

    A message says the PDF was encrypted, with a reminder to save your passwords. Click Download to save the locked copy.

    Write the passwords down in a safe place, such as a password manager. A lost PDF password cannot be recovered by anyone.

  8. Step 8: Test the lock

    Opening the protected file in PDFzelo's PDF Reader shows that the PDF needs a password

    Before you send it, try to open the new file. Here it was opened in PDFzelo's PDF Reader, which reports that the PDF needs a password. In Adobe Acrobat, Chrome or a phone's PDF viewer you will see a password box instead. Type the opening password to make sure it works.

  9. Step 9: Protect a PDF on your phone

    Password Protect a PDF on a phone with the open password typed in

    The same steps work on a phone: choose the file, type the passwords, pick the permissions and tap Encrypt PDF. Then share the locked copy from your downloads.

Open password vs. owner password

Open passwordOwner password
What it doesStops the PDF from openingSets the rules for printing, copying and editing
Who needs itEveryone who should read the fileOnly you, to change the rules later
How strongReal AES-256 encryptionFollowed by most PDF readers, but not all
Share it?Yes, with the people who need the fileNo, keep it to yourself

How to share the password safely

  • Never put the password in the same email as the PDF. If the email is seen by the wrong person, both are exposed.
  • Send the password another way: a text message, a phone call or a chat app.
  • Agree on a password in person for files you send often, such as monthly reports.
  • Use a new password for each person or company, so one leak does not open everything.

Tips before you lock a PDF

  • Finish all changes first. Edit, sign and fill forms before adding a password, because a locked file must be unlocked to change.
  • Make the file smaller with Compress PDF before locking it, if needed.
  • Remove hidden details such as author names with Remove Metadata, or black out private text with Redact PDF.
  • Keep an unlocked copy in a safe place on your own device.
  • Passwords can be up to 127 bytes long. Plain letters, numbers and dashes work in every PDF reader.

Change or remove the password later

Need to take the password off? Use Unlock PDF and type the password. You get an open copy you can edit or share freely.

To change only the rules for printing or copying, use Change Permissions. And if a file should be signed with a certificate instead, see Digital Signature.

How strong is AES-256?

AES-256 is the same kind of encryption used by banks and governments to protect data. With a long, random password, guessing it by trying every option would take far longer than anyone could wait.

The weak spot is almost always the password itself. Short words, names, birthdays and 123456 can be guessed quickly by special software. A password with three or four random words and a number is much safer, and still easy to type.

What a password cannot do

  • It cannot stop someone who has the password from sharing the file or the password.
  • It cannot stop a person from taking a photo or screenshot of an open page.
  • Permission rules (no printing, no copying) are respected by most apps, but some apps ignore them.
  • It does not hide the file name or size, so give private files a neutral name.
  • It does not protect copies you made before locking. Delete old unlocked copies from shared folders and email drafts.
  • If you forget the password, nobody can open the file for you, not even PDFzelo. Keep your unlocked original somewhere safe.

Want to do more with your file? Try Sanitize PDF or Find and Redact.

Is it safe to password protect a PDF online?

These tools run directly in PDFzelo. Keep your original file and review the downloaded result before sharing it. Read our privacy policy before working with sensitive documents.