How to Password Protect a PDF Online

Updated: November 2026

Password-protecting a PDF means locking the file itself, so that anyone who opens it must type a password first. The lock travels with the file: it works in any PDF reader, on any device, and it stays locked when the file is emailed, uploaded, or copied to a USB stick. It is the right protection for documents that carry personal or financial details — salary slips, bank statements, contracts, medical reports, and identity documents.

MergeMint's Encrypt PDF tool locks your file with AES-256 encryption, the same standard banks use for sensitive data, and it does the work entirely in your browser. Your PDF and your password never leave your device. You set one password to open the file, and optionally a second, owner password as the master key.

How to do it, step by step

  1. Add your PDF. Open the Encrypt PDF tool and drag your file into the upload area, or click to browse your device. The tool reads the file in your browser — nothing is uploaded.
  2. Type a password and confirm it. This is the password anyone will need to open the file. Use something you can remember or store safely: a short sentence you will not forget works better than a jumble of characters you will lose. The two entries must match exactly.
  3. Optionally, set an owner password. This is the master password with full permissions — a second key you keep for yourself. If you share the opening password with someone, the owner password stays yours alone.
  4. Click Encrypt PDF. The file is locked with AES-256 encryption right in your browser. The content, including the text and images inside, is encrypted — not just hidden behind a prompt.
  5. Download the locked PDF and test it. Open the downloaded file: your reader should ask for the password before showing a single page. Try opening it without the password to confirm it refuses, then store the password somewhere safe, separate from the file.

When to use it

Encrypt a PDF before emailing it whenever it contains details you would not want a stranger to read: a salary slip sent to a landlord, a contract sent for signature, a bank statement sent to an accountant, or a scanned identity document sent for verification. Email is not private — messages sit on servers and can be forwarded — so the lock on the file is what actually protects the contents. Encryption is also the right move before uploading a sensitive document to shared storage, or before handing a USB stick to someone.

Share the password through a different channel than the file. If the PDF goes by email, send the password by phone call or message. Sending both in the same email defeats the purpose: anyone who can read the email gets both. And never encrypt the only copy of a file you might need to edit later — keep an unencrypted original somewhere safe, because this tool cannot remove a password afterwards.

Tips for a good result

Use a passphrase of three or four ordinary words — strong and memorable. Write it down somewhere safe — a password manager, or a notebook kept away from the computer — because there is no recovery. Test the locked file before you send it: open it, type the password, and confirm every page reads correctly. Do not reuse a password from your email or bank accounts — the PDF password will be shared with the recipient, so it should be unique to the document.

What this tool cannot do

Encryption is one-way in this tool: there is no way to remove the password afterwards, and no reset if you forget it. If you forget the password, the file is locked for good — even for you. The tool also cannot lock only some pages; the whole document is encrypted as one file. It cannot stop a person who knows the password from forwarding the file or taking screenshots. Passwords in any language and script work, but a password made only of spaces or invisible characters will be rejected, so use visible characters.

Common mistakes to avoid

Forgetting the password is the mistake that costs the most — the file cannot be recovered, so store the password before you close the tab. Encrypting the only copy leaves you unable to edit the document later; keep the original. Sending the password with the file in the same email removes the protection entirely; use a separate channel. Using a weak password like "1234" or the recipient's name makes the lock trivial to guess — if the document matters, the password should be something nobody would guess. Not warning the recipient: they will see a password prompt, so tell them in advance that the file is locked and where the password is coming from.

Frequently asked questions

What is the difference between the two passwords?

The main password is needed to open the file. The optional owner password is the master password with full permissions — a second key you keep for yourself.

What encryption does it use?

AES-256, the standard used for sensitive documents and by banks. The encryption follows the PDF 2.0 standard, so the locked file opens in any modern PDF reader.

Can I remove the password later?

Not with this tool — encryption here is one-way. Keep an unencrypted copy if you may need to change the password or edit the document later.

What if I forget the password?

The file cannot be recovered. There is no reset and no back door, so store the password somewhere safe before you close the tab.

Is my file uploaded?

No. Encryption happens entirely in your browser, so the file and the password never leave your device.

Try it now: use the free Encrypt PDF tool on MergeMint — no sign-up, no upload, no watermark.

Related guides