100% Free In-browser AES encryption

Protect PDF with Password Free

Encrypt your PDF with a password to prevent unauthorized access. Set user password (open) and owner password (edit/print). Browser-only.

Drop a PDF here or click to browse

Upload PDF • Set passwords • Download encrypted PDF

How to password protect a PDF

1

Upload your PDF

Drop or select the PDF you want to encrypt. Any page count is supported.

2

Set passwords

Enter a user password (required to open) and optionally an owner password (for editing/printing control).

3

Download encrypted PDF

Click "Encrypt PDF" and download the protected file. Anyone opening it will need the password.

Encrypt PDFs without uploading them

The irony of most PDF encryption tools is that you have to upload your confidential document to a third-party server to get it encrypted. JustDownSize encrypts the PDF in your browser using PDF-lib's AES implementation. Your document and your passwords never touch any server.

100% Private
Files never uploaded
PDF encryption
Standard-compliant
Password typeControls
User passwordOpening the PDF — readers need this to view the document
Owner passwordEditing, printing, copying text — restricts modifications

How to Password-Protect a PDF Online — Free Encryption

Protecting a PDF with a password encrypts the file so that it cannot be opened without the correct credentials. This is the standard way to secure sensitive documents before sharing them digitally — financial statements, legal contracts, medical records, confidential reports, or personal identification documents. The recipient needs the password to open the file; without it, the contents are inaccessible.

AES-256 encryption — what it means

This tool uses PDF-lib to apply AES-256 encryption, which is the same standard used by banks, governments, and enterprise security systems. AES-256 encrypts every byte of the PDF content using a 256-bit key derived from your password. A brute-force attempt on a strong password with this encryption level would take longer than the age of the universe — making AES-256 protected PDFs effectively unbreakable in practice.

Choosing a strong password

The strength of PDF encryption depends entirely on your password. A short or common password can be cracked by dictionary attacks even with strong encryption. Use a password of at least 12 characters combining uppercase, lowercase, numbers, and symbols. Avoid real words, names, or dates. Store the password separately from the file — if you lose it, the content is permanently inaccessible because encryption is designed to be irreversible without the key.

Browser-based encryption — your file never leaves your device

All encryption runs in your browser using PDF-lib. The PDF is read from your local storage, encrypted in memory, and written back as a Blob download. Nothing is transmitted to any server. This is particularly important for highly sensitive documents — the encryption happens offline, with no third-party involved in the process.

When to use password protection vs. other security measures

Password protection prevents unauthorised opening of the file. For preventing printing or copying of text, PDF permissions flags (a separate feature) would be needed. For documents that need to be shared with a group, consider using a file-sharing platform with access control rather than a shared password. For documents you want to make permanently unreadable, deletion is more reliable than encryption.

Related PDF tools

Already have a protected PDF you need to open? Use the PDF unlock tool to remove the password when you know it. To add a visible confidentiality notice, use the PDF watermark tool. To reduce size before emailing, use PDF compression.

Frequently asked questions

Yes, completely free. No account, no page limits, no size restrictions.

No. Everything runs in your browser. Your PDF and both passwords are processed locally using PDF-lib — no data leaves your device at any point.

Only the user password is required (controls who can open the file). The owner password is optional — use it if you want to restrict editing, printing, or copying from the PDF independently of who can open it.

PDF-lib uses the PDF standard encryption scheme, which is AES-128 or RC4 depending on PDF version compatibility. The result is recognized by all major PDF viewers including Adobe Acrobat, Preview, and browser PDF viewers.

No. JustDownSize has no record of your password because it never reaches our servers. If you forget the password to a PDF you own, you'll need a specialist PDF recovery tool.

Yes. Use our Unlock PDF tool — enter the password you set, and it will remove the encryption and download an unlocked copy.