Password Protect a PDF

Add a password to one or many PDF files with AES-256 encryption. You can also limit printing, copying and editing. Everything runs in your browser, so the files and the password never leave your device.

PDF files

No files yet

Add one or more PDFs. Each one gets the same password and settings.

Protection

Choose a password. Longer is better than complicated.

Encryption

Strongest option. Opens in current Acrobat, Chrome, Edge, Firefox, Preview and phone readers.

Restrictions (optional)

Limit what people can do after the file is open. These rules are followed by most PDF apps, but they are not a lock. Use the open password for real protection.

Needed only to change restrictions later. Left empty, it is set equal to the open password.

Add a PDF to start

Files are encrypted in your browser and never uploaded.

Text, images and layout are kept as they are. Digital signatures stop being valid once a file is changed.

How to password protect a PDF

To password protect a PDF, add the file here, type a password twice and press Protect PDF. The new file asks for the password in every PDF app. It takes four steps:

  1. Choose your PDF files or drop them on the box. One file or twenty both work.
  2. Type the password and confirm it. The bar under the field shows how hard it would be to guess. The Generate button makes a random 16-character password if you do not want to invent one.
  3. Keep AES-256 selected unless the file must open in very old software.
  4. Press Protect PDF and download the result. With several files you get a ZIP, or you can download them one by one.

Your original is never changed. The protected copy is named after it with -protected added, for example contract-protected.pdf.

Are my files uploaded?

No. Most online tools send your PDF to their server, encrypt it there and send it back, so the file and the password both pass through someone else's computer. Here the encryption runs on your device. The page loads qpdf, an open source PDF tool (Apache 2.0 licence) compiled to WebAssembly, and your file is read from disk into the browser's memory, encrypted, and offered as a download. You can switch off your internet connection after the page has loaded and it still works.

The check that matters: open the protected file in another app. It should ask for the password and show the same pages, text and images as before.

Open password, owner password and restrictions

A PDF can carry two different passwords, and people mix them up.

SettingWhat it doesWhen to use it
Open passwordThe file cannot be read without it. The content is encrypted.Payslips, contracts, medical letters, ID scans, anything private sent by email.
Owner passwordNeeded to change the restrictions. It does not stop people from reading.Only together with restrictions.
RestrictionsAsk PDF apps to refuse printing, copying, editing or form filling.A quote or manual you want people to read but not casually copy.

You can leave the open password empty and set only restrictions. Anyone can then open the file, and apps such as Acrobat, Chrome and Preview will grey out the actions you blocked. Be realistic about this mode: restrictions are a request, not a lock. A program written to ignore them can remove them in a second, and our own Unlock PDF tool does exactly that for files you are allowed to use. If a document is truly confidential, rely on the open password.

Screen readers keep working in every case, because the tool always leaves text extraction for accessibility switched on.

AES-256 or AES-128?

Both are real encryption, not the weak 40-bit scheme old tools used. AES-256 is the better choice and the default. Pick AES-128 only if the receiver uses software from before 2010, such as Acrobat 9 or older, or an old embedded viewer on a printer or kiosk. AES-128 also limits the password to basic Latin letters, digits and common symbols, because the old format cannot store other characters reliably. AES-256 accepts any characters, including accents, Arabic or Chinese.

Choosing a password that holds up

A PDF password can be attacked offline: someone with the file can try millions of guesses per second on their own computer, with no lockout. So the password itself has to carry the strength.

Common questions

Will the protected PDF open on a phone?

Yes, in current Acrobat Reader, Chrome, Edge, Firefox, Safari, macOS Preview and the built-in viewers on iOS and Android. Each one asks for the password first. Some very small apps and older e-readers do not support AES-256; use AES-128 for those.

What about a PDF that already has a password?

The tool cannot read it without the password, so it is marked in red. Remove the old password with Unlock PDF first, or set the new one in the app that created the file. A PDF that opens freely but has printing or copying restrictions is accepted, and the old restrictions are replaced by your new settings.

Does it change the quality or size?

No re-rendering happens. Pages, fonts, images and form fields are encrypted as they are, so text stays selectable (for people with the password) and the size grows by a few kilobytes at most.

Limits

A digital signature on the original no longer validates after encryption, because the file changed. Send signed documents as they are, or protect them before signing. Files over 250 MB are refused to keep the browser from running out of memory, and a very large file can take a while on a phone. Encryption stops people who do not have the password from reading the file. It cannot protect a document after you have given the password to someone who then shares the contents.

Frequently asked questions

How do I password protect a PDF for free?

Add your PDF, type a password twice, keep AES-256 selected and press Protect PDF. Then download the new file, which asks for that password every time it is opened. Your original file stays as it was.

Is my PDF uploaded when I add a password?

No. The encryption runs inside your browser with a small program (qpdf compiled to WebAssembly). The file and the password are not sent to any server, which matters for contracts, payslips and ID scans. An internet connection is needed only the first time, to load that program.

What is the difference between an open password and an owner password?

The open password (also called the user password) is needed to see the document at all. The owner password only controls the restrictions, such as printing or copying. If you set restrictions without an owner password, the tool makes a random one and shows it to you once.

Should I choose AES-256 or AES-128?

Choose AES-256 unless someone must open the file in software older than Acrobat X (2010). AES-128 is still sound for most uses, but AES-256 is the stronger and current standard. AES-128 here accepts basic Latin characters only in the password.

Can I stop people from printing or copying a PDF?

Only partly. Restrictions are rules that PDF apps choose to follow. Acrobat, Chrome and Preview respect them, but a tool built to ignore them can remove them, including our Unlock PDF tool. If the content is sensitive, use an open password and share that password only with the right people.

What happens if I forget the password?

The file cannot be opened. AES-256 has no reset and no back door, and this site never sees your password. Store it in a password manager before you send the file, and keep the unprotected original somewhere safe.

Can I password protect several PDFs at once?

Yes. Add as many files as your device can hold, and every file gets the same password and settings. With more than one file you can download each one or get all of them in a single ZIP.

Does adding a password change how my PDF looks?

No. Text, images, fonts and forms are copied as they are and only encrypted. The file size changes by a few kilobytes. A digital signature on the original will no longer validate, because the file bytes changed.