Protect PDF — Add Password
Protect PDF Online — Add a Password Free | PDF Funda Protect PDF — Add Password Add a password to a PDF free, right in your browser. Your file never leaves your device — no upload, no sign-up. Drop a PDF here, or click to choose one PDF only · up to 25 MB · […]
Protect PDF — Add Password
Add a password to a PDF free, right in your browser. Your file never leaves your device — no upload, no sign-up.
PDF only · up to 25 MB · up to 100 pages
What this tool does: it locks your PDF with AES-256 encryption — the same standard Adobe Acrobat uses — using the password you type. Anyone who opens the file will be asked for that password first. The protected file keeps its text, images, forms and layout exactly as they were; only the password changes. Keep your password safe: if you forget it, the file cannot be opened again — not by this tool, not by anyone. There is no way to recover a forgotten PDF password, so write it down in a password manager before you download the file.
A PDF is easy to share — and just as easy to open by anyone who gets a copy. If the file holds a contract, a bank statement, a medical form or a price list, that is a problem: once you email it or upload it somewhere, you have no control over who reads it. A lock pdf to unlock pdf tool fixes that in under a minute. The tool above adds a password to your PDF with AES-256 encryption, so the file will not open without the password you choose. Everything happens in your browser: no upload, no account, nothing stored after you close the tab.
How to add a password to a PDF online
Locking a PDF takes four short steps — you only need the file and a password you will remember. Keep the password somewhere safe before you start: if you lose it, the file cannot be opened again. For the full background on PDF passwords, see our guide on how to encrypt a PDF.
- Choose your PDF. Click the box above or drag the file onto it. Files up to 25 MB and 100 pages are accepted.
- Type your password twice. Use at least 6 characters; 12 or more, mixing upper and lower case letters with numbers, is much stronger. The second box is there to catch a typo — a mistyped password would lock you out of your own file.
- Choose what the password allows. The three checkboxes decide what someone who has the password may do: print the file, copy text from it, or edit it. All three are on by default, which suits most people — the password keeps strangers out, while anyone you share it with can use the file normally.
- Press Protect PDF, check the preview, then download. The tool encrypts the file, then re-opens it with your password to prove it works, and shows the first page as a preview. When the preview looks right, press Download protected PDF. The file is saved with the same name plus “-protected”, for example contract-protected.pdf.
There is no queue or waiting for a server: the encryption runs on your own computer, so a short document finishes in seconds. Keep the original unlocked file until you have opened the protected copy with the password and checked it.
User password, owner password, and permissions — the difference
PDFs have two different passwords, and knowing which one you are setting decides what the file actually does. Most people only need the first one.
A user password, sometimes called the open password, locks the whole document. The file will not open without it: any PDF reader shows a password prompt before the first page appears. This is the password this tool sets, and it is the one that actually protects the contents — the text, images and metadata are encrypted, and without the password they are unreadable.
An owner password, sometimes called the permissions password, works differently. The file opens normally, with no prompt, but some actions are blocked: printing may be disabled, copying text may be greyed out, or editing may be refused. An owner password on its own does not stop anyone reading the file — it only asks the reader to respect the restrictions. Because the file already opens, an owner-only lock is easy to remove, and our Unlock PDF tool does exactly that.
This tool sets both passwords to the password you type: one password to remember, full protection. The three checkboxes set the permissions: the individual rules that apply once someone has opened the file with the password.
| User password | Owner password | |
|---|---|---|
| What you see | Password prompt before the file opens | File opens; some actions blocked |
| Protects the contents | Yes — text, images and metadata are encrypted | No — the file can still be read |
| Set by this tool | Yes — the password you type | Yes — same password, for full access |
| Forgot the password? | File cannot be opened again | File still opens; restrictions can be removed |
A PDF can also carry both passwords with different values: it asks for the user password to open, and printing or copying stays blocked even after opening. If you receive such a file and want to change its password, remove the old one first with the Unlock PDF tool, then protect it here with a new one.
What the password actually protects — and what it does not
It helps to know exactly what a PDF password does, because the honest answer is narrower than most people expect — and still well worth having.
What it does protect is the contents. This tool encrypts the file with AES-256, the same encryption standard Adobe Acrobat uses. The text on every page, the images, the fonts and the metadata are all encrypted. Without the password, a reader gets nothing but a password prompt: the pages are unreadable, and no tool can extract the text. The tool checks the lock before download: it re-opens the protected copy with your password and shows the first page.
What it does not protect is the file’s structure. Anyone holding the file can still see that it has, say, twelve pages, and how big each page is, without the password. That is how PDF encryption is designed: it encrypts strings and streams, not the skeleton of the document. If the page count itself is sensitive, a password alone is not enough.
Permissions are also softer than they look. The checkboxes set flags inside the file, and honest PDF readers respect them. But a flag is a request, not a lock: a reader that ignores permissions can print or copy anyway, and removing an owner password from a file that opens freely takes seconds. Permissions are useful for guiding well-meaning recipients, but they are not a substitute for the open password.
Finally, a password is only as strong as the password itself. A short or obvious password — a name, a year, “password123” — can be guessed by trying common passwords one after another. The encryption is strong; the weak point is always the password.
Choosing a password that actually holds
A good PDF password is long, unpredictable, and stored somewhere you will find it again. Length matters more than cleverness: every extra character multiplies the guesses an attacker needs. A 6-character lowercase password has about 300 million combinations; a 12-character mixed password has far more than any computer can try in a lifetime. This tool requires at least 6 characters, but 12 or more is the level to aim for.
A passphrase beats a scrambled password: four or five random words are easier to remember than “K7#mQ2!” and harder to guess. Do not use anything connected to you or the file — not your name, your company, a date of birth, or the word “contract”. Do not reuse a password from your email or your bank.
Store the password the moment you set it, in a password manager if you have one. If you share the protected file, send the password through a different channel from the file itself — a message or a call, not the same email. Our generate a secure password guide walks through building strong passwords you can actually remember.
Permissions explained: printing, copying, editing
The three checkboxes set what someone who has the password is allowed to do with the file. They are worth understanding, because the wrong combination is the most common reason a protected PDF frustrates its own recipient.
Printing controls whether the file can be sent to a printer. Leave it on for files people need on paper — contracts to sign, forms to fill in by hand. Turn it off when the file should stay on screen, for example a price list you do not want printed and passed around. Blocking printing does not block screenshots, so it is a nudge, not a guarantee.
Copying text controls whether text can be selected and copied out of the file. Leave it on for documents people need to quote or reuse. Turn it off for drafts or course material where you want people to read but not lift passages.
Editing controls whether the file can be changed: adding or removing text, filling in forms, adding comments, and assembling pages. Leave it on when the recipient needs to fill in a form or mark up a draft. Turn it off for a final version — a signed agreement, an issued certificate — where any change should be obvious because it requires removing the password first.
All three are on by default, which is the right choice for most files: the password keeps strangers out, and anyone you trust with the password can use the file normally. Tighten them only when you have a specific reason, and tell the recipient what you changed.
When to protect a PDF — and when not to
Protecting a PDF makes sense whenever the file would cause trouble in the wrong hands. Contracts and agreements are the classic case: send the signed copy password-protected, and share the password by phone or message. Bank statements, tax documents, payslips and medical forms are the same — sensitive by nature, and routinely emailed. Small businesses protect price lists and quotes so a competitor who intercepts one email does not get the whole rate card.
Teachers protect exam papers, answer keys and paid course material, so a shared file cannot be passed around freely. Families protect scanned certificates, wills and personal letters before storing them in cloud folders or sending them to a solicitor. Storing PDFs in a shared drive benefits too: a leaked link still needs the password.
There are also times not to protect a file. Do not password-protect a PDF you need a system to process automatically — an upload portal, an invoice parser, a printer queue — because the system will reject a file it cannot open. Do not protect a file you are about to edit further: protect the final version, not the draft. And do not protect a file whose password you cannot store safely — a locked file with a lost password is worse than an unlocked one.
Common problems and fixes
“The two passwords do not match.” The password and the confirmation differ, usually by one character. Retype both slowly. Pasting the same password into both boxes avoids typos entirely.
“That password is too short.” The tool requires at least 6 characters. Aim for 12 or more, mixing upper and lower case letters with numbers.
The protected file will not open in my reader. Check the password first — passwords are case-sensitive, and a capital letter in the wrong place is the most common cause. If the password is right and the reader still refuses, the reader may be old: very old PDF software does not understand AES-256 encryption. Update the reader, or open the file in a modern browser.
I forgot the password. There is no recovery — the encryption key is the password itself. Check your password manager and any message where you shared the password. If it is truly lost, the only copy you can still use is the original unlocked file, if you kept it.
“This PDF already has a password.” The file you chose is already protected. Remove the old password first with our Unlock PDF tool, then protect the unlocked file here with the new one.
The protected file is rejected by an upload portal. Some portals refuse password-protected files because their systems cannot read them. Upload the unlocked original instead.
The tool says the file is over the limit. Files above 25 MB or 100 pages are not accepted, because encrypting that much in a browser tab gets slow. Split the PDF into parts first, then protect each part separately.
Nothing happens when I press Protect PDF. The most common cause is a library that did not load — check your connection and reload the page. If the button stays greyed out, no file has been selected yet. If the button is active but nothing happens, check that both password boxes are filled and match.
Private by design
Nothing you protect leaves your computer. The tool runs with two open-source libraries loaded in your browser: @cantoo/pdf-lib encrypts the PDF with AES-256, and pdf.js from Mozilla re-opens the protected file to verify it and render the preview. Your file is read from your disk, encrypted in your browser’s memory, and downloaded back to your disk. It is never sent to our servers or to any third party.
That matters more for this tool than for most, because the files people protect are usually the sensitive ones: contracts, statements, medical forms, legal documents. A server-based protector would need you to hand over the file and the password together. Here the password is typed into your own browser, used once to encrypt the file, and never leaves the tab. Adobe’s own help pages describe the same two-password system in their guide to securing PDFs with passwords.
Frequently asked questions
Is it free to add a password to a PDF?
Yes. The tool is free, with no account and no limit on how many files you protect. The encryption runs in your browser, so there is no file to upload.
What encryption does the tool use?
AES-256, the current standard for PDF encryption and the same level Adobe Acrobat uses. Short passwords are the weak point, not the encryption — use 12 or more characters.
Can I open the protected PDF without the password?
No. Without the password the file will not open in any PDF reader, and the text cannot be extracted. There is no back door, so keep the password somewhere safe before you download the file.
Will the protected PDF still look the same?
Yes, exactly the same. Encryption locks the contents without changing them: the text stays selectable, the images stay sharp, and forms, links and bookmarks all survive. The only difference is the password prompt when the file opens.
Can I protect a PDF on my phone?
Yes, it works in a mobile browser the same way. Typing a long password on a phone keyboard is fiddly, so paste it from a password manager if you can.
What if I need to change the password later?
Remove the old password first with our Unlock PDF tool — you will need the old password for that — then protect the unlocked file here with the new one.
Does the password stop people printing or copying?
Only if you untick those boxes. By default, anyone with the password can print, copy and edit normally — the password keeps strangers out, not the people you share it with. Permissions are requests that honest readers respect, not locks.
Is my file uploaded anywhere?
No. The PDF is encrypted entirely in your browser, using the @cantoo/pdf-lib library. It never leaves your device, and closing the tab clears the file from memory.