Skip to content
zspace tools

PDF Tools

Protect PDF

Put a password on a PDF so only people who know it can open it. The file is genuinely encrypted with AES-256 and checked before you download it — and it never leaves your device.

Runs in your browser

Features

What you get

  • Real encryption

    AES-256 by default (or AES-128 for very old readers) using qpdf — not a cosmetic lock.

  • Checked before download

    The protected file is reopened to confirm it needs the password and opens correctly with it.

  • Optional restrictions

    Limit printing, copying text, editing, and comments and forms, with your own permissions password.

  • Password guidance

    See how strong your password is, with simple tips; confirm it so typos don't lock you out.

  • Nothing stored

    Your password is used once in your browser and then cleared. It's never uploaded, saved or logged.

  • Private

    The PDF is encrypted on your device and never uploaded.

How to use

How to use the Protect PDF

Your PDF is passed to qpdf, compiled to WebAssembly and running in a background worker on your device. qpdf rewrites the file with the PDF standard's security handler: every stream and string is encrypted with AES, and the key is protected by your opening password. Optional restrictions are stored as permission flags, protected by a separate permissions password (a random one if you don't set your own). Before the download is offered, the new file is reopened with pdf.js to prove it refuses to open without the password and opens correctly with it. Passwords are held only in memory for the operation and cleared afterwards.

  1. 01

    Add your PDF

    Drop in the PDF you want to protect.

  2. 02

    Choose a password

    Type it twice. Optionally restrict printing, copying or editing.

  3. 03

    Encrypt and download

    Press Encrypt PDF; once it's checked, download the protected file.

Examples

Worked examples

  • A salary slip

    Protect a payslip with a password before emailing it; your colleague types the password to open it.

  • Print-only report

    Allow printing but block copying and editing, with a permissions password only you know.

  • Sharing with an old system

    Choose AES-128 if the recipient uses very old PDF software that doesn't support AES-256.

Technical specifications

Encryption
AES-256 (PDF 2.0, Acrobat X+) or AES-128 (Acrobat 7+)
Engine
qpdf (WebAssembly) — Apache-2.0
Restrictions
Printing (full / low / none), copying, editing, comments & forms
Verification
Reopened with and without the password before download
Limit
100 MB
Processing
In your browser — nothing is uploaded

Privacy

Your PDF and password stay in your browser. The password is used once and cleared; it's never uploaded, stored or sent to analytics.

Read the full privacy policy.

FAQ

Protect PDF questions

Protect PDF encrypts a PDF so that it can only be opened with the password you choose. ZSpace Tools uses qpdf — a long-established open-source PDF library — running in your browser to apply standard PDF encryption (AES-256, or AES-128 for very old readers), and can optionally restrict printing, copying and editing.

Your PDF is passed to qpdf, compiled to WebAssembly and running in a background worker on your device. qpdf rewrites the file with the PDF standard's security handler: every stream and string is encrypted with AES, and the key is protected by your opening password. Optional restrictions are stored as permission flags, protected by a separate permissions password (a random one if you don't set your own). Before the download is offered, the new file is reopened with pdf.js to prove it refuses to open without the password and opens correctly with it. Passwords are held only in memory for the operation and cleared afterwards.

Yes. The whole file is encrypted with AES using the PDF standard's security handler, so its contents can't be read without the password. We reopen the result to confirm it asks for the password before you can download it.

It can't be recovered — we never store it. Keep it somewhere safe, such as a password manager.

No. Mainstream PDF apps respect them, but they aren't DRM: some software ignores them, and anyone who can see the page can photograph or retype it. Use them as a clear signal, not as strong protection.

AES-256 is the strongest and works in Acrobat Reader X (2010) and every modern browser and PDF app. Choose AES-128 only if someone needs to open it in very old software.

No. Encryption happens entirely in your browser.

Unlock it first with Unlock PDF (you'll need its current password), then protect it again with the new one.