Guides / Password protect
How to password protect a PDF for free
Password protectLock a PDF with AES-256. Free, and your file never leaves your device.Open toolEmailing 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
- Decide if a password is the right fit. It's ideal for files you email or store. But many upload portals, including job, visa and government sites, can't read password-protected PDFs and will reject them. For a portal, upload the file without a password.
- Finish your edits first. Merge, reorder, sign or watermark the file before you add the password. Most tools, including ours, need the password removed before they can change a protected file.
- Plan where you'll keep the password. A password manager, or a note somewhere other than next to the file. If it's forgotten, nobody can get it back.
On any device: Protect PDF
- Open Protect PDF and choose your file.
- Type a password, then type it again to confirm.
- 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
- Open the PDF in Preview.
- Choose File, Export.
- 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.
- Use at least 12 characters. Three or four random words, like lamp-river-cotton-41, are long and easy to type.
- Don't use your name, phone number or date of birth. Many banks use those for statements, which is exactly why those files are easy to open.
- Send the password a different way from the file: if you email the PDF, send the password by text or phone call.
- Use a different password for each person or purpose, so one leak doesn't open everything.
Real situations
- Sending documents to a CA or tax consultant. Form 16, salary slips and bank statements carry your PAN, account numbers and income. Protect them before emailing, and call or message the password.
- Sharing ID copies with a visa or travel agent. Passport and Aadhaar scans are valuable to fraudsters. A password keeps them safe if the email is forwarded or the inbox is hacked.
- Medical reports. Protect them before sending to a relative or a new doctor by email.
- Files on a shared or office laptop. A password keeps family members or colleagues from opening personal files by accident.
- Cloud storage and pen drives. If you keep scans in Google Drive or on a USB stick, a password adds a second lock in case the account or the drive falls into the wrong hands.
Troubleshooting
- A portal rejects the file. It probably can't read encrypted PDFs. Upload the unprotected original instead, or remove the password with Unlock PDF. Our guide on removing a password from a PDF covers this, including bank statements that come already locked.
- The file already has a password. Unlock it first with the current password, then protect the unlocked copy with the new one.
- The password doesn't work. Passwords are case-sensitive. Check Caps Lock, and check for a space you typed by mistake at the end.
- The recipient can open it but you wanted to stop printing. That's a permissions setting, not an open password. See the next section.
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
More guides
- How to remove a password from a PDF you can openTired of typing the password every time you open a bank statement? Here's how to save an unlocked copy, free, on any device.
- PDF passwords and permissions, explained simplyWhy a PDF won't let you print, copy or edit, the difference between open and owner passwords, and what RC4, AES-128 and AES-256 mean.
- How to merge PDF files on iPhoneTwo free ways to combine PDFs on an iPhone without installing an app: the built-in Files app, or a browser tool that keeps your files on the phone.
- How to merge PDF files on a MacCombine PDFs on a Mac for free with Preview or a Finder Quick Action, with no software to install, plus how to fix the order afterwards.