Skip to content
FILEFORGE TOOL · PDF

Protect PDF

Add password-based encryption to a PDF.

Privacy by design. Files stay in your browser and are processed locally on your device—nothing is uploaded to a server.

Choose a file to get started

Select a file from your device or drag and drop it here.

Password & encryption settings

Your PDF is encrypted locally using Web Crypto and @pdfsmaller/pdf-encrypt. Neither your file nor your password is ever transmitted over the network.

A cryptographically random owner password will be generated automatically to lock document permissions.

Reader permissions

About PDF password protection

This tool applies standard PDF encryption directly inside your browser using @pdfsmaller/pdf-encrypt and the Web Crypto API. Before offering a download, it verifies that the output file contains a valid PDF /Encrypt security handler and cannot be opened without your password.

Frequently asked questions

What is the difference between AES-256 and RC4 128-bit?

AES-256 (PDF 2.0 / Revision 6) is the modern cryptographic standard supported by Adobe Acrobat X+, Chrome, Edge, Firefox, and macOS Preview. Choose RC4 128-bit only if you need compatibility with legacy PDF viewers released prior to 2011.

Can I recover a forgotten PDF password?

No. Because encryption runs 100% locally in your browser without storing passwords or files on any server, there is no password reset or backdoor. Store your password in a secure password manager.

What are the file size and page limits?

Unencrypted PDFs up to 50 MB and 300 pages are supported in-browser. Already encrypted PDFs must be unlocked before applying a new password.

Implementation status: Scaffold only — no output is generated by this placeholder.