Back to Blog
Security
February 10, 2026
Updated November 20, 2026
EZEPDFTOOLS Team

How to Password Protect PDF Files Online

Add an AES-256 open password to a PDF in under a minute, choose a password that holds up, share it safely, and understand what PDF passwords do and do not protect.

A PDF attached to an email can be forwarded, left in a shared folder or saved on a laptop that gets lost. If the file holds a bank statement, a payslip, a contract or a copy of your passport, adding a password means that only people who know it can open the document. This guide explains what PDF passwords actually do, how to add one in under a minute with Protect PDF, how to choose a password that holds up, and what a password does not protect against.

What a PDF password does

PDF files support two kinds of password. The open password (also called the user password) is needed to view the document at all: without it, a PDF reader shows only a password prompt. The owner password is a second password that can control permissions such as printing and copying. When you add a password with Protect PDF, the same password is used for both, so the thing the tool gives you is an open password: whoever knows it can open the file. Do not rely on the print, copy or edit options on that page to stop people who have the password, because anyone who knows the password also knows the owner password.

Behind the password, the whole document is encrypted with AES-256, the strongest encryption the PDF standard offers. The text, images and attachments in the file are scrambled, not just hidden behind a prompt, so opening the file in a text editor or a different program does not reveal the content.

How to add a password to a PDF

  1. Open Protect PDF and upload your file. Files up to 100 MB are accepted.
  2. Type the password you want. The strength meter under the box shows whether it is weak, fair, good or strong.
  3. Click the button to protect the file. Our server encrypts it and sends back the protected copy.
  4. Download the protected PDF and open it once to check the password works before you send it.

Your original file is not changed: you get a new, encrypted copy. The upload travels over an encrypted HTTPS connection, the file is processed in memory and released as soon as the protected copy is returned, and the password is never written to our logs.

Worked example: sending a tax return to an accountant

You have a 14-page scanned tax return as a PDF and need to send it to your accountant. First, if the file is large, shrink it with Compress PDF. Then open Protect PDF, upload it and type a password such as "lantern-cobalt-river-ninety". Download the protected copy, open it once and enter the password to confirm it works. Attach the protected copy to your email, and send the password by text message or phone call, not in the same email. Keep the unprotected original in a safe place.

Choosing a password that holds up

AES-256 cannot realistically be broken, so the weak point is always the password itself. Password-cracking tools try millions of guesses, starting with common words, names, dates and keyboard patterns. A short or predictable password can be found quickly, however strong the encryption is.

  • Use length. Four or five random words (for example "lantern-cobalt-river-ninety") is stronger and easier to type than a short string of symbols.
  • Avoid personal details. Birthdays, phone numbers, pet names and postcodes are the first things an attacker tries.
  • Do not reuse a password you use for email, banking or anything else.
  • Store it in a password manager. If you forget a PDF password, there is no reset link: nobody, including us, can recover the file.

Sharing the password safely

Encrypting a file achieves little if the password travels in the same email. Send the password through a different channel: a text message, a phone call, or a messaging app the recipient already uses. For documents you send often to the same person, agree a password once in person.

If you need to send the same document to several people, give each group its own copy with its own password. That way, if one password leaks, you know which copy it came from, and you can stop using it without affecting everyone else.

What a password does not protect against

  • Someone who has the password. Once a person opens the file, they can save an unprotected copy, print it or take screenshots. A password controls who can open the document, not what trusted recipients do with it.
  • Metadata you forgot about. The author name, software and editing history inside a PDF can reveal more than you intend. Run Sanitize PDF before protecting a file you share widely.
  • Legal or regulatory compliance on its own. Encryption is one useful measure, but rules such as GDPR or HIPAA cover how you collect, store and share data as a whole. A password on one file does not make a process compliant.

If you want to set an owner password and restrictions without an open password, that is a different job: see PDF Permissions. Restrictions are requests that PDF readers are asked to follow, and some readers ignore them, so they are not a lock.

Removing the password later

To get an unprotected copy back, use Unlock PDF and enter the password. If you have lost it, the honest answer is that the file cannot be opened: keep the original unprotected version somewhere safe, or store the password in a password manager from the start.

Quick checklist

  • Use a long, unique password of four or more random words.
  • Test the protected copy before sending it.
  • Send the password through a different channel from the file.
  • Keep the original, unprotected file in a safe place.
  • Remove hidden metadata first if the document will travel widely.

Common mistakes

  • Putting the password in the same email as the file. Anyone who gets the email gets both.
  • Using the same password for every file. One leak then opens everything. Use a different password per recipient or per document.
  • Protecting the only copy. If you lose the password, nobody can open the file. Keep an unprotected original or store the password in a manager.
  • Skipping the test. Open the protected copy and type the password once before you send it.
  • Trusting the print, copy or edit options. On this tool those options do not make a lock: the same password is the owner password, so treat the file as protected against opening only.
  • Leaving metadata in. Author names and titles stay visible inside the file once opened. Check them with Metadata Viewer.

Short FAQ

Is it free, and do I need an account?

It is free and needs no signup. Files can be up to 100 MB.

Does protecting change the content?

No. The pages stay as they are. You get a new, encrypted copy and your original is untouched.

Can I protect several files at once?

One file at a time. Repeat for each file, choosing a different password if the recipients differ.

EZEPDFTOOLS Team

Editorial team

Written by the team that builds and maintains the EZEPDFTOOLS tools.

Start Using Protect PDF

Put this guide into practice immediately with our professional-grade Protect PDF tool.

Go to Protect PDF