Skip to content

Password protect a PDF

Protect a PDF with a password. AES-256 encryption, done entirely on your device. Client-side.

  • No uploads
  • No account
  • No ads
  • No watermarks
  • Free forever

Network check starts when you add a file or change something in the tool

Blocks every fetch, XHR and beacon request this page makes and switches Google Analytics off, on tool pages, for this session.

Requests this page makes are counted from then on; page-load requests are left out.

How this works / check it yourself

From the moment you add a file or change something in the tool, this badge lists the requests this page makes. It reads the browser's own list of requests (Resource Timing), which shows a request once it finishes, and watches every fetch, XHR and beacon call. Downloads, such as this site's PDF and OCR engines or an AI model from Hugging Face, are listed apart from requests that carry data out.

This page cannot see requests made inside background workers (such as the PDF engine pdf.js and Tesseract OCR), WebSocket and EventSource connections, form submissions, link pings or the site's service worker, so they are not counted here, and offline mode cannot block them. A request is listed once it finishes. Your browser's Network tab shows everything.

Offline mode blocks the fetch, XHR and beacon calls this page makes. A part of the site that set up its connection before the page finished loading, such as sign-in, is not blocked; if it sends anything, the badge counts it as sent.

  1. Open your browser's developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network tab.
  2. Add your file, run the tool and look for any request that uploads it. Requests made by workers are listed there too.
  3. For the strongest test, turn Wi-Fi off once the page has loaded and run the tool again: tools that need no download still work.
All PDF Tools

About Protect PDF

Protect PDF adds a password to a PDF using AES-256 encryption, so a PDF reader asks for that password before it opens the file. The encryption runs in your browser with qpdf compiled to WebAssembly, so your file and password are never uploaded. Keep the password safe: it cannot be recovered.

How to use Protect PDF

  1. Drop a PDF on the page or click Browse.
  2. Type a password, confirm it, and add an owner password if you want one.
  3. Click Protect PDF and download the encrypted file.

Limits: Passwords of 1 to 127 characters. Sets no print or copy restrictions. Encrypted PDFs cannot be protected again. First use downloads the 1.3 MB engine.

Frequently asked questions

What encryption does Protect PDF use?

AES-256, the 256-bit encryption in the PDF standard, applied by qpdf running in your browser. A PDF reader that supports AES-256 asks for the password before it shows the file.

Is my PDF or my password sent anywhere?

No. The file and the password stay in your browser, where qpdf runs as WebAssembly. The only download is the qpdf engine itself (about 1.3 MB) from Utilkits on first use, which your browser then keeps.

What if I forget the password?

It cannot be recovered. Utilkits never sees or stores your password, so it cannot reset it. Keep the password, or an unprotected copy of the file, somewhere safe.

What is the owner password for?

It is an optional second password for the owner of the file. If you leave it blank, the same password is used for both. This tool sets no print or copy restrictions, so either password opens the file with full rights.

Can I protect a PDF that already has a password?

No. The page warns you when a file is already encrypted, and it cannot be encrypted again. To change the password, remove it first with Unlock PDF, then protect the unlocked copy.