Free tool · Files Protect PDF: add a password with AES-256
Add a password that is needed to open the file, and choose whether readers may print, copy or edit it. Encryption runs in your browser, so the document and password are not sent anywhere.
- AES-256 encryption
- Set permissions
- Output checked before download
Password protect PDF files
Add the files, type a password (or generate one), choose permissions and download.
Saved to My tools
Open the free tools page next time and it is right at the top under My tools (stored in this browser only).
You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
View My toolsNo files yet. Choose or drop PDFs, or try the sample.
There is no reset. If you lose the password, the file cannot be opened. Keep the unprotected original and store the password in a password manager.
Permissions
What a reader may do after opening. PDF readers are asked to follow these; some programs ignore them.
Permissions password (optional)
Lets the holder change the permissions. Leave empty and a random one is generated and thrown away.
Three common setups
Pick a preset, then adjust.
| Goal | Open password | Permissions |
|---|---|---|
| Send a confidential file | Yes | Allow everything |
| Share a report to read and print | Optional | Print and fill only |
| Preview that should not be copied | Optional | View only |
Only the open password keeps content secret. Permissions without it are a polite request.
Done here? Try these next
Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.
Problem or suggestion?Send feedbackChat with support
Version v1.0Updated Update history
What the protected file does
The two settings protect against different things.
- AES-256 encryption
- Print, copy and edit permissions
- Up to 20 files at once

Open password
The content is encrypted. Without the password the pages cannot be read, even by software that ignores PDF rules. Its strength depends entirely on the password.
Permissions
Flags that ask readers to block printing, copying or editing. Acrobat and most viewers follow them; others do not, and anyone with the open password can remove them.
AES-256
The current PDF 2.0 method (revision 6). Current Acrobat Reader, Chrome, Edge, Safari, Preview and mobile PDF apps open it; very old software may not.
Checked output
Before you can download, the tool verifies that the file refuses to open without the password and that the permissions read back as you set them.
A password protects the file, not the copy someone makes after opening it. Screenshots and retyping cannot be prevented.
How to password protect a PDF
Four steps, all on your device.
-
1
Add the PDFs
Choose or drop one or several files.
-
2
Set the password
Type it twice or press Generate. Copy it to a password manager.
-
3
Choose permissions
Use a preset or tick what readers may do.
-
4
Download
Check the results and download; names end in -protected.
Encryption in your browser
The work is done by qpdf, a long-established open-source PDF library.
- qpdf 12.2.0 compiled to WebAssembly runs in a background thread; it loads only after you add a file
- AES with a 256-bit key, PDF encryption revision 6, the only revision not deprecated in PDF 2.0
- The open password and the permissions password each unlock the same file key. Without a permissions password of your own, a 32-character random one is generated for each file and discarded
- Screen readers keep access to text: the accessibility permission is always allowed
- Passwords may use letters, digits, symbols, spaces and non-Latin characters, up to 127 bytes
- Pages are not re-rendered; quality and file content are unchanged apart from encryption
| Length | Combinations | About |
|---|---|---|
| 6 | 26⁶ = 308,915,776 | 28 bits |
| 10 | 26¹⁰ ≈ 1.4 × 10¹⁴ | 47 bits |
| 14 | 26¹⁴ ≈ 6.5 × 10¹⁹ | 66 bits |
| 18 | 26¹⁸ ≈ 2.9 × 10²⁵ | 85 bits |
Sending a salary letter to one person
The letter should only be readable by the recipient, who may print it.
| Step | Setting | Result |
|---|---|---|
| Open password | Generate: 16 random characters | About 96 bits |
| Permissions | Print and fill only | Copying and editing blocked |
| Output | letter-protected.pdf | Refuses to open without the password |
| Delivery | Email the file, text the password | One intercepted channel is not enough |
16 characters from a 63-character alphabet give 16 × log₂63 ≈ 96 bits.
Weak spots in PDF protection
The encryption is strong; the habits around it often are not.
Short or obvious passwords
Birthdays, phone numbers and 123456 fall to guessing. Use 12 or more characters, or the generator.
Password in the same email
Send the password through a different channel, such as a phone call or a message.
Relying on permissions for secrecy
Without an open password anyone can read the file. Permissions only discourage casual copying.
Deleting the original
A lost password cannot be reset. Keep the unprotected original somewhere safe.
The same privacy-first approach in our analytics
Files and passwords stay on your device here. TapCub applies the same idea to analytics: collect what you need, keep personal data out.
Cookieless visitor ID
Visitors are told apart by a keyed hash of the site, a salt, the IP address and the browser type. Nothing is written to the browser and the IP is never stored.
Learn moreCompliance centre
Choose balanced or strict, switch on IP truncation for some regions only, set the geography level and retention.
Learn moreSafeguards
Encryption in transit, sensitive fields encrypted at rest, masking by role, export and deletion of one person's data.
Learn moreProtect PDF questions
Still have a question?
Chat with the team behind TapCub — we usually reply within a few hours on business days.
How do I password protect a PDF for free?
Add the file, type the password twice, press Protect and download. No account and no watermark.
How strong is the encryption?
AES with a 256-bit key (PDF 2.0). In practice the password is the weak point, so make it long and random.
Can I stop people printing or copying my PDF?
You can set it, and well-behaved readers follow it. It is not enforced by cryptography, so do not rely on it against a determined person.
What if I forget the password?
It cannot be reset or recovered, by us or anyone. Keep the original file.
Is my file uploaded to a server?
No. The engine runs in your browser, and the password is held in memory only.
Why does it say my PDF is already protected?
Use Unlock PDF first with the current password, then protect the unlocked copy with the new one.
Will the recipient be able to open it on a phone?
Current iPhone and Android PDF viewers support AES-256. If a preview inside a chat app will not open it, open the file in a PDF app instead.
Can I protect several files with one password?
Yes. Add up to 20 files; they get the same password and permissions, and download as a ZIP.
Is this tool working for you?
Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.
Need help right now?
Chat with our support team, best for urgent problems; you can leave a message when we are offline.
Chat with supportUpdate history
New features, fixes and data refreshes for this tool, newest first.
-
· v1.0
LaunchedFirst release.
Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates
Recommend this tool in an article or on your site
This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.
https://tapcub.com/tools/protect-pdf<a href="https://tapcub.com/tools/protect-pdf">Protect PDF - TapCub</a>Make a password you will not reuse
Generate a random password or passphrase and keep it in a password manager.