Password Protect PDF

Password protect a PDF for free. Add a password with 128-bit encryption in your browser so it can't be opened without it — your file is never uploaded.

Select a PDF file

or drop PDF here

Select PDF file

About PDF Password Protector

Our PDF Password Protector allows you to secure sensitive documents with RC4 128-bit encryption directly in your web browser. This ensures maximum privacy, as your files are never uploaded to any remote server.

Features

  • Real RC4 128-bit encryption
  • Prevents unauthorized viewing
  • 100% local, client-side processing
  • No file uploads required
  • Fast, instant downloads

How to Use

  1. Select or drag-and-drop the PDF you want to protect
  2. Type a strong password in the sidebar input
  3. Click "Lock PDF" to apply the encryption
  4. Download the protected PDF document

How the PDF Password Protector works

The tool applies the PDF Standard Security Handler, the scheme that arrived with PDF 1.4. Your password is padded to 32 bytes and hashed through 51 rounds of MD5 to produce a 128-bit key. Every stream and text string in the document is then encrypted with RC4, using a key derived separately for each object. The result downloads as protected_ plus your filename.

We checked the output with PDF.js: it refused the file with no password and with a wrong one, and opened it with the right one.

Doing this in the browser closes a gap that upload-based tools leave open. They receive your unprotected file and your chosen password before they encrypt anything, so the protection starts only after a stranger’s server has seen both. Here the password lives in the page’s memory, is never saved to browser storage, and is gone when you close the tab.

When to use the PDF Password Protector

  • Emailing a payslip or a tax computation, with the password sent separately by text message.
  • Meeting a company rule that attachments must be password protected before they go out.
  • Keeping a tenancy agreement in a shared drive folder that the whole household can browse.
  • Stopping a curious colleague from opening a file left on a shared office computer.

What the PDF Password Protector can’t do

It doesn’t offer AES-256, and you should know what that means. This is 128-bit RC4, which the PDF 2.0 standard deprecates, and password-cracking tools have dedicated modes for it. A short password can fall quickly.

That is fine for keeping casual eyes out. For legal, medical or financial records you have a duty to protect, use AES-256 instead: Adobe Acrobat offers it, and so does the free qpdf command-line tool.

It only adds passwords. It can’t remove or change one, and a PDF that is already locked is refused.

There is one password for everything. You can’t set a separate owner password or block printing and copying, so anyone who opens the file can do both.

The format also limits the password itself:

  • Only the first 32 characters count, and the page tells you if you go over.
  • Accented letters and other alphabets are refused. In our test, a password containing ä and ö produced a file PDF.js would not open, so stick to plain keyboard letters, numbers and symbols.

Lose the password and the file is gone for good.

Keep the original until you have tested the locked copy.

Frequently Asked Questions

Can you recover my password if I forget it?

No. The encryption happens entirely in your browser, and we never see your file or your password, so there is nothing for us to reset. Keep an unprotected original somewhere safe, and store the password in a password manager before you send or delete anything.

Are my files uploaded for encryption?

Never. The PDF is encrypted in your device's memory by JavaScript running in the page, and neither the file nor the password is sent to a server. Many online tools have to receive both before they can protect anything, which is an awkward thing to ask of a confidential document.

Does this tool work offline?

Not from a cold start. The page needs a connection to load, and the encryption code only downloads the first time you press Lock PDF. Once it has run in a tab, you can disconnect and keep locking files there. Online or offline, your PDF stays on your device throughout.

What encryption standard does this tool use?

The PDF Standard Security Handler with 128-bit RC4, the scheme that arrived with PDF 1.4. It opens in standard PDF readers such as Adobe Acrobat, Chrome and Preview, which all ask for the password first, and it stops casual access. For highly sensitive documents, use a tool that supports AES-256.

Is there a file size limit for protecting PDFs?

There is no fixed limit, because all processing happens on your own device and depends on its available memory. Most modern computers and smartphones comfortably handle PDFs of 50 MB or more. Very large scanned files may take longer or fail on older phones, so use a laptop for those.

Is RC4 PDF encryption secure?

Only against casual access. RC4 is an old cipher that the PDF 2.0 standard deprecates, and password-cracking tools target this format directly, so a short password can fall quickly. Use a long, random password, and choose AES-256 for legal, medical or financial records you have a duty to protect.

More PDF Tools

Action successful