Protect PDF PDF Tools
Sharing a PDF and want to make sure only the right people can open it? This tool lets you protect PDF files with a password directly in your browser. Upload your PDF, set a password, and download a secured file. The encryption runs locally — your document never leaves your device, and the password is never sent anywhere. No software to install. No account needed. Works on any device in seconds.
How to Use
- Click Upload PDF or drag your file into the tool.
- Type a strong password in the password field.
- Confirm your password in the second field to avoid typos.
- Click Protect PDF to apply the encryption.
- Click Download to save your password-protected PDF.
🔒 Tip: Write your password down immediately after setting it. There is no recovery option — the password is applied and stored only in the file itself. For more guidance, see our Protect PDF guide.
When You'll Use This
Password-protecting a PDF is one of the simplest ways to control who can read a document. Here are the most common situations where it matters:
- Sharing sensitive documents: Contracts, NDA agreements, payslips, and medical reports often contain personal data. A password ensures only the intended recipient can open them.
- Sending PDFs by email: Emails can be forwarded or accessed by unintended recipients. Protecting the attachment adds a barrier even if the email is misdirected.
- Distributing business reports: Internal financial reports, strategy documents, or client proposals should be restricted to the people they're prepared for.
- Protecting personal files: Tax returns, identity documents, or personal records stored as PDFs benefit from password protection before being saved to shared drives or cloud storage.
- Academic and legal submissions: Some portals require password-protected documents for compliance. This tool handles that step without needing desktop software.
What You Get
- AES-256 encryption: The same standard used by professional PDF software. The protected file is readable in all standard PDF viewers.
- 100% private: Encryption runs locally in your browser. Your file and password are never transmitted to any server.
- No content changes: Adding a password does not alter the text, images, or formatting inside the PDF.
- No watermarks added: The protected file downloads clean — nothing is added by this tool.
- No installs needed: Works in any modern browser on Windows, Mac, Android, or iOS.
- Free with no account: Protect and download without signing up.
Common Problems
- PDF viewer says the password is wrong: Check that you're entering the password exactly as you set it — including capitalisation and special characters. Passwords are case-sensitive.
- Cannot protect an already-protected PDF: If the file already has a password, you need to remove it first using Unlock PDF, then add a new password with this tool.
- Very large files are slow: Files over 50 MB can take longer to process depending on your device's speed. Consider compressing the PDF first to reduce the file size before adding protection.
- Password forgotten after downloading: There is no way to recover the password since it never reaches our servers. Always note the password before closing the browser tab.
- Recipient cannot open the file: Make sure they are using a PDF reader that supports password-protected files (most do). Share the password through a separate channel — not in the same email as the file.
Pro Tips
- Use a password with at least 12 characters, mixing uppercase, lowercase, numbers, and a symbol — it significantly increases resistance to guessing.
- Never send the password in the same email as the protected file. Use a separate channel such as a text message or a different email thread.
- If you're protecting multiple documents for the same recipient, use a consistent shared password for convenience — just make sure it's strong.
- Protect the PDF after all editing is done. If you need to make changes later, you'll need to unlock it first, edit, then protect again.
- For a complete secure workflow: edit the PDF, optionally compress it, then protect it before sending.
Mistakes to Avoid
- Do not use simple or common passwords like "1234" or "password" — they offer almost no real protection against determined access.
- Do not share the password and the protected file in the same email — it defeats the purpose of the protection entirely.
- Avoid protecting a file before checking it is finalised. Making further edits requires unlocking it first, then re-protecting after changes.
- Do not forget the password. There is no recovery mechanism — the password is embedded in the file only, with no server-side backup.
About This Tool
This protect PDF tool uses pdf-lib-with-encrypt — a browser-compatible build of the pdf-lib library that adds AES-256 encryption support. Everything runs locally in your browser using WebAssembly and JavaScript. The password you set is applied directly to the PDF file structure in memory, and the protected file is then downloaded to your device. No network request is made. No server receives the file or the password at any point.
The tool is designed for standard password-to-open protection. It does not currently support permission-level restrictions (such as blocking printing or copying text), which require a different PDF security profile. For most everyday use cases — protecting personal documents, business reports, or shared files — standard password protection is the right approach and what this tool delivers reliably.
For a complete privacy-focused PDF workflow: use Edit PDF to annotate and add notes, Compress PDF to reduce the file size, then protect it here before sending. If you need to remove a password from a PDF you already own, use Unlock PDF.
About the Creator
Karan Kumar builds the tools at AFFLIGO. He built this Protect PDF tool to solve a simple but common problem: people share sensitive PDFs by email with no protection, often without realising how easily those files can be forwarded or accessed by unintended recipients. Adding a password is a basic, effective safeguard — and it should be something anyone can do in seconds, without paying for software or uploading files to unknown services.
Every tool at AFFLIGO is designed to be private, free, and simple. This one deliberately applies encryption on your device so the password never touches a server. If you notice an issue or have feedback on how the tool could be improved, please use the contact page. Suggestions are reviewed and genuinely considered for updates.
Frequently Asked Questions
No. Password protection is applied entirely in your browser. Your file never leaves your device, so the document and the password you set stay private.
The tool applies AES-256 encryption via the pdf-lib-with-encrypt library, which is the same standard used by most modern PDF software. The resulting password-protected PDF is compatible with Adobe Acrobat, PDF readers on Windows, Mac, iOS, and Android.
No. Protection only adds an encryption layer on top of the existing file. The text, images, and formatting inside the PDF remain completely unchanged.
There is no recovery option from our side since the password is set and applied entirely on your device. Keep a record of the password in a secure location before sharing the protected file.
Yes, the tool is completely free. No watermarks are added to the protected PDF. No account or signup is required to use it.