PDF Password Protect & Unlock
Add an AES-256 open password and print or copy limits to a PDF, or unlock one whose password you know. Files never leave your browser.
Loading the tool…
Used this tool? Share what worked for you — it helps the next person.
PDF Password Protect & Unlock: complete guide
Walk through the steps and examples, or jump straight to the topic you need.
At a glance
- Processing
- Runs qpdf 12.2 (Apache 2.0) as WebAssembly in a worker in this browser. The first time you use it, the processing engine of about 1.3 MB is downloaded.
- Input
- One PDF, up to 100 MB. When you add it, it first checks whether there is a password.
- Setting a password
- Uses AES-256. Passwords can be up to 127 characters, and the printing, copying, and editing restrictions go together with the permissions password.
- Removing a password
- It makes a copy without a password only when the password you entered is confirmed to be correct. It does not guess or try passwords.
- Checking and saving
- The file it makes is opened again to verify before download, and "-protected" or "-unlocked" is added to the name.
How to use PDF Password Protect & Unlock
Choose a PDF
Drag in a PDF or press Choose file and it tells you whether there is no password, an open password, or only a permissions password.
Choose what to do
In What to do, choose Set password or Remove password. A file that already has a password must be unlocked first before you can set a new one.
Enter the password and restrictions
For setting, enter the open password and its confirmation, and choose which of printing, copying text, copying images, and editing to allow. If you set restrictions, also set a permissions password.
Check and download
When you press Set AES-256 password or remove, it reopens the result to verify and then Download PDF appears.
What it’s good for
Setting a password: open password and permissions password
The open password is what is asked when the file is opened. The permissions password is a separate password used to lift restrictions on printing, copying, and editing, so you have to set one separately if you want restrictions. The encryption is AES-256 (R6) from PDF 2.0, so it opens in all modern viewers. Restrictions are a promise that viewers keep, and not every program follows them.
Removing a password only when you know it
Remove password is a feature that makes a copy without a password when entering it every time is a hassle. It removes the password only after qpdf confirms the password you entered is correct, and a file with only a permissions password is also removed only if the permissions password is right. There is no feature that guesses passwords or tries many in a row.
So you never download a broken file
The file it makes is opened once more before you download it. A password-protected file must not open without the password and must pass a structure check with the password you entered, and a file with the password removed must open without a password before the download button is shown.
Worked examples
Allow only printing
Open password open123 · permissions password boss!9
Allow: printing only--print=full --extract=n --modify=none
Encrypted with 256-bit AESRestrictions without a permissions password
Open password open123 · permissions password empty
Allow: printing offTo block printing, copying, and editing, please set a permissions password separately.Saved file names
contract.pdfSet: contract-protected.pdf
Remove: contract-unlocked.pdfChoosing a password type
Swipe the table sideways to see the rest.
| Password | What it does | What to check |
|---|---|---|
| Open password | Asked when the file is opened | If you forget it, there is no way to recover it. |
| Permissions password | Used to lift printing, copying, and editing restrictions | It must differ from the open password for the restrictions to mean anything. |
| No restrictions | Set only an open password | Anyone who can open it can also print, copy, and edit. |
When the result isn’t what you expected
It says the password is wrong
Check upper and lower case and spaces. This tool does not guess passwords, so you must know the right one to remove it.
It says the file already has a password
First remove it with Remove password, then set it again with Set a new password on this file.
It says the permissions password is the same as the open password
If they are the same, anyone who can open the file can lift the restrictions too. Set a different password.
It says it could not read it as a PDF
The file is not a PDF or is damaged. Save it again as a PDF in the original program and then add it.
Key terms
- AES-256
- A 256-bit encryption method, the strongest in the current PDF standard.
- Permissions password
- A separate password used to change the printing, copying, and editing restrictions.
- Permission restrictions
- A promise that viewers keep, so not every program follows them.
PDF Password Protect & Unlock FAQ
Is my file uploaded to a server?
No. Only the processing engine (about 1.3 MB) is downloaded, and everything is processed inside this browser. Your file and password are not sent or stored anywhere.
Can I use a Korean-language password?
The AES-256 standard accepts Korean characters too, but some older viewers may fail to open it, so letters, numbers, and symbols from the Latin alphabet are recommended.
Can I unlock a PDF whose password I forgot?
No. This tool does not guess or try passwords. It is a feature for making a copy when you know the password, so you do not have to enter it every time.
How do I remove a PDF that only blocks printing, with no open password?
That is a file with only a permissions password. It makes a copy without a password only when the permissions password you set for the restrictions is correct.