Skip to content
TaskNinja

HomeToolsProtect PDF

Protect PDF

Add a password to a PDF with AES-256. Optionally stop printing or copying.

PDFGuardFreeNo signupOn your device
Opening the tool…

What this tool does

PDFGuard adds an open password to a PDF with 256-bit AES encryption, right in this browser tab. You can also stop printing, copying or editing, then download the protected copy.

How to use it

  1. Choose a PDF, or drop it on the box. It is read on this device.

  2. Type the password twice. Tick Show passwords if you want to check what you typed.

  3. Optionally open Restrict printing, copying or editing and tick what to block. Add a permissions password if you may want to lift the restrictions later.

  4. Press Add password. The page reopens the new file with your password to check it, then offers the file ending in -protected.pdf.

Common uses

A PDF often carries more than it should when it leaves your hands: a salary slip, a Form 16, a bank statement, a rent agreement, an offer letter, a medical report or a scanned ID. Email gets forwarded, chat apps keep copies, and shared drives are opened by people you never meant to include. A password means the file shows nothing until the person you send it to types it, so share the password by a different route, such as a phone call or SMS, not in the same email.

PDFGuard uses AES-256, the security handler defined in PDF 2.0 and used by Adobe Acrobat for its highest setting. The whole content of the file, text, images and attachments, is encrypted, not just hidden. Every current reader opens it: Adobe Acrobat and Reader, Chrome, Edge, Firefox, Preview on Mac and iPhone, and Android PDF apps. Older 40-bit and 128-bit RC4 settings are weak and are not offered here.

Restrictions are a second, separate layer. The open password keeps strangers out. The permissions settings tell readers whether the person who opened it may print, copy text and images, or edit, comment and fill forms. Adobe calls this the permissions password. Leave it blank and a long random one is used, so the restrictions cannot be lifted later; type one if you may need to change them. Most readers respect these settings, but they are a request to the reader app, not encryption of the content, so do not rely on them alone for secrets.

The engine is QPDF, a long-established open source PDF library, compiled to WebAssembly. It is about 0.5 MB compressed, loads in the background while you choose the file, and runs in a worker so the page never freezes. A typical file of a few pages is ready in under a second, and a 20 MB scan in a few seconds. After encrypting, the page opens the new file with your password and confirms AES-256 before it offers the download.

Private, and the limits

The PDF and the password stay on this device. The file is encrypted by code running in this tab and handed straight to your browser as a download. Nothing is uploaded, nothing is saved, there is no account and no watermark. Sites that protect PDFs on a server receive your unprotected file first, which defeats the point for private documents.

Because nothing is stored, a forgotten password cannot be recovered by this page or anyone else. Keep a note of it. A PDF that already has a password must be unlocked with the known password first, using Unlock PDF. Adding a password to a digitally signed PDF changes the file, so the signature will no longer verify; keep the signed original.

Official sources

Last checked 2026-11-04.

FAQ

How do I password protect a PDF for free?
Choose the PDF on this page, type the password twice, press Add password and download the file ending in -protected.pdf. There is no signup and no watermark.
Is my PDF uploaded to add the password?
No. The file is encrypted in your browser and never reaches a server. It works offline once the page has loaded.
Which encryption does it use?
AES-256, the strongest standard PDF encryption, defined in PDF 2.0 and used by Adobe Acrobat. The page checks the new file before offering it.
Can I stop people printing or copying my PDF?
Yes. Open the restrictions section and tick Stop printing, Stop copying or Stop editing. Most PDF apps follow these settings, but they are not as strong as the open password.
Will the PDF open on a phone?
Yes. iPhone and iPad, Android PDF apps, Chrome and Edge all ask for the password and then open it normally.
I forgot the password. Can you recover it?
No. Nothing is stored and the password is not sent anywhere, so it cannot be recovered. Keep the original unprotected file somewhere safe.
How do I remove the password later?
Open the protected file with Unlock PDF and type the password. You get a copy without it.

Related tools

Protect PDFPassword protect PDFUnlock PDFCompress PDFMerge PDFAll PDF tools