How to password-protect a PDF
Open password or permissions password?
| Password | What it does | Strength |
|---|---|---|
| Open (user) password | Nobody can see the content without it | Strong – the content is encrypted with a key derived from the password |
| Permissions (owner) password | The file opens freely, but printing, copying or editing can be restricted | Weak on its own – restrictions are honoured by mainstream readers, but some software ignores them |
If you need confidentiality, always use an open password. Permissions on their own are a polite request to the reader software rather than real security, and the PDF standard leaves it to each program to enforce them.
Choosing a strong password
- Use four or more random words, or 12+ mixed characters. Short passwords can be guessed by password-cracking tools, even with AES-256.
- Do not send the password in the same email as the file. Use a phone call, text message or a different channel.
- Store it in a password manager. There is no “forgot password” for an encrypted PDF – Docelora never sees or stores it.
What exactly happens to the file
qpdf rewrites the PDF with the standard security handler, revision 6 (AES-256, introduced in PDF 2.0 and supported by Acrobat 9 and later). Pages, text, images, links, bookmarks and form fields are kept; only the encryption is added. The original file on your device is not changed. A PDF that is already protected must be unlocked first so that the new settings replace the old ones.
Compatibility
| Reader | AES-256 support |
|---|---|
| Adobe Acrobat / Reader 9 and later | Yes |
| Apple Preview and iOS Files | Yes |
| Chrome, Edge and Firefox built-in viewers | Yes |
| Very old readers (before 2008) | May not open the file |
Related tools
Frequently asked questions
How do I put a password on a PDF?
Upload it, type an open password twice and select Protect PDF, then download the protected copy.
Which encryption is used?
AES-256 (PDF security handler revision 6), the strongest option in the PDF standard.
Is my PDF or password uploaded?
No. qpdf runs inside your browser; neither the file nor the password is sent to Docelora.
Can Docelora recover a forgotten password?
No. We never receive it, and strong encryption cannot be reversed without it. Keep it in a password manager.
What is the difference between the open and permissions password?
The open password is needed to view the file. The permissions password controls printing, editing and copying.
Can I only stop printing without a password to open?
Yes – choose “Only restrict printing, copying or editing” and set a permissions password.
Are permission restrictions secure?
Only partly. Mainstream readers honour them, but some software ignores them. Use an open password for confidential files.
Why must the two passwords differ?
If they were the same, anyone who can open the file could also lift the restrictions.
What happens if I leave the permissions password empty?
With restrictions, a random one is used. Without restrictions, the open password is used for both.
Will the protected PDF work on iPhone and Android?
Yes – current PDF apps and browsers ask for the password.
Does protecting change the file size?
Usually only slightly.
Are links, bookmarks and forms kept?
Yes. Only encryption is added.
Can I protect a PDF that already has a password?
Unlock it first with Unlock PDF, then protect it again with the new settings.
Can I protect several PDFs at once?
One file at a time, so you can check each password.
Can I use Urdu or other non-English characters in the password?
AES-256 supports Unicode passwords, but some older readers mishandle them. Letters, numbers and symbols on a standard keyboard are the safest choice.
Is there a file size limit?
Up to 300 MB, but very large PDFs depend on your device’s memory. Close other tabs if a big file is slow.
Does it work on a phone?
Yes, in current versions of Chrome, Safari, Edge and Firefox on Android and iPhone.
Is it free?
Yes. There is no sign-up, watermark or daily limit.
Which browsers are supported?
Current Chrome, Edge, Firefox and Safari on computers, Android and iPhone. WebAssembly must be enabled, as it is by default.
Do I need an account?
No. Open the page and use the tool – there is no sign-up or email address required.
Last reviewed: 14 November 2026.