How to Password Protect a PDF Online

Published September 1, 2026 · 4 min read

Most "free PDF password" sites online quietly upload your document to a server to do the encryption — which is exactly the kind of thing you don't want when the file is a contract, a tax return, or an ID scan. This tool takes a different approach: it runs qpdf, the same open-source engine many desktop PDF tools are built on, compiled to WebAssembly and executed locally in your browser. The encryption itself never leaves your machine.

Try Protect PDF

Steps

  1. 1

    Open the Protect PDF tool

    Go to the PDF password protector.

  2. 2

    Upload your PDF

    Choose the PDF file you want to lock. It's read into your browser's memory — nothing is sent anywhere.

  3. 3

    Set a user password

    This is the password someone will need to open and read the file. Optionally set a separate owner password to also restrict printing or editing.

  4. 4

    Encrypt and download

    The tool applies real 256-bit AES encryption and gives you back a new, password-protected PDF to download.

Frequently asked questions

Because the whole process runs client-side, this works the same whether you're protecting a one-page invoice or a confidential 200-page report — the file's contents are never exposed to a network in either case.

← Back to blog