Protect a PDF with a Password, Privately
Lock a PDF so it needs a password to open. Choose the password, decide whether people may print, copy or edit, and download the encrypted file. Everything happens on your device: the PDF and the password are never uploaded.
- Free
- No sign-up
- Runs in your browser
- AES-256 encryption
- PDFs up to 100 MB
How the protection works
The PDF is encrypted with AES-256, the strongest encryption in the PDF standard, using qpdf, a well-known open source PDF library compiled to WebAssembly. It runs in your browser, so the file is never sent anywhere. The first run downloads about 1.3 MB of code, which is then cached.
The result is a normal PDF that opens in Acrobat, Preview, Chrome and any modern reader. They ask for the password before showing a single page.
Printing, copying and editing
Besides the open password you can switch off printing, copying and editing. The file then carries those limits and well-behaved readers enforce them.
Treat them as a courtesy, not a lock. Anyone who has the open password can read the content, and some tools ignore the limits. Only the open password truly keeps people out.
If you forget the password
There is no reset. We never see your password and do not store it, and AES-256 cannot be broken by guessing in any realistic time, so a forgotten password means the file is gone for good.
Keep the original unprotected PDF and store the password in a password manager. To remove a password you do know, use Unlock PDF.
Nothing leaves your device
Many online tools upload your PDF and your password to a server. Here both stay in your browser tab: the file is read into memory, encrypted there and handed back as a download.
Closing the tab clears everything. You can check in your browser's network tab that no request carries your file or password.
Frequently asked questions
Related tools
- Unlock PDFRemove the password or the restrictions from a PDF you own, privately in your browser.
- Merge PDF FilesCombine several PDFs into one file in your browser, in the order you choose.
- Compress PDFShrink a PDF in your browser: recompress its photos or flatten it for the smallest file.
- Edit PDFAdd text, drawings, images and your signature to a PDF, and rearrange its pages, in your browser.