How to Password Protect a PDF for Free (AES-256, No Upload)

To password protect a PDF for free, open Protect PDF, choose your file, type a password under Password to open and again under Type it again, choose whether readers may print, copy or edit, and tap Protect PDF. The downloaded file asks for the password before it shows anything. It is encrypted with AES-256 inside your browser, so the file and the password are never uploaded.

A password is worth adding whenever a PDF carries personal or money details and is going by email or WhatsApp: salary slips, Form 16, bank statements, ID copies, medical reports, quotations and contracts. Here is how to do it properly, and what a PDF password can and cannot do.

Step by step

  1. Open bytenix.in/p/protect-pdf on your phone or computer.
  2. Tap Choose a PDF and pick the file.
  3. Type the password in Password to open, then the same password in Type it again. The tool refuses to continue if the two do not match, because a typo here would lock you out of your own file. Tick Show passwords if you want to see what you typed.
  4. Optionally type an Owner password (see below), and set Allow printing, Allow copying text and Allow editing.
  5. Tap Protect PDF and download the file, named like salary-slip-protected.pdf.
  6. Open the downloaded file once to check that it asks for the password and opens with it.

The two passwords, explained

SettingWhat it doesWho needs it
Password to openEncrypts the whole file. Without it, nothing in the PDF can be seen.Everyone you send the file to
Owner password (optional)Controls the permissions. Whoever opens the file with it can change or remove them.Only you
Allow printing / copying / editingTells PDF readers what people who used the normal password may doSet once by you

If you leave the owner password empty, the tool sets a long random one. That keeps your permission choices in force: a reader who knows only the password to open cannot switch printing or copying back on in Acrobat. If you want to be able to change the permissions later yourself, type an owner password that is different from the password to open, and keep it to yourself.

What permissions can and cannot do

The password to open is real encryption: the content is scrambled until the right password is given. The permission switches are different. They are flags inside the file that well-behaved programs such as Adobe Acrobat, browser PDF viewers and most phone apps obey, but a program can simply ignore them. The developers of qpdf, a widely used PDF library, say this plainly in their documentation on PDF encryption: restrictions are enforced only by the software that reads the file, and the pikepdf security notes call them advisory.

So use "no printing" and "no copying" to discourage casual misuse, not to protect secrets. Anyone you give the password to can read the document, and could photograph the screen. If part of a document must stay private from the person you send it to, remove that part before you share it.

How strong is AES-256?

The tool uses AES-256, the strongest encryption in the current PDF standard. Older PDF encryption (40-bit and 128-bit RC4), still found in older files, is considered insecure: qpdf's documentation calls RC4 obsolete. With AES-256, the realistic way into a file is guessing the password, which is why the password itself matters most.

Choosing and sharing the password

  • Make it long: 12 or more characters, for example three unrelated words with a number, like Mango-Train-Lamp-47 (do not use this one).
  • Avoid what people can guess: your date of birth, mobile number, name or PAN. Those are exactly what someone who knows you would try first.
  • Send the password separately: file by email, password by SMS or a call. Sending both in the same email defeats the purpose.
  • Store it: in a password manager or a written note kept safely. There is no "forgot password" for a PDF.

Protecting a PDF on your phone

The tool works the same way in Chrome on Android and Safari on iPhone. Choose the PDF from Files or Downloads (on Android, files received on WhatsApp are usually under WhatsApp Documents). After you tap Download, Android saves the locked copy to Downloads and iPhone saves it to the Files app. Share that copy, not the original: when the other person taps the file on WhatsApp or in their email, their phone's PDF viewer asks for the password before showing anything. Then send the password in a separate message or tell it on a call.

Do this before you protect

Add the password last. Other tools cannot change a protected file until it is unlocked, so first:

  • join pages or files with Merge PDF, or drop pages with Split PDF;
  • make it small enough for email or a portal with Compress PDF;
  • then protect it, and keep your unprotected original in a safe place.

To remove a password later from a file you can open, use Unlock PDF; our guide How to remove password from PDF covers it, including e-Aadhaar and AIS passwords.

Is it private?

Yes. The encryption runs in your browser on your own phone or computer. Neither the PDF nor the password is sent to Bytenix or anyone else, which also means nobody can recover the password for you, so keep it safe.

Frequently asked questions

How do I put a password on a PDF for free?

Open Bytenix Protect PDF, choose your file, type a password in 'Password to open' and again in 'Type it again', choose whether printing, copying and editing are allowed, and tap Protect PDF. Download the locked file.

How strong is the protection?

The file is encrypted with AES-256, the strongest method in the PDF standard. In practice the weak point is the password, so use a long one that nobody can guess from your name, phone number or birthday.

What is the owner password?

It is a second, optional password that controls the permissions (printing, copying, editing). Readers who open the file with the normal password get only the permissions you allowed. If you leave it empty, the tool sets a long random owner password so the permissions still apply.

Can I stop people from printing or copying my PDF?

You can switch these off, and Adobe Acrobat, browsers and most PDF apps will follow the setting. But it is not a lock: some programs ignore permissions. Only the password to open keeps the content private.

What if I forget the password?

It cannot be recovered, by us or anyone else, because the file is encrypted on your device. Keep your original unprotected copy somewhere safe and store the password in a password manager.

Will the locked PDF open on a phone?

Yes. Current PDF readers on Android, iPhone and computers support AES-256: the reader asks for the password and then shows the file normally.

Can I compress or merge a protected PDF?

Do those first. Compress, merge, split or sign the file, and add the password as the last step. A protected file has to be unlocked before other tools can change it.

Try Protect PDF

Add a password to your PDF.

Open Protect PDF