← Back to all tools

πŸ”’ Lock PDF

Apply real cryptographic encryption to your PDF β€” not a watermark. The output requires a password to open in any PDF reader.

πŸ”’

Drop PDF here or click to browse

Works with all PDF versions, including modern PDFs with cross-reference streams

Applies AES-128/256 standard PDF encryption using a fully spec-compliant PDF engine that supports every PDF version β€” including modern PDFs with cross-reference streams (the kind produced by Chrome, Word, and most apps today).
The output PDF will prompt for a password in every PDF reader.
All processing stays 100% in your browser β€” your file is never uploaded.

How Lock PDF Works

This tool applies genuine PDF Standard Security Handler encryption (AES) using a maintained fork of pdf-lib built specifically for this β€” not a cosmetic watermark that a determined viewer could ignore. The output file will prompt for a password in every standard PDF reader, including Adobe Reader, Preview, and browser-based viewers. Alongside your chosen password, the tool also sets document permissions β€” restricting printing to low resolution and disabling copying and editing by default β€” secured with a separately generated owner password.

Real encryption

AES-based PDF encryption, not a watermark β€” the file genuinely cannot be opened without the password.

Permission controls

Printing, copying, and editing are restricted by default alongside the password requirement.

Nothing leaves your browser

Your file and the password you set are processed entirely locally β€” never transmitted anywhere.

Frequently Asked Questions

What happens if I forget the password?

There's no recovery option β€” the file becomes permanently unreadable, including by us. Store the password somewhere reliable before closing the tab.

Is this a real password, or just a watermark?

It's real, standards-compliant PDF encryption. Any PDF reader will require the correct password before displaying the document's content.

Can I lock a PDF that's already encrypted?

Not directly β€” remove the existing password first using a PDF reader, then apply a new password with this tool.

What's the minimum password length?

Four characters is the technical minimum, but for genuinely sensitive documents, use a longer, unique password rather than the bare minimum.