PDF Protect
Encrypt a PDF with password protection. Set permissions for printing, copying, and editing.
PDF Protect tool
Example
Input: A 5-page PDF, user password open123, a different owner password, printing allowed, copying off
Result: <file>-protected.pdf encrypted with AES-256: it asks for a password to open, and the owner password can lift restrictions
Encryption uses the PDF Standard Security Handler (revision 6) with AES-256 in your browser. Using the same user and owner password is refused.
PDF Protect Permission Settings
| Setting | Default | What it covers |
|---|---|---|
| Allow Printing | On | Printing, including high quality |
| Allow Copying | Off | Copying text and images |
| Allow Modifying | Off | Editing, comments, page assembly |
| Filling form fields | Always on | Existing form fields only |
| Screen reader access | Always on | Text extraction for accessibility |
Permissions are enforced by the PDF reader; the open password is enforced by encryption.
- Upload the PDF file you want to protect with a password.
- Enter an owner password (required - it controls the permissions) and, optionally, a user password that must be entered to open the document.
- Configure the permission options to allow or restrict printing, text copying, and document editing.
- Review your password and permission settings to ensure they match your security requirements.
- Click "Protect PDF" to encrypt the document with the specified passwords and permissions.
- Download the password-protected PDF and store your password in a safe place, as it cannot be recovered.
Password Protecting a PDF With AES-256
PDF Protect adds a password to a PDF and encrypts it with AES-256, the strongest method in the PDF standard. You can require a password to open the file, limit printing, copying and editing, or both.
PDF security uses two passwords. The user password, also called the open password, is needed to view the document. It is optional. The owner password is required. It lets its holder change the permissions or remove the protection. The two must be different, because anyone who could open the file could otherwise also lift the limits.
The permissions are three switches. Allow Printing is on by default. Allow Copying and Allow Modifying are off. Two things always stay allowed: filling in existing form fields, and text access for screen readers. The protected PDF opens in Adobe Acrobat, Chrome, Firefox, Apple Preview and other up-to-date readers.
Know what each part really does. The open password is true encryption, and with a long password the content cannot be read without it. Permission limits are different. They rely on the PDF reader to honor them, and some programs ignore them. Treat them as a polite barrier, not a guarantee.
Encryption happens in your browser, using pdf-lib and the Web Crypto API. Your file and passwords are never sent anywhere or stored. That also means a lost password cannot be recovered, so keep it safe. A file that is already protected must be unlocked first with PDF Unlock. For a strong password, try the Password Generator.
Sources
Frequently Asked Questions
Related Tools
PDF Unlock
Remove password protection from PDFs when you know the password. Unlock restricted documents instantly.
PDF ToolsPDF Watermark
Add a text watermark to every page of a PDF with adjustable font, color, opacity, and rotation angle.
PDF ToolsPassword Generator
Generate strong, secure passwords with customizable length, character types, and multi-word passphrases.
Security and EncryptionPDF Merge
Combine multiple PDF files into a single document directly in your browser. No upload to any server required.
PDF Tools