How to password protect a PDF
- Choose the PDF: press Choose PDF or drag the file in. The tool checks for an existing password first and selects Protect for unprotected files.
- Enter an open password twice. Only people who know it can open the PDF.
- Optional restrictions: to block printing or copying, open “Restrict printing, copying and editing”, set a permissions password and pick what to block.
- Download: press Protect PDF, then Download. Your original file is not changed.
How to remove a password from a PDF (when you know it)
Useful for statements, payslips and certificates that ask for a password every time, when you want to archive them or upload them elsewhere.
- Choose the protected PDF; Unlock is selected automatically.
- Enter the password you use to open it and press Unlock PDF. Download the copy that opens without a password.
- If the PDF opens freely but printing or copying is blocked, enter the permissions password set by the author to lift the restrictions.
What AES-256 encryption means
When you add a password, all text, images and fonts in the PDF are encrypted with AES-256, the method defined in the PDF 2.0 standard (ISO 32000-2) and the strongest encryption available for PDF today. It opens in Adobe Acrobat Reader, the built-in PDF viewers of Chrome, Edge and Safari, and the default viewers on phones. Software older than Acrobat X (2010) may not open it.
Strong encryption does not help if the password is short: a 4 to 6 digit number can be found quickly by a computer trying every combination. For important documents use 8 or more characters mixing letters, numbers and symbols.
Open password vs permissions password
The open password (user password) is needed to open the PDF. Without it the content cannot be viewed.
The permissions password (owner password) controls restrictions such as printing, copying and editing. With restrictions but no open password, anyone can open the file, but PDF viewers block the restricted features.
Restrictions rely on the viewer honoring them. The PDF standard requires viewers to respect the author’s settings, and common viewers such as Acrobat and Chrome do, but some programs ignore them. If the content must stay private, add an open password as well.
What happens to restrictions when you unlock
Unlocking with the open password produces a file that opens without a password. If the author restricted printing or copying, those restrictions are kept (a new random permissions password, known to nobody, keeps them in place). Unlocking with the permissions password removes both the password and the restrictions.
This tool does not remove restrictions from PDFs whose permissions password you do not have. The PDF standard (ISO 32000) asks PDF software to respect the permissions set by the author, and bypassing them can fall under anti-circumvention rules in copyright law (such as the DMCA in the United States). If you made the document yourself, export it to PDF again from the source file, or ask the author for the permissions password.
If you forgot the password
This tool cannot recover passwords. A PDF encrypted with AES-256 is unlocked by a key derived only from its password, so without the password there is no way to read it. Programs that try passwords one by one only succeed against short numeric passwords, and this site does not offer that.
Statements and certificates from banks, phone carriers or government offices usually use a rule explained in the email or message that came with them, such as your date of birth or a customer number. Check that message again, or ask the sender for a new copy.
Your file and password are not uploaded
Protecting and unlocking run in your browser with the open-source PDF engine qpdf (Apache-2.0 license), built for WebAssembly. The PDF and the password are not sent anywhere and are not stored. The only download from this site is the engine itself (about 1MB), once.
Third-party software used by the engine and the full license texts are listed in the open-source notices.
FAQ
Are my PDF and password sent to a server?
No. Reading the file and adding or removing the password all happen in your browser. Passwords you type are not stored.
Can I unlock a PDF without knowing the password?
No. There is no feature to guess or bypass passwords. For bank or government documents, check the email that came with the file for the password rule, or ask the sender.
Does it work on a phone?
Yes. Choose the PDF in your phone’s browser, enter the password and download the result. Files go to the Downloads folder (the Files app on iPhone).
Is the unlocked file the same as the original?
Yes. Pages, text, images and bookmarks stay as they are; only the encryption is removed. The original file is not changed.
Can I stop people from copying or printing my PDF?
Open “Restrict printing, copying and editing”, choose what to block and set a permissions password. With no open password anyone can view the file, but common PDF viewers block the restricted features. Some programs ignore restrictions, so add an open password for sensitive content.
Can I unlock older PDFs encrypted with RC4 or AES-128?
Yes. PDFs encrypted with RC4 (40 or 128-bit), AES-128 or AES-256 can all be opened. New passwords always use AES-256.
Something not working, or a feature you want? Send feedback