How to password protect a PDF and what it really covers
By the Filebird team · Updated October 18, 2026 · 7 min read
You are about to email a payslip, a signed contract or a scan of an ID card, and you would like the file to be useless to anyone who is not supposed to read it. A password on the PDF is the simplest way to do that. It takes a minute, works in every common PDF reader, and does not need any extra software on the recipient's side.
It is also easy to get wrong. People pick passwords that are trivial to guess, send the password in the same email as the file, or assume that a password stops a recipient from copying text, which it often does not. This guide explains what a PDF password is, how strong the protection can be, where it stops working, and how to handle the password itself so the effort is not wasted.
Two kinds of PDF password
The PDF format has two separate passwords, and the difference matters more than most people expect.
The first is the open password, sometimes called the user password. Without it, a PDF reader cannot decrypt the contents at all. The pages, the text and the images are scrambled, and the reader asks for the password before it shows anything. This is the one that keeps a file private.
The second is the owner password, also called the permissions password. It does not hide the document. Anyone can open the file and read it. What the owner password does is flag restrictions such as "do not print", "do not copy text" or "do not edit". Those flags are instructions that a well-behaved reader respects. A reader that chooses to ignore them can, and a number of free tools do. Treat permissions as a polite request, not a lock.
When you want secrecy, you want an open password. Protect PDF sets a password that is required to open the file, and it does not add printing or copying restrictions, so your recipient can still print and copy once they are in. If your goal was to stop people editing a file, a password is the wrong tool; sending a flattened copy or a different format is more realistic, and signing the document is covered in how to sign a PDF electronically.
What AES-256 means
When a PDF is encrypted, the contents are run through a cipher using a key derived from your password. Older PDFs used RC4, which is now considered weak and should be avoided. Newer files use AES, a cipher that is widely trusted and used by banks, governments and your phone's storage encryption. The number after it, 256, is the key length in bits.
The tool on this site encrypts with AES-256, using the modern revision of the PDF encryption scheme. In practical terms, nobody is going to break the cipher by brute force. That is not where files get opened by the wrong person.
The weak point is always the password. AES-256 derives its key from what you type. If the password is "1234" or the person's birth year, an attacker does not need to attack the cipher; they try likely passwords until one fits. Strong encryption with a weak password is like a vault door fitted to a cardboard wall. The length of the key is irrelevant if the secret that unlocks it is easy to guess.
Readers also differ. Current versions of Adobe Acrobat, Chrome, Edge, Firefox, Preview on macOS and most mobile readers open AES-256 files without trouble. Very old software or some embedded viewers on printers and document management systems may not, and will report a damaged file. If you know the recipient is on something ancient, ask them to try a normal browser first.
What a password does not protect
A password protects the contents of the file as long as the file stays locked. After that, a few things are worth knowing.
Once opened, it is an ordinary document. The recipient can screenshot it, print it to a new PDF, copy the text out, or save an unprotected copy if they know the password. Encryption protects the file in transit and in storage, not what a trusted reader later does with it.
The file name and size are visible. A file called "john-smith-medical-results.pdf" gives away a lot even if nobody can read it. Rename it before you send it. The size, the date it was modified and the mail subject are all visible too.
Properties may leak in unprotected copies. Author, title and the software used to create a PDF live in its metadata. If you are sharing an unprotected copy somewhere else, look at them in PDF metadata and clear what you do not want to publish.
A forgotten password cannot be recovered. Real encryption has no back door. If you lose the password, the content is gone. Keep the original unprotected file somewhere safe, such as an encrypted drive, so you can always make a new protected copy.
It does not authenticate the sender. A password says nothing about who made the file or whether it was changed. It only controls who can open it.
Choosing a password you will not regret
Most real-world failures happen here. A few rules cover nearly everything.
Use something long rather than clever. A passphrase of four or five unrelated words is far harder to guess than a short string full of symbols, and it is easier to read out over the phone. The password generator can produce either a random string or a word-based passphrase locally, and the guide to strong, memorable passwords goes into the trade-offs.
Do not reuse a password you use anywhere else. A PDF password usually travels to someone else, so assume it will end up in an inbox you do not control.
Avoid anything linked to the recipient or the document. Names, dates of birth, phone numbers and company names are the first things an attacker tries. If the recipient is told "the password is your date of birth" the arrangement also falls apart the moment someone else knows that date.
The tool asks for at least four characters, but that is a minimum to prevent an accidental empty field, not a recommendation. Aim for twelve or more.
Protecting a file without uploading it
Many online PDF protectors send your document to a server, which is a strange thing to do with a file you are trying to keep private. Protect PDF works differently: the encryption runs in your own browser, and the file is never transferred. That also means it works offline once the page has loaded. If you want to know more about what happens in the background, are online PDF tools safe? covers how to judge any web tool.
A reasonable order of work is to finish editing first, then reduce the size, then protect. If you compress the PDF afterwards it will have to be unlocked first, since a locked file cannot be rewritten without its password. Protect is always the last step.
To remove a password later, use Unlock PDF. It requires the current password, so it is a tidy-up tool for your own files, not a way into somebody else's.
Try it: add a password to your file with Protect PDF, then open the result in a different reader to confirm the prompt appears.
Frequently asked questions
Can I stop people from printing or copying text with a password?
Not reliably. Printing and copying restrictions are flags in the file that readers choose to honour, and some do not. An open password is the only setting that keeps a document unreadable. The tool on this site sets an open password and leaves printing and copying allowed.
Is a password-protected PDF safe to email?
The contents are encrypted, so an eavesdropper or a mail provider cannot read them, provided the password is strong and was sent separately. The subject line, the file name and the fact that you sent an encrypted file are still visible, so keep sensitive words out of those.
What happens if I forget the password?
You will not be able to open the file. There is no recovery service built into the PDF format. Keep an unprotected original in a safe place, or store the password in a password manager when you set it.
Will the recipient need special software?
No. Any modern PDF reader, including the one built into a browser, will ask for the password and open the file. Only very old viewers have trouble with AES-256 files.