Skip to content
Hawwil

Lock a PDF with a password and unlock it

Your sensitive files deserve a password. Lock a file with strong encryption, or remove protection from a file whose password you know. Everything is inside your browser, and we see neither the file nor the password.

Processed on your device· Your files are never uploaded to any server

Drag and drop your files here

or

Accepted formats: PDF — max 100 MB per file

How to use this tool

  1. Drag and drop a PDF file into the box, or click "Choose a file".
  2. Choose "Lock file" or "Unlock". If the file is password-protected we pick unlock for you automatically.
  3. To lock: type the password and confirm it, and you can block printing, copying or editing. To unlock: type the current password.
  4. Click the button and download the new file. Keep the password somewhere safe, because we can't recover it.

Frequently asked questions

What kind of encryption is used?

AES-256 encryption, the strongest standard PDF supports. Adobe Reader, Safari, Chrome and most readers open it.

I forgot the password. Can I recover it?

No. We store neither passwords nor files, and strong encryption can't be broken without the password. Keep it somewhere safe or in a password manager.

Are the file or password uploaded to a server?

Never. Locking and unlocking happen inside your browser, so you can use the tool for sensitive files. You can check in your browser's Network tab.

Can I unlock a file when I don't know its password?

No. The tool only removes protection if you have the password, or if the file is restricted (printing or copying) without an open password. We don't crack passwords.

What does blocking printing or copying mean?

These are restrictions most readers respect, but some programs ignore them. Rely on the password for real protection.

Why can't my password start with a dash (-)?

This is a limitation in the library we use to encrypt the file. Start with a letter or a digit.