PDkefProtect & Unlock PDFOn-device

Unlock or Protect PDF Free: No Sign-Up, Runs Locally

Add a password to protect a PDF, or remove one you already know - the tool detects which you need.

Star us on GitHubMIT licensedRuns in your browser

Drop PDF here to unlock

Private. Files never leave your device.

How it works

How to unlock or password-protect a PDF online for free

Add or remove a PDF password, right in your browser. No upload, no server. Your file and its password never leave your device.

  1. Upload your PDF. Select or drag-and-drop the file you want to protect or unlock.
  2. Enter a password. Type the current password to remove it, or set a new one to add protection.
  3. Save and download. Click the button and save a copy with the password added or removed.

Free for everyone

Protect or unlock as many PDFs as you like, with no watermark or usage caps. Because the file and its password are processed on your device, nothing is ever uploaded.

It's open source under the MIT license, so anyone can read the code, fork it on GitHub, or share it. Simple PDF tools should be free for everyone.

Got questions?

Frequently asked questions

Is protecting or unlocking a PDF here secure?

Yes. The password and the file are processed 100% client-side, entirely in your browser, whether you are adding or removing protection. Nothing is uploaded to any server.

How do I add a password to a PDF?

Upload a PDF that is not already encrypted and the tool switches to protect mode automatically. Set the password you want, click Protect PDF, and download a copy that requires that password to open.

Do I need to know the PDF password to unlock it?

Yes. To remove a password you must already know it - this tool does not crack, guess, or recover unknown passwords. To add a password, you choose it yourself.

What if I enter the wrong password?

You will see an error and can try again. No file data is sent anywhere when this happens, so there is no risk in retrying.

Is there a limit on file size?

No artificial limit. Both protecting and unlocking run entirely on your device, so the only constraint is your device's available memory.