How to Password-Protect a PDF (Free, Without Uploading It)

Adding a password to a PDF takes a minute, but three details decide whether it actually protects you: which kind of password you set, how strong the encryption is, and whether your document ever leaves your computer.

Why bother password-protecting a PDF?

PDFs are easy to copy, forward and forget about. A file attached to an email passes through several mail servers, lands in the recipient's inbox, is synced to their phone, and is often swept into a cloud backup. Once it is out, you no longer control who reads it. Documents worth locking include:

A password turns "anyone who gets a copy can read it" into "anyone who gets a copy must also know the password", and switching off printing and copying makes a forwarded copy far less useful.

What AES-256 means, and why old RC4 encryption is not good enough

Encrypting a PDF transforms its contents with a key derived from your password. The format allows several algorithms, and they are not equivalent:

One caveat matters here: encryption is only as strong as your password. AES-256 with the password "1234" is a ten-thousand-combination problem, and every one of them can be tried in a blink. The algorithm protects the file if it is stolen; the password decides how long that protection lasts.

Encrypt a PDF with AES-256 now. The Protect PDF tool runs entirely in your browser using the Web Crypto API — your file and your password never leave your device.

Open Protect PDF

Two different locks: an open password vs permission restrictions

These are separate features with separate jobs, and mixing them up is the most common reason people are disappointed by "protected" PDFs.

Open password (encryption)

The document is encrypted, and anyone opening it sees a password prompt. Without the password the pages cannot be rendered at all. Use this when confidentiality is the point: identity scans, payslips, medical records, unreleased contracts. If the file is intercepted, it is unreadable.

Permission restrictions (no open password)

The file opens normally — no password prompt — but the PDF reader is instructed not to allow printing, copying text and images, editing, or commenting. This is a "please do not" lock rather than a "you cannot" lock: it stops accidents and casual reuse, and it is the right choice for a price list, a policy document or a spec you are happy for people to read but not to retype or print. Because the content itself is not encrypted, such restrictions can be removed by anyone with a PDF tool — see our guide to removing PDF restrictions.

You can apply both at once: an open password plus restrictions. That is the strongest combination, and it is the one to use when a document is both confidential and not meant to be printed or edited.

Step by step: protecting a PDF in your browser

  1. Open the Protect PDF tool.
  2. Drag your PDF onto the drop area, or click Select file. Files up to 100 MB are accepted.
  3. In the Password to open the PDF field, type the password and confirm it. Leave the field empty if you only want permission restrictions.
  4. Under What others are allowed to do, uncheck anything you want to forbid: printing, copying text and images, editing, and comments or form filling.
  5. Optionally set an owner password — separate from the open password, and what you will need later to change the restrictions (useful when you hand someone a read-only copy but want to re-enable printing yourself).
  6. Click Protect PDF. The encryption runs in your browser tab.
  7. Download the protected file. Text and layout are untouched; only the security settings changed.
At no point is your file uploaded. There is no temporary copy on a server, no "deleted after one hour" window, and no queue in somebody else's storage.

Weak passwords vs strong passwords

Avoid:

Use:

Warning: a lost password cannot be recovered

There is no recovery, no reset and no back door. PDF encryption is deliberately one-way: if you forget the open password, the contents are mathematically out of reach. No tool, no browser, no IT department and no support inbox — including uslanhai56@zohomail.com — can reopen that file. Because the work happens in your browser we never see the password, so we could not recover it even if we wanted to. Save it in a password manager before you click Protect, and keep an unprotected copy of important originals somewhere you control.

Doing it on your phone

The tool is an ordinary web page, so it works in mobile Safari and Chrome with no app to install.

Once the file is protected you can shrink it with Compress PDF, or combine several protected documents using Merge PDF — all six tools run locally on your device.

See all free PDF tools

Keep reading