How to Password Protect & Encrypt a PDF
Sharing a PDF that holds tax forms, a signed contract, or medical records? A password is the simplest way to keep it out of the wrong hands. When you password-protect a PDF, the file is encrypted, so anyone who opens it must type the password first. Without it, the contents stay scrambled and unreadable.
This guide walks you through adding a password to any PDF in under a minute using our free Protect PDF tool, plus tips for choosing strong passwords and avoiding common mistakes.
What “password protecting” a PDF actually does
There are two related ideas worth knowing:
- Encryption scrambles the file’s contents using your password as the key. This is the real security.
- Permissions can restrict actions like printing, copying text, or editing, even after the file is opened.
A strong password plus modern encryption (AES) means that even if someone gets the file, they can’t read it without the password. That’s the protection you want for anything sensitive.
How to password protect a PDF (step by step)
Here’s the fastest way to encrypt a PDF with our tool:
- Open the tool. Go to Protect PDF on PDF168.
- Add your file. Drag your PDF into the upload area, or click to browse and select it from your device.
- Set a password. Type the password you want recipients to use. Pick something strong (more on that below) and store it somewhere safe.
- Choose permissions (optional). If the tool offers options, decide whether to allow printing, copying, or editing. Lock these down if the document is confidential.
- Apply protection. Click the button to encrypt the PDF. Processing happens right in your browser.
- Download the protected file. Save the new, encrypted version. Test it by reopening it and entering the password before you send it.
That’s it. The original file stays untouched on your device, and you get a new encrypted copy ready to share.
Tips for stronger PDF protection
Choose a password that’s hard to guess
- Use at least 12 characters with a mix of letters, numbers, and symbols.
- Avoid names, birthdays, and common words.
- A short passphrase like
Coffee!Mountain42Riveris both strong and memorable.
Share the password separately
Never email the password in the same message as the file. Send the PDF by email and the password by text, a call, or a password manager link. If one channel is intercepted, the file stays safe.
Keep a backup
If you forget the password, the file is genuinely locked, by design. Save it in a password manager so you don’t lock yourself out.
Remove protection when you no longer need it
When a document is finished circulating, or you’re handing it to someone who keeps losing the password, you can strip the password with our Remove Password tool (you’ll need the current password to do it).
Clean sensitive metadata too
A PDF can carry hidden details like author name, software used, or edit history. Before sharing anything sensitive, run it through our Sanitize PDF tool to strip metadata and other leftover data that you didn’t mean to send.
Why doing this in your browser keeps it private
Most online PDF tools upload your file to a remote server, encrypt it there, and send it back. That means your unprotected document, and sometimes your password, briefly live on someone else’s machine.
PDF168 works differently. Our Protect PDF tool runs entirely in your browser. Your file never leaves your device, nothing is uploaded, and your password is never transmitted anywhere. The encryption happens locally, on your computer, using your browser.
That’s a big deal for sensitive documents. There’s no server log of your file, no cloud copy to worry about, and no third party that could be breached. You get the convenience of an online tool with the privacy of offline software.
Quick recap
Password-protecting a PDF is one of the easiest, highest-impact security steps you can take. Upload your file to Protect PDF, set a strong password, apply encryption, and download the locked copy, all without your document ever leaving your browser. Pair it with sanitizing metadata for sensitive files, and you’re sharing with real peace of mind.
FAQ
What encryption is used when I password protect a PDF?
Modern PDF protection uses AES encryption, which scrambles the file's contents so it can only be read with the correct password. As long as your password is strong and kept private, the file stays secure even if someone else gets a copy of it.
Can I remove the password later if I no longer need it?
Yes. As long as you know the current password, you can strip protection using our Remove Password tool at /tools/remove-password/. This creates an unlocked copy you can freely view, edit, or re-share.
Is my file uploaded to a server when I protect it?
No. The Protect PDF tool runs entirely in your browser, so your file and password never leave your device. Nothing is uploaded, stored, or logged on a server, which keeps sensitive documents fully private.