Protect a PDF with a password

Lock a PDF so it opens only with your password. The encryption happens on your device, so neither the file nor the password is ever sent anywhere.

How to protect a PDF with a password

  1. Drop your PDF into the box above, or choose it from your device.
  2. Type a password and repeat it. Write it down: a forgotten password cannot be recovered.
  3. If you like, also restrict printing, copying or changes once the PDF is open.
  4. Select Protect PDF and download the encrypted copy.

When it matters

  • Sending tax returns, payslips, contracts or medical reports by email.
  • Keeping scans of passports and ID cards on a shared computer or in the cloud.
  • Sharing a document with one person through a link that others might see.

Send the password another way than the file, for example by text message when the PDF goes by email. To remove a password again, use Unlock PDF.

Questions

How strong is the protection?
PDF-IO uses 256-bit AES, the strongest encryption the PDF format offers, the same that Adobe Acrobat uses. Without the password the content cannot be read. How safe it is in practice depends on the password: a long one, such as four or five random words, cannot be guessed.
Is my file or my password uploaded?
No. The PDF is encrypted inside your browser by qpdf, an open-source PDF tool compiled to run in the browser. Neither the file nor the password is sent to a server, stored or logged.
What do the restrictions on printing and copying do?
They ask PDF readers not to allow printing, copying text or making changes once the file is open. Most readers, including Adobe Acrobat, Preview and browsers, follow them, but some programs ignore them. Use them as a clear signal, not as a lock; the password is what protects the content.
How does the passphrase generator work?
It picks words at random from the 7,772-word list of the Electronic Frontier Foundation, using your browser’s cryptographic random number generator, on your device. Five words give about 65 bits of randomness: easy to read out and type on a phone, and far too many combinations to guess. Capital letters only make it easier to read; numbers add strength.
Which programs can open the protected PDF?
Every current PDF reader: Adobe Acrobat and Reader (version X or later), Apple Preview, Chrome, Edge, Firefox and Safari, and the PDF apps on iPhone and Android.
I forgot the password. Can PDF-IO open the file?
No. Strong encryption means nobody can open the file without the password, including PDF-IO. Keep the original unprotected copy, or store the password in a password manager.

Other tools