PDF Password: Protect or Unlock
Protect a PDF with a password using 128-bit AES encryption, or remove the password from a PDF when you know it.
Drop your PDF file here
Choose a PDF to add password protection
Max 1 file, up to 50.0 MB each
About the PDF Password
This tool does two jobs. Protect PDF encrypts a PDF so that it asks for a password before it opens. It uses the standard PDF password method with 128-bit AES (security handler revision 4, introduced with PDF 1.6), which current PDF readers support, including Adobe Acrobat Reader and the viewers built into Chrome, Edge, Firefox and Safari. Every string and data stream in the file is encrypted with a key derived from your password, so the text, images and document details such as the title cannot be read without it. The basic structure of the file, such as its number of pages, is not hidden.
Be clear about what this protects. The password controls opening the file. Once someone has opened it with the password, they can read, print, copy and edit it as normal: the tool does not set printing or copying restrictions, because such restrictions are only advisory flags that not every PDF program honours. Choose a password of 4 to 32 characters using English letters, digits and standard symbols (PDF password protection of this type only uses the first 32 characters, and readers handle accented letters inconsistently). This tool cannot recover a forgotten password, so store it safely.
Unlock PDF removes encryption from a PDF when you know its password and saves an ordinary, unprotected copy. It reads the common password-based methods: 40-bit and 128-bit RC4, 128-bit AES and 256-bit AES. It does not guess or crack passwords. For example, a bank statement arrives protected with your date of birth; unlock it once with that password so you can merge it with other statements or compress it for an upload form. If a PDF opens without a password but restricts printing or copying, leaving the password field empty produces an unrestricted copy; only do that with files you are entitled to change.
How to use the PDF Password
- 1
Choose Protect or Unlock
Click Protect PDF to add a password, or Unlock PDF to remove one.
- 2
Add your PDF
Drop a PDF on the drop area or click Browse Files (up to 50 MB).
- 3
Enter the password
For Protect, type the new password twice. For Unlock, type the password that opens the file (the owner password also works).
- 4
Process and download
Click Protect PDF or Unlock PDF, then download the file ending in -protected.pdf or -unlocked.pdf.
What it can do
128-bit AES encryption
Protected files use the AESV2 method of the standard PDF security handler, with a random file identifier for each file.
Unlocks all standard password types
Removes 40-bit RC4, 128-bit RC4, 128-bit AES and 256-bit AES password encryption when you supply the password.
Clear error messages
Wrong passwords, files that are already encrypted and certificate-protected PDFs each get a specific explanation.
Content left unchanged
Pages, text, images and links are kept; only the encryption is added or removed.
Limitations
- Protect adds an open password only; it does not set separate print, copy or edit restrictions.
- Passwords are limited to 4–32 characters of English letters, digits, spaces and standard keyboard symbols.
- Unlock needs the correct password. It cannot recover forgotten passwords, and it cannot open PDFs protected with certificates or custom security plug-ins.
- Both operations rewrite the file, so any digital signatures in it will no longer validate.
- A PDF that is already encrypted must be unlocked before you protect it with a new password.
Privacy
Encryption and decryption run in your browser using the Web Crypto API and pdf-lib. Your PDF and your password are never sent to FlexyPdf’s servers or anywhere else.
Frequently asked questions
Will the protected PDF open on other people’s computers and phones?
Yes, in any reader that supports 128-bit AES PDF encryption, which includes Adobe Acrobat Reader, the browser viewers in Chrome, Edge, Firefox and Safari, and Apple Preview. The reader asks for the password before showing the document.
Can people print or copy text from the protected file?
Anyone who knows the password can, because this tool protects opening the file, not individual actions. People without the password cannot open it at all.
I forgot the password of my PDF. Can this tool remove it?
No. Unlock only works when you enter the correct password; it does not try to guess it. If you created the file, check whether you still have an unprotected original.
Why is my password rejected when I protect a file?
It must be 4 to 32 characters and use only English letters, digits, spaces and standard keyboard symbols. Characters such as é, ₹ or Hindi letters are encoded differently by different PDF readers, which could lock you out of your own file.
What does the unlocked file contain?
The same pages and content as before, saved without encryption, so it opens without a password and can be edited, merged or compressed by other tools.
Ratings & Reviews
Rate PDF Password
Help others by sharing your experience. Your rating is shown without your name.
More PDF Tools
View all →PDF Editor
Add text, signatures, shapes and images to a PDF, and rotate, add or delete pages
JPG to PDF
Turn JPG and PNG images into one PDF, one image per page
PDF to Word
Extract the text of a PDF into an editable Word (.docx) document
Word to PDF
Convert a .docx document into a PDF with a simple, clean layout