Password Protect PDF
Encrypt a PDF with Standard AES-256 (V5/R6); print/copy/edit flags are viewer-enforced, not DRM — free, private and running entirely in your browser
Protect PDF puts an open password on one PDF. The download is AES-256. Print, copy and edit toggles are requests that some viewers ignore. The password lives only in the page’s memory.
Last updated: 15 October 2026
Guide, examples, and FAQ
About Protect PDF
What it does
Load one PDF, up to 50 MB. Set a password and confirm it. Encrypt stays off until the passwords match and the strength is at least Fair. The file is saved as <original>-protected.pdf. The preview stays the unlocked source.
Who it is for
For anyone who needs a password before someone else can open a PDF.
When to use it
Use it when you can store the password yourself. A forgotten password cannot be recovered here.
Key features
One open password
Password and Confirm password must match. Show password reveals both boxes. “Use same password for owner (recommended)” is checked. Uncheck it to type a separate owner password. A blank owner password is saved as the user password.
Fair or stronger
The meter adds 1 for 8 or more characters, 1 for 12 or more, 1 for mixed case, and 1 for a digit plus a symbol. “Password1” scores 2, Fair, and is allowed. “password1” scores 1, Weak, and is blocked. Encrypt stays disabled below Fair.
AES-256
The file is AES-256: /V 5, /R 6, key length 256, AESV3. Title, link addresses, form field names and values, and page text are encrypted. The output panel says AES-256 (V5 / R6).
How to use Protect PDF
- 1Drop one PDF, up to 50 MB. A password-protected file stops with “This PDF is password-protected — upload the unlocked version to continue.”
- 2Type the password and confirm it. Leave the owner box checked, or uncheck it and set an owner password.
- 3Turn on Prevent printing, Prevent copy / text extraction, or Prevent editing & annotations only if you want those requests. All three start off. Accessibility copying stays allowed.
- 4Encrypt & download once the strength is Fair or better and the passwords match. Keep the password. The page does not store it.
Example
Before
Small generated files. A 1-page PDF with the words “Page 1”, 1,021 bytes. A 4-page PDF, 2,168 bytes. A one-page PDF of 2,076 bytes with the title “Quarter notes”, the link https://example.com/board, the field customer = Ada, and the page text “Alpha page 1”.
After
Toggles left off, and the owner password set to the same password. The 1,021-byte file becomes 2,275 bytes. The 2,168-byte file becomes 3,581 bytes. The 2,076-byte file becomes 4,232 bytes. Each file is AES-256 (V5 R6). Without the password, the title, the link address, the field name, the field value and the page text are not in the raw bytes, and pdf.js raises PasswordException. With the password, pdf.js reads the title, the link, customer = Ada, and “Alpha page 1”.
These are small test files. Measured /P values from the same toggles: none −4 (all allowed); Prevent printing −2056; Prevent copying −20; Prevent editing −1324 (print, high-quality print, copy and accessibility remain); all three −3392 (accessibility only). Tested with pdf.js and pikepdf.
Common problems and fixes
Encrypt stays disabled
The note says “Set a matching password with strength ≥ Fair to enable encryption.” The passwords must match, and the score must be at least 2.
The file is already password-protected
The message is “This PDF is password-protected — upload the unlocked version to continue.” Unlock PDF removes a password you already know.
The file is PDF/A
Encryption stops with “This file is PDF/A, which cannot be encrypted.”
Benefits
The open password is the protection
The page says: “Print, copy and edit restrictions are requests that some viewers ignore. The password to open the file is the strong protection.”
Strings are encrypted
On the file that went from 2,076 bytes to 4,232 bytes, the title, link address, field name, field value and page text were absent from the raw bytes. pdf.js refused to open it without the password.
Common use cases
Send a contract by email
Protect the PDF, download the *-protected.pdf file, and send the open password in a separate message or call.
Share a report outside the team
Set a password you control, leave the print / copy / edit toggles off unless you need those requests, and keep the password yourself.
Hand off a file before travel
Encrypt the PDF on this page, save the download, and store the password in your password manager — this site cannot recover it later.
Owner password separate from open password
Uncheck “Use same password for owner”, set a stronger owner password for full access, and give recipients only the open password.
Tips & best practices
- “Password1” is Fair and is allowed. A longer password with mixed case, a digit and a symbol scores higher.
- The owner password is for full access. Leave “Use same password for owner (recommended)” checked unless you need a second one.
- A PDF/A file stops with “This file is PDF/A, which cannot be encrypted.”
Common mistakes to avoid
- Relying on Prevent printing, Prevent copy / text extraction, or Prevent editing & annotations without a strong open password. The page says some viewers ignore those requests.
- Choosing a weak or reused password. Below Fair, Encrypt stays disabled. “password1” scores 1 and is blocked.
- Forgetting the password. The success line says to save it, because it cannot be recovered.
- Protecting a PDF that is already protected. Load stops and asks for the unlocked file.
- Sending the password in the same message as the file.
Frequently asked questions
What encryption is written?
AES-256. The file contains /V 5, /R 6, a key length of 256, and AESV3. There is no RC4 choice and no certificate encryption. The output panel says AES-256 (V5 / R6). The download is named <original>-protected.pdf.
Are the title and link addresses encrypted?
Yes. On a measured file, the title, the link address, the field name, the field value and the page text were not readable in the raw bytes. With the password, pdf.js and pikepdf read them back correctly.
Do the print, copy and edit toggles lock the content?
They are requests. The page says some viewers ignore them, and that the password to open the file is the strong protection. Accessibility copying stays allowed. Opening with the owner password is full access.
Can a lost password be recovered?
No. The password stays in the page’s memory for that visit. It is not stored, sent, or written into an analytics event. This site cannot recover it.
Is the on-screen preview the encrypted file?
No. The preview is the unlocked source. The encrypted bytes are the download.
How large a PDF can I protect?
One file up to 50 MB. Larger files are rejected before encryption starts.
What if the passwords do not match?
Encrypt stays off until Password and Confirm password are the same and the strength meter is at least Fair.
Does protecting the file upload it?
No. Encryption runs in this browser. The password is kept only in page memory for that visit.
When another tool fits better
- Unlock PDF. You already know the password and need a copy that opens without it. Protect PDF will not open a locked file.
- Merge PDF. Several PDFs should become one file. Protect PDF encrypts one PDF.
Conclusion
Protect PDF puts an AES-256 open password on one PDF and downloads <original>-protected.pdf. The title, links and form strings are encrypted. The print, copy and edit toggles are requests. A lost password cannot be recovered.
Ready to try Protect PDF?
Scroll back up to start now, or continue with another free pdf tool.