How to Protect a PDF with a Password: Strength, Permissions and Saving
A password, typed twice, and one button: that is all it takes. This walkthrough covers choosing a password the page accepts, deciding which actions stay allowed, saving the protected copy, what the page shows afterwards, and what happens to a PDF that already has a lock.
Tools used in this guide
1. Open your PDF
Protect PDF opens on a drop area. Drag a PDF onto it, or use Choose PDF at marker 1.
- Choose PDF. Pick one PDF from your device, or drop it anywhere on this area. PDFs of up to 100 MB open here.
- Try a sample PDF. Loads a three-page project summary, so you can follow every step without a file of your own.
The tool holds one PDF at a time. If you drop several, it opens the first PDF among them and says so. A PDF of up to 100 MB opens here; a larger file, an empty one and a file that isn’t a PDF are turned away with a note, and a PDF that is already open stays as it was. Everything happens in the tab you already have open: the PDF is read and protected on your device and never uploaded.
To follow along without a file of your own, Try a sample PDF, at marker 2, loads a three-page project summary. It is the file in every screenshot below except the last two.
Once a PDF is open, a file card shows its name, size and page count, with Replace and a × beside them. Replace opens the file picker for another PDF. The × (Remove PDF) takes the file off the page and brings the drop area back. A chip can appear under the name, while the file is being checked and when it has protection of its own or can’t be read; step 7 lists them. Under the card sit the settings: two password fields, an optional Advanced permissions row, the Encryption row, the file name and one button.
2. Create a password
- Create password. Type a password of 8 to 127 characters. Until you start, the field says At least 8 characters.
- Show password. The eye shows what you typed and hides it again. Its name stays the same; only its pressed state changes.
- Password strength. Five bars and a word, Weak to Very strong. It advises: a Fair password is accepted, and only the refusals below stop you.
Type the password in the field at marker 1. It has to be 8 to 127 characters, and only letters A–Z, numbers and symbols from the keyboard: Apple’s PDF apps refuse any other character, accents and emoji included, so the page doesn’t accept them. The eye at marker 2 shows what you typed and hides it again; the figure keeps it hidden, as the field starts. The meter at marker 3 is five bars and a word: Weak, Fair, Good, Strong or Very strong. It is advice. Length counts most, and nothing in the meter stops the button.
- The field, marked. Gets a red border once you leave it with a password the page won't use. While you type, only the meter updates; no refusal appears.
- Why it was refused. One sentence under the meter, not a pop-up: That password is too easy to guess. Choose another.
What does stop it is a refusal, and the page says which, in one line under the meter, once you leave the field or press the button (never on the first keystroke): Enter a password., Use at least 8 characters., a message about the characters it can’t use, or, as in the figure at markers 4 and 5, That password is too easy to guess. Choose another. That last one covers the page’s list of common passwords, even with digits or a symbol added to the end (password123), and obvious patterns such as a repeated character, a counting run or a row of the keyboard. The field stops accepting characters at 127, so there is no message for a longer password: one pasted in is cut to 127 in both fields.
3. Confirm it
- Confirm password. Type the same password again. Enter in the first field moves here, and Enter here does what the button does.
- The match line. Passwords match. or Passwords do not match. It re-checks the moment either field changes, and says nothing while this one is empty.
Type the same password in the second field, at marker 1. Enter in the first field moves you here, and Enter here does what the button does. The line at marker 2 answers as you type: Passwords match. with a check, or Passwords do not match. It re-checks the moment you change either field, and while the second field is empty it says nothing, so a fresh form isn’t full of warnings. The eye in this field, Show confirmation password, is separate from the first one.
4. Choose what stays allowed (optional)
- Advanced permissions. Closed until you open it. The tag reads Optional while every switch is on, then how many are restricted, such as 2 restricted.
- Allow printing. A switch that is on means the action is allowed. Off here, a PDF app that follows the rules won't print the protected copy.
- Allow copying text and images. Off blocks copying text and images out of the PDF. Editing, comments, form filling and page changes are the other four switches.
- The caution. Shown only while a switch is off: apps that follow the rules honor these limits, and anyone with the password can remove them.
Skip this step to set only a password. Advanced permissions, at marker 1, is closed until you open it, and its tag reads Optional until you switch something off, then how many are restricted: 1 restricted, 2 restricted. Inside are six switches, and a switch that is on means the action is allowed: Allow printing, Allow copying text and images, Allow editing, Allow comments and annotations, Allow filling in forms and Allow page changes. The figure has printing (marker 2) and copying (marker 3) switched off, which keeps the text readable but stops a PDF app that follows the rules from printing it or copying it out.
Allow filling in forms is faded in the figure, and on: while comments are allowed, form filling stays allowed too, so the page holds the switch on. Switch comments off and it frees up.
The line at marker 4 shows only while at least one switch is off: PDF apps that follow the rules honor these restrictions. Anyone with the password can remove them. The password is what locks the file; the switches only ask apps to behave. Unlock PDF removes restrictions from any PDF it can open.
5. Protect and download
- Encryption. A fact, not a choice: AES-256 is the only encryption this tool writes, so there is nothing to pick.
- File name. Your file's name with -protected added. Change it before you press the button; the .pdf is fixed, and Enter in the field presses it.
- Protect and download. Checks the form, protects the file, reads the copy back to check it and saves it, all from this one press.
The Encryption row at marker 1 is a fact, not a setting: AES-256 is the only encryption this tool writes, with nothing weaker to pick. The name at marker 2 is your file’s name with -protected added, sample-document-protected for the sample. Change it before you press the button; the .pdf is fixed, and Enter in the field presses the button. The button at marker 3 stays faded until both passwords are right and the name can be saved. Pressed anyway, it starts nothing and says Fix the highlighted field first., marks the fields that need attention and puts the cursor in the first.
One press does the rest. The button protects the file, then reads the copy back and checks it before offering it: with no password it must be refused, it must report AES-256 and the permissions you chose, and it must have as many pages as your file. If a check fails, nothing is kept and nothing is saved, and a message says so. Your original is never changed. While it works, the button turns into a progress ring with Cancel beside it, and cancelling saves nothing.
- Passwords, cleared. Both password fields are empty as soon as the copy has been checked. Your switches and file name stay as you left them.
- Protected and saved. Shown once the browser has been handed the file, with the one thing to remember: PDF Head can't recover a forgotten password.
- Download again. Saves the same copy once more, under the name in the field then, without making it again. Change a password or a switch and it reads Protect and download.
There is no results page. When the file has been saved you are still on the same settings, as the figure shows. Both password fields, marker 1, are empty again: the page cleared them as soon as the copy was checked, and keeps a password in memory only until then. Your switches and file name are as you left them. The line at marker 2, Protected and saved. PDF Head can't recover a forgotten password., confirms it, and the button at marker 3 now reads Download again. That saves the same copy once more, under the name in the field at that moment, without making it again and without asking for the password.
To make a different copy, change what you want to change. The first change to a password or a switch lets go of the held copy, because a copy made from other settings would be a different file, and the button reads Protect and download again. A new file name doesn’t count: it doesn’t change the copy, so a rename keeps Download again.
6. Open the protected copy
Open the downloaded file in any PDF app. It asks for the password before it shows a page, and the actions you switched off are greyed out in apps that follow the rules. Open it once with the password before you delete anything: PDF Head doesn’t keep your password, so a lost one can’t be looked up.
7. When the PDF already has protection
- Restrictions will be replaced. The PDF opens with no password but asks apps to block some actions. The copy keeps none of that: it gets only what you choose here.
- Replace. Opens the file picker for another PDF. The × beside it takes this one off the page and brings the drop area back.
A PDF that opens with no password but carries restrictions or encryption of its own is accepted. The chip under its name, Restrictions will be replaced at marker 1, says what happens: the old protection isn’t merged with the new, and the copy gets only the password and the switches you choose here. An encrypted PDF that allows everything gets Encryption will be replaced instead. The figure uses restricted-handbook.pdf, a copy of Unlock PDF’s restricted sample under another name. Replace, at marker 2, opens the file picker for another PDF.
- Why it was turned away. Says why in one sentence: This PDF is password-protected. Unlock it first, then protect it. No settings and no button follow.
- Open Unlock PDF. Goes to Unlock PDF, where you enter the password and save an unprotected copy. Bring that copy back here.
- Password required. The chip repeats the verdict on the file card. The page count is missing, because the pages can't be read without the password.
A PDF that needs a password to open can’t be protected as it is, because the page can’t read it. The banner at marker 1 says so, This PDF is password-protected. Unlock it first, then protect it., the chip at marker 3 reads Password required, and there are no settings and no button. Open Unlock PDF, at marker 2, takes you to Unlock PDF, where you enter the password and save an unprotected copy to bring back here. The figure uses password-protected.pdf, a copy of Unlock PDF’s password-protected sample, because the sample in this tool has no password.
A PDF with a digital signature opens with a banner: This PDF has a digital signature. Protecting it makes a changed copy, and that signature won't validate in it. Your original isn’t changed, so keep it if the signature has to stay verifiable.
What each chip means
| You see | It means | You do |
|---|---|---|
| Restrictions will be replaced | The PDF opens with no password but asks apps to block some actions | Carry on: the copy gets only what you choose |
| Encryption will be replaced | Encrypted, but every action is allowed | Carry on |
| Password required | The PDF needs a password to open | Open Unlock PDF, then come back with the unprotected copy |
| Can’t be protected here | Protected in a way the tool can’t replace, such as a certificate or a rights-management system | Ask whoever made it for an unprotected copy |
| Can’t be read | The PDF is damaged, or couldn’t be read | Try again, or try another copy of the file |
| Checking protection… | The page is still reading the file | Wait a moment: the settings appear when it is done |
A PDF with no protection of its own gets no chip, and goes straight to the settings.
Access and technical limits
Pro ($9.99/month) is required to download a protected copy of your own PDF and includes unlimited exports. With a file of your own, the press opens “Unlock your download” first, and the protecting and saving carry on the moment Pro is active. Technical limits such as browser memory still apply, along with the 100 MB limit above.
Which tool you want
- Put a password on a PDF → Protect PDF, as above.
- Remove a password you know, or the restrictions → Unlock PDF; How to unlock a PDF walks through it.
- Sign or fill in the PDF before you protect it → Sign PDF; How to sign a PDF walks through it.
- Turn its forms and annotations into page content first → Flatten PDF; How to flatten a PDF walks through it.
- Change its title, author and dates first → Edit PDF Metadata; How to edit PDF metadata walks through it.
- Find out why a PDF won’t open, copy or print → PDF troubleshooting.
Common questions
Why does the page say the passwords don't match when they look the same?
The two fields are compared character for character, so a capital letter, a space at the end or a lookalike symbol counts as a difference. Press the eye at the right end of each field to see both and compare them. The line under the second field re-checks the moment you change either one, and says nothing until you start typing in it.
Why is Allow filling in forms switched on and faded?
While Allow comments and annotations is on, filling in forms stays allowed: a PDF app that lets you comment also lets you fill in a form, so a restriction on forms alone would do nothing. Turn comments off and the switch frees up, still on until you turn it off yourself. Hover the faded switch and it says Allowed while comments are allowed.
Why did the button go back to Protect and download after I changed something?
Download again saves the copy that was made from the settings you pressed with. A different password or switch would be a different file, so the page lets go of that copy as soon as you change either, and the next press makes a new one. The file name is the exception: it doesn't change the copy, so a rename keeps Download again.
Does a Weak rating stop me from protecting the file?
No. The meter only advises. What stops the button is a refusal: nothing typed, fewer than 8 characters, a character outside letters A–Z, numbers and symbols, or a password that is too easy to guess. A password the meter calls Weak but the page doesn't refuse is accepted, though length counts most, so a longer one is the better choice.
What does “Fix the highlighted field first.” mean?
You pressed the button while a field can't be used yet. Nothing was started. The fields that need attention are marked and the first of them has the cursor. Usual causes are an empty password or two passwords that don't match.