🔒 Your files never leave your device. All processing happens in the browser.

Add password to PDF

Protect a PDF with a password so only authorised users can open it.

Drop a PDF here or click to browse

Select a PDF to add password protection

Set a password

Choose a password to protect this PDF.

Enter password

Enter the password to unlock this PDF.

⚠️ The unlocked PDF will be rebuilt as images to remove encryption. Text will no longer be selectable in the output.

Processing…

Working…

0%

Done!

Original size
Output size

More PDF Tools

Why Protect with PDF Compressor Web?

🔒

100% Private

Your files and passwords never leave your device. Encryption happens entirely in the browser.

🔐

Lock & Unlock

Add password protection to any PDF, or remove a password from an encrypted file you already have access to.

Instant Processing

Encrypt or decrypt PDFs in seconds with a real-time progress bar. No waiting for server processing.

🛠️

Free & Open Source

No sign-ups, no limits, no ads. Protect as many files as you need, completely free.

How It Works

1

Choose mode

Select whether you want to add or remove a password.

2

Drop your PDF

Drag and drop or click to select your PDF file.

3

Download

Your protected or unlocked PDF downloads automatically.

Find this tool useful? ☕ Buy me a coffee on Ko-fi