PDF Password

Add a password to open your PDF and encrypt it with AES 256-bit. If you forget the password nobody can open the file, so note it down before saving. Neither the PDF nor the password ever leaves your browser.

On-device・No upload

Your files and input are processed only inside your browser on this device and are never uploaded to our servers.

Drop a file here

or

Neither your PDF nor the password is uploadedAccepts: PDFUp to 200 MB per filePaste (Ctrl+V) also works

How to use

  1. Drop the PDF you want to encrypt or click “Choose files”. If it is already password-protected, remove that first with “PDF Unlock (Known Password)”.

  2. Enter the “Password to open” and type it again in the confirmation field. Use “Show” to check it. Short, repeated-character or digits-only passwords get a warning.

  3. If you want, tick “Restrict printing, editing and copying” and enter an owner password that differs from the password to open.

  4. Click “Set password and save”. The saved file is read back, and the page count and password behaviour are checked and shown.

  5. Save it as “name_protected.pdf” with “Save the protected PDF”. Keep the password somewhere safe.

What it does

AES 256-bit encryption

Every string and stream is encrypted with AES 256-bit from PDF 2.0 (ISO 32000-2, revision 6). The key, salts and initialisation vectors are generated freshly from your browser’s random source each time.

Always read back after saving

The saved file is opened again to confirm the page count, that the right password opens it, and that it does not open without a password or with a wrong one. If the check fails, no file is produced.

Honest about restrictions

Print / edit / copy limits are a request that compliant software honours. Some apps ignore them and some tools remove them, so they are not strong protection. The page says so.

A confirmation field prevents typos

You cannot continue unless the confirmation matches (the owner password has one too). Easy-to-guess passwords get a warning, and the password is never stored, logged or sent.

Everything in your browser

Reading, encrypting, checking and saving all happen on your device.

Use cases

  • Put a password on a contract or invoice before sending it by email
  • Encrypt a PDF with personal data before placing it in a shared folder or the cloud
  • Make a handout harder to print or copy (note that this is not strong protection)
  • Encrypt PDFs you carry around in case a device is lost

Supported formats

Input

Unencrypted PDF (.pdf), up to 200 MB per file

Output

AES 256-bit encrypted PDF (.pdf, name_protected.pdf)

Capability matrix

FeatureSupportNotes
Password to open the fileSupported—
AES 256-bit encryption (PDF 2.0, revision 6)SupportedThe app that opens it must support PDF 2.0 encryption
Print / edit / copy limits (owner password)PartialA request that compliant software honours; not strong protection
Read-back check after savingSupportedPage count and password behaviour are verified
Change the password of an already encrypted PDFNot supportedRemove it first with PDF Unlock (Known Password)
RC4, AES 128-bit or other older methodsNot supportedOnly AES 256-bit is written
Certificate (public-key) encryptionNot supported—
Keep digital signatures validNot supportedThe file is rewritten, so signatures become invalid
Recover a forgotten passwordNot supportedImpossible. Keep the password safe
Batch processingNot supportedOne file at a time

Limits & notes

  • Up to 200 MB per file. Large files can take tens of seconds.
  • Only AES 256-bit (PDF 2.0) is written. Some old PDF viewers and libraries cannot open it.
  • Only the first 127 bytes of the password are used. It is normalised with the standard SASLprep rules, so full-width letters and the like become half-width; control and private-use characters are refused. Passwords with characters other than plain letters and digits may not open in some apps.
  • A forgotten password cannot be recovered by this tool or anything else.
  • The file is rewritten, so digital signatures become invalid. Page content is unchanged.
  • Print / edit / copy limits are not strong protection. Protect anything important with the password to open.

Privacy & safety

Loading, encrypting, checking and saving all happen in your browser. The PDF, the password you type and file names are never sent to or stored on a server, and are not placed in URLs, logs, browser storage or usage analytics.

FAQ

Can I recover the PDF if I forget the password?
No. The file is encrypted with AES 256-bit and nobody can open it without the password. This tool cannot recover it either, so keep the password you set.
How strong is the encryption?
It is AES 256-bit from PDF 2.0 (revision 6). With a long enough password to open, breaking it by realistic means is very hard. A short or guessable password wastes that strength; aim for 12 characters or more.
Are the print and copy limits safe?
They are not strong protection. They are a request that compliant software honours; some apps ignore them and some tools remove them. To protect content, use the password to open.
Are my PDF and password uploaded?
No. Everything runs in your browser; neither the PDF nor the password leaves your device.
Which apps can open the protected PDF?
Apps that support AES 256-bit (PDF 2.0). During development the output was opened with qpdf, pikepdf and pypdf. Very old PDF viewers may not be able to open it.
Can I change the password of a PDF that already has one?
This tool does not process an already encrypted PDF. If you know the password, first remove it with “PDF Unlock (Known Password)”, then set a new password here.

Last updated: