Protect PDF · add a password
Encrypt a PDF with an open password, and optionally block printing, copying or editing. AES-256, the same encryption Acrobat uses, done entirely in your browser.
Restrict printing, copying and editing (everything allowed)
Restrictions are respected by Acrobat, Preview, Chrome and other mainstream readers, but they are not encryption: anyone who can open the file can strip them with free tools, including ours. Treat them as a clear signal, and rely on the open password for privacy.
QPDF log
How to password-protect a PDF (free)
- Drop your PDF onto the box above.
- Type a password to open the file, twice. Leave it empty if you only want to restrict printing or copying.
- Optionally open Restrict printing, copying and editing and untick what readers should not allow.
- Click Protect PDF and save the protected copy. Keep the original somewhere safe until you have checked the new file opens.
Open password vs. restrictions
An open password (user password) encrypts every page, image and attachment, so the file cannot be read at all without it. With AES-256 and a strong password this is real protection: nobody, including us, can open the file without the password.
Restrictions (owner or permissions password) leave the file readable but ask the reader app to block printing, copying, editing, form filling or comments. Readers honour them, but removing them takes seconds with free software, so they are a courtesy lock, not security. The Unlock PDF tool does exactly that for files you are allowed to use.
Which encryption should I choose?
AES-256 is the current PDF standard (PDF 2.0, Acrobat X and later). It opens in Acrobat, macOS and iOS Preview, Chrome, Edge, Firefox, Android readers and LibreOffice. Pick AES-128 only when the file must open in readers older than about 2010. Weak RC4 encryption is not offered.
Private by design
The tool ships QPDF compiled to WebAssembly and runs inside your browser tab. Your PDF and the passwords you type never leave your device, which matters because the documents people protect are usually the sensitive ones: contracts, payslips, medical records, tax returns.
Forgot the password?
There is no recovery and no backdoor. Store the password in a password manager, or keep the unprotected original in a safe place.