Protect PDF — lock it with a password
Put a password on a PDF before you email it or store it — salary slips, ID scans, contracts, medical reports. Strong AES-256 encryption, done in your browser. The file and the password never leave your device.
- No sign-up
- AES-256 encryption
- Files never leave your device
- Add your PDF
- Choose a password
- Download the protected copy
Protect a PDF with a password
Lets you change the restrictions later in desktop PDF software.
Write the password down somewhere safe. We can’t recover it, and neither can anyone else.
Related tools
See all in PDF tools- Unlock PDFRemove a PDF password or print/copy limits, in your browser.
- Password GeneratorStrong random passwords, generated on your device.
- Sign PDFAdd your signature to a PDF without printing it.
- Merge PDFCombine several PDFs into a single document, in any order.
- Compress PDFShrink a PDF to meet upload limits. Set a target size in KB.
- JPG to PDFTurn photos and scans into a single, correctly rotated PDF.
How to use Protect PDF
- Add your PDF
Drop in the file you want to lock. It stays on your device.
- Choose a password
Pick a strong one and type it twice. Optionally block printing, copying or editing.
- Download the protected copy
Share the new file. Whoever opens it will be asked for the password.
Why put a password on a PDF?
Email and messaging apps are not private by default. A PDF with your Aadhaar number, bank statement, salary slip, medical report or signed contract can be forwarded, synced to a shared drive or sit in a download folder for years. A password means that anyone who gets the file by accident still cannot read it. It takes under a minute and costs nothing.
Open password and restrictions
- The open password is what the reader must type before the document shows at all. This is the real protection, and it is what most people want.
- Restrictions — no printing, no copying text, no editing — are applied on top. Treat them as a polite request, not a lock: most PDF viewers respect them, but some tools ignore them. Only the open password actually keeps the contents secret.
Choosing a good password
- Use at least 12 characters, ideally a few unrelated words or a random string from the Password Generator.
- Avoid dates of birth, phone numbers and names. They are the first things anyone would try.
- Send the password through a different channel from the file — for example the PDF by email and the password by phone or message.
- Store the password in a password manager. A lost password cannot be recovered by us or by anyone else, so the file would be unreadable.
Which encryption should I pick?
AES-256 is the default and works in current versions of Adobe Acrobat, Chrome, Edge, Firefox, macOS Preview and mobile PDF apps. Choose AES-128 only if the recipient uses very old software that cannot open AES-256 files.
Why it stays private
The encryption is done by qpdf, an open-source PDF library compiled to run inside your browser. Your file and your password are handled on your own device and are never uploaded to our servers. To remove a password later, use Unlock PDF.
Why use this tool
- AES-256 encryptionThe same strong encryption standard used by modern PDF software, with AES-128 available for very old readers.
- Optional restrictionsStop printing, copying text or editing — useful for forms and drafts you share widely.
- Nothing uploadedEncryption happens inside your browser. The document and the password never reach a server.
- Your original is untouchedYou get a new protected copy. The unprotected file stays exactly as it was.
Frequently asked questions
Something else on your mind? Talk to us — we reply within one working day.
More free tools you might need
Browse all free toolsSlow website? Heavy images and files are the usual culprit.
Our free website audit checks your page speed, image weight and SEO, then tells you what to fix first.