Add a password to a PDF
- Free
- No sign-up
- No upload
- Works offline
Tool facts
- Opens
PDF- Saves as
PDF- Price
- Free, no sign-up, no watermark
- Are files uploaded?
- No. Everything is processed in this browser, on your device.
- Batch processing
- One file at a time
- Offline use
- Works without a connection once this page has loaded
- Built with
- WebAssembly, Web Crypto, Web Workers, qpdf, and PDF.js
- Browser
- A recent Chrome, Edge, Firefox or Safari, on computer or phone.
- Limits
- No fixed file size limit; very large files depend on your device's memory and may fail on phones.
Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.
About Protect PDF
Protect PDF encrypts a PDF so it can only be opened with the password you choose. It uses AES-256, the strongest encryption the PDF format supports, and it is accepted by Adobe Acrobat, Preview on Mac, Chrome, Edge, Firefox and every modern PDF reader. Choose AES-128 only if the file must open in very old software.
You can also restrict what people can do after opening the file: block printing, block copying text and images, or block editing. These permissions are protected by a second, owner password; leave it empty and a random one is created, so the restrictions can't be lifted in normal PDF readers. The encryption runs in your browser with qpdf compiled to WebAssembly, so neither the document nor the password ever leaves your device.
Protect PDF runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.
How to use Protect PDF
- Drop the PDF onto the page or click to choose it.
- Type the password twice. It is case-sensitive.
- Optionally turn off printing, copying or editing, and set a permissions password.
- Click Protect PDF. The encrypted copy downloads automatically; your original file is not changed.
Frequently asked questions
Is my PDF or password uploaded?
No. Encryption runs locally in your browser with qpdf (WebAssembly). Nothing is sent to a server, and the tool works offline once loaded.
How strong is the protection?
AES-256 with a long password is effectively unbreakable. The weak point is the password itself: use at least 10 characters, or several random words. Short or common passwords can be guessed by cracking tools.
What if I forget the password?
It can't be recovered – not by us, and not by any honest service. Keep a copy of the unprotected original or store the password in a password manager.
Are the print and copy restrictions secure?
They are honoured by normal PDF readers, but they are only a request: some programs ignore them once the file is open. Only the open password truly protects the content.
Can I remove the password later?
Yes. Open the Unlock PDF tool, drop the protected file, enter the password and download an unprotected copy.