Skip to content
PdfPain

Country and language

Put a password on a PDF

Add a password so only the right people open it.

or drop them here

The file and your new password never leave your device.

The password is set on your device. It is never sent to us or anyone else.

Need to remove a password instead? Unlock PDF

How to protect a PDF

Choose the PDF above, type a password, type it again and press Protect. The file is encrypted on your own device with AES-256 — the same standard banks use for their statements — and you download a file named like offer-letter-protected.pdf. Anyone who opens it, in any PDF reader on any phone or computer, is asked for the password first.

Nothing leaves your device

The password you type is used only inside your browser to encrypt the file. It is never sent to us or to anyone else, and we keep no copy of it or of the file. That also means we cannot recover it: if you lose the password, the file cannot be opened — not by you, not by us, not by anyone. Keep it somewhere safe.

Choosing a password

Length matters more than symbols. Eight characters is the least worth using; twelve or more is strong. The line under the field tells you where you stand as you type. Avoid a password the reader could guess from the file itself, such as a name or date printed on the first page — unless you are deliberately using a shared rule, the way banks use a date of birth.

Block printing, copying or editing

Under "Restrictions" you can tick Block printing, Block copying text and images, or Block editing. Whoever has the password can still open and read the file, but their reader refuses those actions. The blocks only hold if they cannot be lifted with the same password, so they need a second, "owner" password: set your own under "Owner password" if you may want to lift them later, or leave it empty and a random one nobody knows is used. Adobe Acrobat, Chrome, Edge and phone apps respect these flags, but they deter rather than lock — the password needed to open the file is the real protection.

When this is useful

  • Sending a salary slip, offer letter or ID proof over WhatsApp or e-mail.
  • Sharing a medical report or a legal document with one person only.
  • Protecting a scanned agreement before it goes into a shared folder.
  • Replacing a weak password another tool gave you with one of your choice.

Already locked?

If the PDF already has a password, enter the current one first; the new password replaces it in one step. To remove a password instead of adding one, use Unlock PDF.

Before you share

A protected PDF is still a PDF — but other tools cannot work on it without the password. So shrink it for an upload limit with Compress PDF first, or combine several files with Merge PDF, and protect the finished file last.

Questions people ask

Is the PDF or my password uploaded to your server?

No. Encryption happens inside your browser on your own device. The file and the password are never sent to us or anyone else, and nothing is stored once you close the page.

Which encryption does it use?

AES-256, the current PDF standard, which every modern reader on Android, iPhone, Windows and Mac understands. Older RC4 locks are not offered because they are easy to break.

I forgot the password I set — can you remove it?

No. We never see the password, so we cannot recover it, and we never try to crack passwords. If you still know it, Unlock PDF removes it in one step.

Will the recipient need a special app to open it?

No. Any PDF reader asks for the password and opens the file normally — WhatsApp's built-in viewer, Google Drive, Adobe Reader and browser viewers all work.

Does protecting the file make it bigger?

Barely. Encryption adds a few hundred bytes; the pages, images and text are untouched. If the file is too large for an upload, compress it before you protect it.

Keyboard shortcuts

Search tools and exams
CtrlK
Undo a page edit (Organize PDF)
CtrlZ
Redo it
⇧CtrlZ
Close a dialog, the menu or this list
Esc
Show this list
?

On a computer you can also drag a PDF or photo onto a tool in the header menus (Convert, Photos & ID, All tools) — that tool opens with it, still only on your device.