Quick answer
To password-protect a PDF, encrypt it with an open password: upload it to a Protect PDF tool, or use Export in your Mac's Preview or Save as PDF options in your office app. Anyone without the password sees nothing. Send the password separately, never in the same email as the file.
Payslips, contracts, medical results, scans of your passport: some PDFs shouldn't be readable by anyone who happens to see them. Email gets forwarded, laptops get lost, and shared folders stay shared longer than planned. A password on the file itself keeps the content locked wherever the file ends up. This guide shows how to add one properly, and how to avoid the mistakes that make it useless.
What a PDF password actually does
When you add an open password, the PDF is encrypted. The pages, images and text are scrambled, and only the right password turns them back into a readable document. This is different from a password on a zip file in an old email client or a "confidential" stamp on the first page: without the password, there is nothing to read.
| Open password | Print and copy restrictions | Redaction | |
|---|---|---|---|
| What it does | Encrypts the whole file | Asks apps to block printing or copying | Removes chosen text and images for good |
| Without the password | Nothing is readable | Everything is readable | Removed parts are gone for everyone |
| Bypassed by | Guessing a weak password | Many free apps simply ignore it | Nothing: the content no longer exists |
| Use it for | Sending private files | Rarely worth it | Sharing a file with some details hidden |
So if the goal is "only this person can read it", you want an open password. If the goal is "this person can read it, but not my account number", you want redaction instead, or both.
Step by step: protect a PDF with MyPDFDone
- 01Finish the document firstMake every change before you lock the file: compress it, sign it, delete pages. An encrypted PDF can't be edited or compressed until it's unlocked again.
- 02Upload to Protect PDFOpen MyPDFDone's Protect PDF tool and add your PDF, up to 100 MB.
- 03Type the password twiceChoose a password the recipient can type without mistakes, and repeat it to rule out a typo. It can be up to 128 characters.
- 04Check the preview and downloadThe free preview shows your document before encryption. Download the protected copy for $2.99, paid once for this file.
Uploading and previewing are free, and you only pay if you download. Your password is used once to encrypt the file and then removed from our system, and files are deleted automatically 2 hours after upload. It works in a browser on any phone or computer.
Choosing a password that holds up
AES-256 can't be broken by force, so attackers try passwords instead. Software can test millions of guesses per second against a stolen file, offline, without anyone noticing. A good PDF password is:
- Long. Four or five random words, such as "lamp-river-orbit-cactus", are far stronger than "P@ssw0rd1" and easier to type.
- Unique. Don't reuse your email or bank password. If the file leaks with a reused password, that password leaks too.
- Not about the content. Avoid the recipient's birthday, the invoice number or the company name, which anyone holding the file can guess.
Banks often use the customer's date of birth as the PDF password. That's convenient, but it's also a weak password. For your own files you can do better.
Sharing the password safely
The most common mistake is sending the password in the same email as the file. If someone gets that email, they get both. Use a different channel:
- Send the file by email and the password by text message or a messaging app.
- Tell the password by phone, or agree on it in person once and reuse it for future files to that person.
- For a team, keep the password in a shared password manager instead of a chat history.
Also say in the email that a password will follow by another route, so the recipient doesn't think the file is broken.
Free ways to protect a PDF on your device
Mac
Open the PDF in Preview and choose File > Export. Click Permissions, turn on "Require password to open document", type the password and save. On older macOS versions the export window has an Encrypt checkbox instead. Either way you get an encrypted copy, and the original stays unchanged.
Windows
Windows has no built-in tool to encrypt an existing PDF. If the document starts in Word, choose File > Save As, pick PDF, click Options and tick "Encrypt the document with a password". LibreOffice, which is free, offers the same in File > Export as PDF, on the Security tab.
iPhone, iPad and Android
Phones don't have a built-in way to lock an existing PDF. Use a browser-based tool such as the one above, which works on a phone the same way as on a computer.
When a password isn't the right tool
You want to share part of a document. A password protects all or nothing. To send a statement without account numbers, redact them, then protect the result if needed. See how to redact personal data in a PDF.
The recipient uploads it to a portal. Many online forms reject encrypted PDFs, because their system can't read them. For applications and official submissions, send an unprotected copy through the portal itself.
The file is too big for email. Compress it before protecting it, because compression doesn't work on an encrypted file. If it's still too big, see PDF too large to upload.
Removing the password later
If you receive a protected PDF and want a copy that opens without the password, you need the password first. With it, Unlock PDF saves a copy without encryption. There's no honest way around a password you don't know; see how to remove a password from a PDF for what you can do instead.
Final check
- The document is final: nothing left to sign, compress or edit.
- The protected copy asks for the password when you open it.
- The password is long, unique and not guessable from the content.
- You've sent the password through a different channel from the file.
- You've kept an unprotected original, or stored the password safely.
Frequently asked questions
The file is encrypted with AES-256, the strongest method the PDF format offers. Without the password, the content is unreadable data. In practice the weak point is the password: a short or common one can be guessed by software that tries millions of combinations.
Yes. The password controls who can open the file. Once it's open, printing and copying work as usual. Print and copy restrictions are easy to ignore in many apps, so they give a false sense of security, and we don't add them.
Nobody can recover it, including us: the password is removed from our system when the job finishes, and the file is deleted after 2 hours. Keep your original unprotected copy, or store the password in a password manager.
Not directly. Unlock it first with the current password using Unlock PDF, then protect the unlocked copy with the new password.
Yes. Modern readers on iPhone, Android, Windows and Mac open AES-256 PDFs and ask for the password. Only very old PDF software, from before about 2010, may fail to open it.
For sending a file by email, usually yes. If the document contains details the recipient shouldn't see at all, such as other people's data, remove them with Redact PDF first. A password only controls who opens the file, not what is inside it.