How to password-protect a PDF
The two kinds of PDF password, what each one really protects, and how to share a locked file safely.
By OpenAnyDoc ·
The short answer
Choose the PDF in Protect PDF, type a password twice and download the locked copy. It is encrypted with AES-256 in your browser, and neither the file nor the password is uploaded; anyone who opens the copy needs the password. Send the password by a different route than the file, and keep the original, because a forgotten password cannot be recovered.
Two kinds of PDF password
A PDF can carry two different passwords, and they do very different jobs.
The password to open encrypts the file. Without it, the pages cannot be read at all. This is the one that keeps a document private.
A permissions password goes with restrictions on printing, copying text and pictures, or changing the document. The file opens without it, and the restrictions are a request that most PDF readers honour, not a lock. A PDF that opens freely but will not print has only restrictions, and Unlock PDF lifts them without any password, which shows how little they protect.
Protect PDF always sets a password to open, of at least 4 characters. Untick Print, Copy text and pictures or Change the document if you also want restrictions, and add an optional permissions password.
What a password stops, and what it does not
A password to open keeps the content from anyone who has the file but not the password: an email sent to the wrong address, a lost USB stick, a shared folder with too many members. It does not stop everything:
- Anyone who has the password can read, print, photograph or forward the pages, and can save a copy without the password.
- The file name is not encrypted, so a name such as salary-review-2026.pdf already says what is inside. Give the file a plain name.
- A short or guessable password can be found by trying many passwords. AES-256 is the strongest encryption PDF readers support, but its strength depends on the password.
- A password does not show who sent the file or whether it was changed; that needs a certificate-based digital signature.
Choose a password that holds
Use a long password: several unrelated words, with a number or a symbol between them, are easier to remember and harder to guess than one short word. Avoid names, dates of birth, phone numbers and anything printed in the document itself. Do not reuse a password from an email or bank account. Type it twice in Protect PDF; Show passwords lets you check it before you lock the file.
Send the password separately
A password in the same email as the file protects nothing: whoever gets the email gets both. Send the file one way and the password another:
- Email the PDF, then send the password in a text message or a chat app, or say it on a call.
- For someone you send files to often, agree a password once, in person or by phone, rather than sending a new one each time.
- Never put the password in the file name, the email subject or the document.
Restrictions: when they are worth it
Restrictions suit cases where you trust the reader but want to discourage casual changes, such as a final price list or a signed agreement sent for reference. Most readers will then grey out printing or copying. Do not rely on them for anything secret: anyone who can open the file can remove them, for example with Unlock PDF. If you set a permissions password, make it different from the password to open.
Removing or changing the password later
Your original file stays on your device, unchanged and without a password, so keep it somewhere safe. To take the password off a locked copy, open it in Unlock PDF and type the password; it does not guess or crack passwords. To change a password, remove the old one there and protect the file again. Other tools, such as Merge PDF or Split PDF, need the password removed first.
Other free ways
On a Mac, Preview can add a password when you export the PDF with File, then Export, then Permissions (Apple's Preview guide). Word and LibreOffice can encrypt a document with a password when they save it as a PDF (Microsoft's page on saving as PDF, LibreOffice's PDF export help; all checked 24 November 2026), which suits a document you wrote yourself. Protect PDF works with any PDF that opens without a password, including one that only restricts printing or copying, on any device, and keeps its text, pictures, links and form fields as they are.
Questions?
Write to support@openanydoc.com and describe what you need to protect (no personal data, and never send a password).