Password protect PDF
Password protect a PDF with AES-256 encryption so only people who know the password can open it, and limit printing, copying or editing if you need to. Your files and passwords stay in your browser and are never sent to a server.
- 🔐 AES-256
- 🔒 No upload
- 🎁 Free, no sign-up
How to password protect a PDF
Drop your PDF files into the box, or select Choose PDFs.
Type the password people will need under Password to open the file. Fill in Permissions password (optional) as well if you want to limit printing, copying or editing.
Keep AES-256 under Encryption unless the file has to open in a very old PDF reader, and untick anything readers should not do under Allow in the PDF.
Select Add password, then download each protected PDF, or all of them at once with Download all as ZIP.
What does it mean to password protect a PDF?
To password protect a PDF means to encrypt the file so its pages can only be read after someone types the right password. Without the password, a PDF app shows a password prompt instead of the pages, and opening the file in another program shows scrambled data instead of text.
A PDF can carry two kinds of protection. An open password, also called a user password or document open password, locks the whole file. A permissions password, sometimes called an owner password, sets rules for what people may do once the file is open, such as printing it or copying text out of it. You can use one of them or both.
Password protection makes sense for anything you would not want a stranger to read if an email went to the wrong person: contracts, medical letters, tax returns, salary details, scanned IDs and client files. It also helps when a PDF sits in a shared folder or on a laptop that several people use. The result is still an ordinary PDF, so the person you send it to opens it in the app they already have, as long as they know the password.
Open password and permissions password
The two passwords do different jobs, and the tool has a field for each. Password to open the file is the one that keeps people out. Permissions password (optional) guards the settings under Allow in the PDF, so nobody can switch printing or copying back on without it.
If you leave the permissions field empty, the open password is used for both. If you leave the open password empty and set only a permissions password, the PDF opens for everyone, and the limits you chose apply in apps that respect them. When you limit permissions, the two passwords have to be different, since anyone who can open the file could otherwise change its permissions too.
| Open password | Permissions password | |
|---|---|---|
| Needed to open the file | Yes | No |
| Keeps strangers from reading the text | Yes | No |
| Controls printing, copying and editing | No | Yes |
| If you leave it empty | Only permissions are set | The open password is used for both |
| Who should know it | Everyone who needs to read the file | Only you |
When to use an open password, permissions or both
Pick the protection by asking who may read the file and what they may do with it. If only certain people may read it, it needs an open password. If anyone may read it but you would rather it was not printed, copied or changed, permissions on their own are enough. When a few people may read it and you also want to discourage copying, use both, with two different passwords.
Most private documents need only the open password. Permissions on top add little when you trust the people who can open the file, and they can annoy a recipient who needs to print a contract to sign it or copy an account number into a form.
Permissions on their own fit documents anyone may read but that should stay as published, like a price list or a menu.
| Document | Open password | Permissions | Why |
|---|---|---|---|
| Contract, tax return or medical letter | Yes | Usually not | Only the recipient should read it, and they may need to print it |
| Scanned passport or ID card | Yes | Block printing and copying | Keeps the scan private and discourages reuse |
| Client report sent by email | Yes | Optional | The email could be forwarded or sent to the wrong address |
| Price list, menu or handout | No | Block editing and copying | Anyone may read it, but it should stay as published |
| Exam paper or answer key before the exam | Yes | Block printing and copying | Only the teachers should have it until the exam |
What is the difference between encrypted and password protected?
For a PDF, the two go together. Setting an open password encrypts the text, images and pages, and the password is what unlocks them again. A password that only guards a folder, a shared link or an email account does not encrypt the PDF itself, so the file can be read by anyone who gets a copy.
A PDF with only a permissions password is also encrypted on paper, but because there is no open password, every PDF app can open it and show the content. What stops copying or printing in that case is the app choosing to follow the rules stored in the file. That is why the open password is the one that matters for privacy.
How safe is a password protected PDF?
A PDF encrypted with AES-256 is about as safe as its password. The easiest way into an encrypted PDF is to guess the password, so a short or common one is the weak point, while a long password that is not built from obvious words is far harder to guess.
The encryption method matters too. AES-256 is the stronger of the two methods in this tool and is used unless you choose otherwise. It hides the text, images and pages, so someone without the password cannot read them by opening the file in another program.
Safety also depends on what happens to the password. Keep it out of shared notes, do not reuse a password from your email or bank account, and protect the file again with a new password if you think someone has seen the old one.
Encrypt PDF files with AES-256 or AES-128
The tool offers two encryption methods under Encryption. AES-256 is selected by default and is the right choice for almost every file, since all current PDF apps open it.
AES-128 is there for older PDF readers that cannot open AES-256 files, such as an outdated viewer on an old office computer. It is still strong encryption. Its limit is the password: AES-128 accepts only plain letters A to Z, numbers, spaces and common symbols, up to 32 characters. With AES-256 you can use any characters, including accented letters and other alphabets, up to 127 bytes. A plain letter takes one byte, while accented letters and characters from other scripts take two or more, so the limit in characters is lower for those.
Neither option writes the older RC4 encryption.
| Setting | AES-256 | AES-128 |
|---|---|---|
| Selected by default | Yes | No |
| Opens in | All current PDF apps | Older PDF readers as well |
| Security handler written to the file | Revision 6 | Revision 4 |
| Characters in the password | Any, except line breaks, tabs and other control characters | Plain letters, numbers, spaces and symbols |
| Longest password | 127 bytes | 32 characters |
| When to choose it | Almost always | Only when someone cannot open the AES-256 file |
How to choose a strong PDF password
Length does more for a PDF password than clever symbols. A phrase of four or five unrelated words is easier to remember and harder to guess than a short string like P@ss1. Avoid names, birthdays and words connected to the file, because those are the first things someone would try.
As you type the open password, a strength hint appears below the field. It only rates the open password, since that is the one that keeps people out. It is a quick rating that does not estimate how long cracking would take, and it never stops you from protecting the file. The hint follows fixed rules:
- Anything shorter than 6 characters is rated weak
- So is a password made of only one or two different characters, or one from a short list of very common passwords such as 123456, qwerty and password
- Points are added at 8, 12 and 16 characters
- More points come from mixing lowercase letters, uppercase letters, numbers and symbols
- Numbers only, or a straight run such as abcdef or 987654, never rates above weak
- The rating goes from weak through fair and good to strong
What happens when you encrypt a PDF here
The first time you select Add password, the page loads its PDF engine, about 1.3 MB, from this site. The engine is QPDF, an open-source PDF program, built to run inside the browser. It needs WebAssembly, which all current versions of Chrome, Edge, Firefox and Safari support on computers and phones.
Your PDFs are then read, encrypted and saved one at a time in the open browser tab, while a line under the tool shows which file it is working on. Very large files can make the page busy for a moment, because the work runs in the page itself.
When a file is done, the tool opens the result again with your password and checks that it opens and uses the encryption you chose. Only files that pass this check are offered for download. Each protected copy gets -protected added to its name, so report.pdf becomes report-protected.pdf, and the PDF you started with is left as it was.
Password protect multiple PDF files at once
You can add up to 50 PDFs in one go, each up to 100 MB. They all get the same open password, permissions password, encryption and permissions, and they are processed one after another.
When two or more files are done, Download all as ZIP saves them in a single file called protected-pdfs.zip. The PDFs are stored in the ZIP without extra compression, since encrypted content does not shrink. You can also save each file on its own with its Download button.
Files are checked one at a time, and a problem with one file does not stop the rest:
- Files over 100 MB, empty files and files that are not PDFs are skipped with a message, and the rest go ahead
- If you drop more than 50 files, the first 50 are kept and the others are skipped
- Two files with the same name get (2), (3) and so on, so no download overwrites another
- If one file fails, the others still finish, and you can select Add password again to retry
- For a different password per file, protect the files in separate rounds
PDFs that cannot be protected
Some files are refused before anything is written, and the message next to the file says why. The most common case is a PDF that already has a password or permissions. Adding a new password on top would throw away the old protection without its password, so the tool asks you to remove it first with Remove password.
Damaged PDFs are reported, not repaired. If a file opens fine on your computer but is still refused here, it may use a PDF feature the engine does not support, and the message says that something went wrong with this file.
| Problem | Why | What to do |
|---|---|---|
| Already has a password or permissions | The file is already encrypted | Remove the old protection with Remove password, then add the new one |
| Damaged or not a real PDF | The file structure cannot be read | Save it again from the app that made it, or ask the sender for a new copy |
| Too large | It is over 100 MB | Split or compress the PDF first |
| Not a PDF file | The file name and type are not PDF | Save or export the document as PDF first |
| Empty file | The file has 0 bytes | Download or export the PDF again |
Can I password protect a PDF without Adobe Pro?
Yes. You do not need Adobe Acrobat Pro to password protect a PDF. This page encrypts PDFs in the browser for free, Preview on a Mac can add a password when you export a PDF, and Microsoft Word can encrypt the PDF it creates when you save a document as PDF.
Preview only exists on macOS, and Acrobat Pro is sold as a subscription. A browser tool works on any system and also protects PDFs you received from someone else.
How to password protect a PDF on Mac
Preview, the PDF viewer that comes with every Mac, can add an open password and permissions. Apple describes the steps in its Preview guide. To change the settings later, open the file and choose File, then Edit Permissions.
- Open the PDF in Preview.
- Choose File, then Export.
- Select Permissions, turn on Require Password To Open Document and type the password.
- Choose what others may do with the file, enter an owner password for those permissions and select Apply.
- Select Save.
How to encrypt a PDF in Microsoft Word
Desktop Word can encrypt the PDF it makes from a document. According to Microsoft's support page, the setting sits in the options of the PDF export. It only works for documents you are writing in Word, so a PDF you received needs a PDF tool instead.
- Open the document in Word and choose File, then Save a Copy or Save As.
- Pick PDF as the file type and select More options.
- Select Options, tick Encrypt the document with a password and select OK.
- Enter the password in the Encrypt PDF Document box and save.
How to lock a PDF in Adobe Acrobat
In Adobe Acrobat, select All tools, then Protect a PDF, and choose Protect with password in the left pane. Limits on printing, copying and editing are set with Encrypt with Password in the same Protect a PDF tools.
Removing passwords and restricting printing and editing need Acrobat Pro, which is sold as a subscription.
Free ways to password protect a PDF online
Many online PDF tools add a password for free. Most of them send your file to their server, encrypt it there and give you a download link. They usually promise to delete the file after an hour or two, and free use is often limited to a few files or a size cap such as 50 MB.
The file you want to lock is one you do not want strangers to see, and with those tools you also type its password into someone else's website. On this page the encryption runs on your own device instead, so neither the PDF nor the password leaves it, and there is no account to create.
Sending a password protected PDF by email
The password has to reach the right person by a different route than the file, or anyone who gets hold of the email gets both.
Within a company, a password manager with shared vaults is a tidy way to hand over passwords for recurring files. For a one-off file to a client, a text message is usually enough, as long as it does not go to the same phone or account the email is read on.
A routine that keeps the file and its password apart:
- Send the protected PDF by email or as a file link, as usual
- Share the password by text message, in a call or in person
- Agree on a password in advance for regular exchanges, such as monthly reports
- Keep the password out of the subject line and out of the email itself
- Keep the unprotected original yourself in case the password gets lost
Fixing errors when you add a password to a PDF
Most problems show up as a message under the password fields or next to a file. This is what each one means and how to fix it:
- If it asks for an open password, a permissions password or both, both password fields are still empty
- If you untick a permission without a permissions password, the tool asks for one, since otherwise anyone could undo the limits
- The permissions password must differ from the open password, or the limits would protect nothing
- With no open password and every box under Allow in the PDF still ticked, there is nothing to protect, so untick something or add an open password
- A password that is too long, or has characters AES-128 cannot use, works after you shorten it or switch to AES-256
- Line breaks and tabs are not allowed, which usually happens when a password is pasted from a document
- If the PDF engine cannot load, check your connection and try again, since the engine is fetched the first time you use the tool
Your files stay with you
Most online tools upload your files to their servers. This one does not. It runs inside your browser, so your files never leave your device.
More PDF password tools
Password protect PDF FAQ
How do I password protect a PDF for free?
Add the PDF to the tool at the top of this page, type a password under Password to open the file and select Add password. It is free, needs no account, and the protected copy downloads straight to your device.
Can you password protect more than one PDF at a time?
Yes. Add up to 50 PDFs of up to 100 MB each, and they all get the same password and settings. Download them one by one or together as a ZIP file.
How do I send a PDF file with a password?
Protect the PDF here, attach it to your email as usual and send the password another way, by text message or in a call.
What happens if I forget the password I set?
The PDF will not open without it, and this tool cannot find or guess a forgotten password. Keep the unprotected original until you know the recipient has opened the file.
Can you override a password protected PDF?
Not with this tool. It cannot crack or bypass a PDF password, so taking the protection off a file always needs its password.
How do I know if a PDF is password protected?
Open it. A password protected PDF asks for the password before it shows any pages. A file with only permissions opens normally, but printing or copying may be grayed out.
Will the recipient need special software to open the PDF?
No. Any current PDF app asks for the password and then opens the file.
Do I need to install anything to encrypt a PDF?
No. The tool runs in Chrome, Edge, Firefox or Safari. Apart from the page and its PDF engine, there is nothing to download.
Can I change the password of a protected PDF?
Yes, in two rounds. Remove the old password with Remove password, which needs the current password, then add the new one to the unlocked copy.
Can I password protect a PDF on my phone?
Yes. The tool works in current mobile browsers, including Safari on iPhone and Chrome on Android, and the protected PDF downloads like any other file.