Kharabeesh
On-device ع

Protect PDF with a Password

Lock a PDF with an open password, block printing, copying or editing, or change the password of a protected file. AES-256 encryption in your browser, no upload.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Choose a PDF. If it is already protected, type its current password to change it.
  2. Choose “Open password” or “Restrictions without an open password”.
  3. Type and confirm the password, and set what is allowed (printing, copying, editing…).
  4. Press “Protect & download”. If you leave the owner password empty we generate a strong one; copy and keep it.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: pdfLibCrypto + pdfjs (open-source libraries bundled with the site).
  • Works offline after you open it once.
  • Needs a modern browser (Web Crypto).

Frequently asked questions

What is the difference between the open and owner passwords?

The open password stops anyone from viewing the file without it; once opened, your chosen restrictions apply. The owner password opens the file with full rights and allows changing the protection.

Are restrictions (no printing/copying) strong?

Do not rely on them alone. Most apps honour them, but some ignore them, especially when there is no open password. For real protection use a strong open password.

I forgot the password. Can you recover it?

No. We never store passwords, and AES cannot be undone without them. Keep the password somewhere safe before sending the file.

AES-256 or AES-128?

AES-256 is the strongest and the default; any modern PDF app opens it. Choose AES-128 only if the file must open in a very old app.

Is my file or password sent anywhere?

No. Encryption happens in your browser, and neither the file nor the password is stored.

My file has a digital signature. Is it affected?

Yes. Encrypting or editing invalidates an existing digital signature.

Related tools