PDF On My Device Buy me a coffeeSupport

Guides / Password protect

How to password protect a PDF for free

By Tech is Easy · November 18, 2026

Password protectLock a PDF with AES-256. Free, and your file never leaves your device.Open tool

Emailing a salary slip, sharing a scan of your passport, or keeping tax documents on a shared laptop: a password on the PDF means only someone who knows it can open the file, even if the email is forwarded or the laptop is lost.

Before you start

On any device: Protect PDF

  1. Open Protect PDF and choose your file.
  2. Type a password, then type it again to confirm.
  3. Click Protect PDF. The downloaded copy asks for the password whenever it's opened.

The file is encrypted with AES-256, the strongest encryption the PDF format supports. The file and password never leave your device, so we can't see them, and we also can't recover a forgotten password.

The protected file is a new copy. Your original stays unprotected where it was. If the point is to keep the file safe on a shared computer, delete the unprotected original once you've checked the new one opens.

On iPhone and Android

Neither phone has a simple built-in way to add a password to an existing PDF. Open Protect PDF in Safari or Chrome, choose the file from Files or your phone's storage, set the password and save. The protected copy goes to your Downloads folder, and from there you can attach it to an email or share it in a chat app. Once the page has loaded, it works even with mobile data off.

On a Mac: Preview

  1. Open the PDF in Preview.
  2. Choose File, Export.
  3. Click Permissions (on older macOS, tick Encrypt), set a password to open the document, and save.

On Windows: from Word

If your document starts in Word, you can encrypt it while creating the PDF: File, Save As, choose PDF, click Options, and tick Encrypt the document with a password. For an existing PDF, use Protect PDF. Windows has no built-in tool for adding a password to a PDF you already have.

Choosing a password that works

Encryption is only as strong as the password. A short password can be guessed by software that tries millions of combinations, no matter how strong the encryption is.

Real situations

Troubleshooting

Open password vs. permissions password

PDFs support two kinds of password. An open password stops anyone opening the file without it. That's what Protect PDF sets, and it's the one that keeps the contents private. A permissions password (sometimes called an owner password) lets anyone open the file but asks PDF apps not to allow printing or copying. Many apps ignore those restrictions, so don't rely on them for privacy. Our guide to PDF permissions explains what they can and can't do.

Not sure what a file has? Check PDF security shows whether it's encrypted, with which method, and what it allows. It's also a quick way to confirm your new file really is protected before you send it.

Quick answers

How do I put a password on a PDF for free?

Open Protect PDF, choose the file, type a password twice and click Protect PDF. The file is encrypted on your device with AES-256.

Can a password-protected PDF be cracked?

With AES-256 and a long, random password, not in practice. Short or guessable passwords, like a date of birth, can be cracked quickly.

I forgot the password to my PDF. Can you recover it?

No. The password never leaves your device, so we never see it, and AES-256 has no back door. If you still have the original unprotected file, protect it again with a new password. Otherwise the file can't be opened.

How do I change the password on a PDF?

Remove the old password with Unlock PDF (you'll need the old password), then protect the unlocked copy with Protect PDF using the new password.

Will the person I send it to be able to open it on their phone?

Yes. Current browsers, the iPhone and Android PDF viewers, Preview on Mac and Adobe Reader all open AES-256 protected PDFs. They'll be asked for the password first. Only very old PDF software may have trouble.

Tools used in this guide

Password protectCheck PDF securityUnlock PDF

More guides