- All tools
- Protect PDF
How do I put a password on a PDF?
Drop a PDF, type a password, and the page encrypts it with AES-256 — the strongest encryption PDF supports — so it cannot be opened without that password. You can also restrict printing, copying and editing with a separate owner password. Encryption is done by qpdf, an established open-source PDF engine, running in your browser.
- Drop a PDF onto the box.
- Type the password twice, and choose any restrictions.
- Protect it and download the encrypted copy.
Restrict printing, copying and editing (optional)
Restrictions are respected by Adobe Reader, browsers and most apps, but some tools ignore them. Only the password to open actually encrypts the content.
What this page can do
- AES-256 encryption (PDF 2.0 / Acrobat X and later)
- Optional print, change and copy restrictions
- Separate owner password to lift restrictions later
- Re-protects PDFs that already have a password
- Password strength estimate as you type
- Works offline once the page has loaded
When to use this page
- Emailing a contract, payslip or medical record.
- Storing scans of IDs or tax documents in the cloud.
- Sharing a document that only some recipients should read.
When to use something else
- You need to remove a password instead — use Unlock PDF.
- You need certificate-based encryption for specific recipients — use Acrobat or your document system.
- The recipient uses very old software — AES-256 needs Acrobat Reader X (2010) or newer.
How it compares with other options
Acrobat, macOS Preview (Export as PDF → Encrypt) and Microsoft Word can also add a password, and online services do it after you upload the document. This page uses qpdf, the same engine many document systems rely on, compiled to WebAssembly so the file and the password stay on your device.
Where your files go
Nowhere. This page loads the code that does the work, and from then on the file you open is read by your own browser. There is no upload step, no temporary server copy and no cleanup to trust. You can check it yourself: open your browser’s network panel while the tool runs — the page still loads its own code and any ads, but no request carries your file.
Questions about this tool
How secure is the encryption?
AES-256 is the strongest method in the PDF standard and cannot be broken by trying keys. The real weak point is the password: a short or common one can be guessed by programs that try millions of passwords. Use at least 10 characters, or a few random words.
What is the difference between the open password and the owner password?
The password to open encrypts the whole file — without it, the content cannot be read. The owner password only controls the restrictions on printing, copying and editing; those restrictions are honoured by most apps but are not a strong protection on their own.
I forgot the password. Can you recover it?
No. The file is encrypted on your device and the password is never sent anywhere, so nobody — including this site — has a copy. That is the point of encryption, and it is why you should store the password in a password manager.
Will the protected PDF open everywhere?
It opens in Adobe Acrobat and Reader X or newer, all current browsers, macOS Preview, and modern mobile PDF apps. Very old readers from before 2010 do not support AES-256.