↑

Encrypt PDF: Lock a PDF File With a Password

Overview

What this tool does

PDF Protector encrypts a PDF file with a password using AES-256, entirely in your browser — the file is never uploaded. The locked file is an encrypted binary, not a standard password-protected PDF, so it reopens only in this tool's Decrypt mode or with a compatible decryptor, not in Adobe Reader, Preview, or Chrome. Use Encrypt to lock a file and Decrypt to restore the original PDF with the same password. Free, no signup.

Selected File:

File: No file selected

Size: -

Status: Waiting for upload

🔒

PDF Successfully Encrypted!

Selected File:

File: No file selected

Size: -

Status: Waiting for upload

🔓

PDF Successfully Decrypted!

Let us know

Please share your experience with this tool.

Thanks for rating!
Total ratings
5.0out of 5
Based on 1 rating
5★1
4★0
3★0
2★0
1★0

Encrypt a PDF File With a Password: What This Tool Really Does

This tool encrypts a PDF file with a password, using AES-256 encryption that runs entirely in your browser — no upload happens at any point, so the original PDF never leaves your device. It is free, with no signup and no watermark.

Read this before you lock an important file: the locked file is an encrypted binary, not a standard password-protected PDF. It will not open in Adobe Reader, Preview, Chrome, or any normal PDF reader. It reopens only in this tool's Decrypt mode or with a compatible decryptor. If you need a file that opens in any PDF reader after entering a password, use a tool that follows the PDF password specification instead — this tool does not produce that kind of file.

How the Encryption Works

When you click Encrypt PDF, the tool creates a random salt and initialization vector, derives a 256-bit key from your password with PBKDF2 (100,000 iterations, SHA-256), and encrypts the entire file with AES-GCM. The download joins the salt, the initialization vector, and the ciphertext into a single file. All of this runs in your browser tab using the Web Crypto API: the file is never sent to a server or stored anywhere, and no copy remains after you close the tab.

How to Encrypt a PDF File in 3 Steps

  1. On the Encrypt PDF tab, choose a PDF file or drop it into the upload area (50 MB maximum, as listed there).
  2. Type the password you want to lock the file with. There is one password box and no confirmation box, so type carefully — a typo locks the file with the wrong password.
  3. Click Encrypt PDF, then download the locked file. It saves with "encrypted_" added to the original file name, and the original PDF is untouched.

Keep the original PDF and the password somewhere safe: a lost password means the locked file cannot be recovered.

How to Decrypt a File Locked With This Tool

Open the Decrypt PDF tab, choose the encrypted file, type the same password, and click Decrypt PDF to download the rebuilt original, named with "decrypted_" added. Decrypt mode only reverses files encrypted by this tool: feed it a standard password-protected PDF, or the wrong password, and it reports "Incorrect password or file format." It cannot remove the password from a PDF locked in Adobe Acrobat or any other standard tool.

Passwords: Strength, Loss, and Sending the File

The encryption is only as strong as the password. A short or common password can be guessed; a long password with mixed letters, numbers, and symbols resists guessing far better. The tool sets no strength or length rule, so the choice is yours — and there is no recovery option or reset link, so store the password somewhere safe, such as a password manager. If you send a locked file, send the password through a different channel (a direct message, a phone call, in person), never in the same email as the file, and tell the recipient the file opens only in this tool's Decrypt mode. Test the round trip first: lock a copy, decrypt it, and confirm the original comes back.

Privacy: Your File Never Leaves Your Device

Encryption and decryption run locally in your browser, so the file's bytes stay on your device from selection to download — suited to documents you would not send to a server. For other PDF jobs, browse the PDF tools suite, and if a PDF is too large for the upload area, shrink it first with the PDF compressor.

FAQs

Will the encrypted file open in Adobe Reader, Chrome, or Preview?

No. The locked file is an encrypted binary containing salt, IV, and ciphertext — not a standard password-protected PDF. It reopens only in this tool's Decrypt mode or with a compatible decryptor that expects the same layout. If you need a file that opens in any PDF reader, use a tool that follows the PDF password specification.

Can this tool remove the password from a PDF locked in Adobe Acrobat?

No. Decrypt mode only reverses files encrypted by this tool. A standard password-protected PDF will fail with "Incorrect password or file format." Use the software that locked the file, or a standard PDF unlocker, for those files.

What happens if I forget the password?

The locked file cannot be recovered. AES-GCM encryption is designed so the original content cannot be read without the correct password, and there is no reset option. Keep a secure copy of the password and keep the original PDF.

Is my PDF uploaded to a server?

No. Encryption and decryption run in your browser using the Web Crypto API. Your file is never uploaded, stored, or shared, and nothing remains after you close the tab.

How strong is the encryption?

The tool uses AES-256-GCM with a key derived from your password using PBKDF2 with 100,000 iterations and SHA-256, plus a fresh random salt and IV for every file. Real-world strength depends on the password: a long, uncommon password resists guessing far better than a short one.


Author

Awais Arshad

Web Tools Developer & Content Creator at FastToolKit.
Security Tips
  • Use strong passwords with mixed characters
  • Never share passwords via email
  • Keep backup of unprotected files
  • Use different passwords for each PDF
  • Process files on secure networks only