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.

Protect PDF filled in: two password fields with a strength meter, Advanced permissions tagged 2 restricted, and one button that protects the file and downloads it. Protect PDF filled in: two password fields with a strength meter, Advanced permissions tagged 2 restricted, and one button that protects the file and downloads it.

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.

The Protect PDF drop area, with marker 1 on the Choose PDF button and marker 2 on the Try a sample PDF button beside it. The Protect PDF drop area, with marker 1 on the Choose PDF button and marker 2 on the Try a sample PDF button beside it. Open this screenshot at full size in a new tab
  1. Choose PDF. Pick one PDF from your device, or drop it anywhere on this area. PDFs of up to 100 MB open here.
  2. 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

The Create password field filled in and shown as dots, marked 1, with the eye icon at its right end marked 2 and, under the field, the strength meter reading Strong, marked 3. The Create password field filled in and shown as dots, marked 1, with the eye icon at its right end marked 2 and, under the field, the strength meter reading Strong, marked 3. Open this screenshot at full size in a new tab
  1. Create password. Type a password of 8 to 127 characters. Until you start, the field says At least 8 characters.
  2. Show password. The eye shows what you typed and hides it again. Its name stays the same; only its pressed state changes.
  3. 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 same field after a password from the page's list of common ones: the field marked 4, the meter reading Weak and, under it, the line marked 5 saying that password is too easy to guess. The same field after a password from the page's list of common ones: the field marked 4, the meter reading Weak and, under it, the line marked 5 saying that password is too easy to guess. Open this screenshot at full size in a new tab
  1. 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.
  2. 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

The Confirm password field filled in and shown as dots, marked 1, and the line under it, Passwords match., with a green check, marked 2. The Confirm password field filled in and shown as dots, marked 1, and the line under it, Passwords match., with a green check, marked 2. Open this screenshot at full size in a new tab
  1. Confirm password. Type the same password again. Enter in the first field moves here, and Enter here does what the button does.
  2. 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)

The settings card with Advanced permissions open: the row and its 2 restricted tag marked 1, the Allow printing switch, off, marked 2, the Allow copying text and images switch, off, marked 3, and the caution line under the switches marked 4. The settings card with Advanced permissions open: the row and its 2 restricted tag marked 1, the Allow printing switch, off, marked 2, the Allow copying text and images switch, off, marked 3, and the caution line under the switches marked 4. Open this screenshot at full size in a new tab
  1. 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.
  2. 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.
  3. 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.
  4. 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

The page before the press: the Encryption row reading AES-256 marked 1, the File name field marked 2 and the Protect and download button marked 3. The page before the press: the Encryption row reading AES-256 marked 1, the File name field marked 2 and the Protect and download button marked 3. Open this screenshot at full size in a new tab
  1. Encryption. A fact, not a choice: AES-256 is the only encryption this tool writes, so there is nothing to pick.
  2. 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.
  3. 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.

The same page after the press: the Create password field empty again, marked 1, the line saying Protected and saved. marked 2, and the button, now reading Download again, marked 3. The same page after the press: the Create password field empty again, marked 1, the line saying Protected and saved. marked 2, and the button, now reading Download again, marked 3. Open this screenshot at full size in a new tab
  1. 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.
  2. 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.
  3. 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

The file card of a PDF that already has restrictions: the Restrictions will be replaced chip under the file's name, marked 1, and the Replace button, marked 2. The file card of a PDF that already has restrictions: the Restrictions will be replaced chip under the file's name, marked 1, and the Replace button, marked 2. Open this screenshot at full size in a new tab
  1. 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.
  2. 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.

A PDF that needs a password, turned away: the banner telling you to unlock it first, marked 1, the Open Unlock PDF button inside it, marked 2, and the Password required chip on the file card, marked 3. A PDF that needs a password, turned away: the banner telling you to unlock it first, marked 1, the Open Unlock PDF button inside it, marked 2, and the Password required chip on the file card, marked 3. Open this screenshot at full size in a new tab
  1. 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.
  2. Open Unlock PDF. Goes to Unlock PDF, where you enter the password and save an unprotected copy. Bring that copy back here.
  3. 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 seeIt meansYou do
Restrictions will be replacedThe PDF opens with no password but asks apps to block some actionsCarry on: the copy gets only what you choose
Encryption will be replacedEncrypted, but every action is allowedCarry on
Password requiredThe PDF needs a password to openOpen Unlock PDF, then come back with the unprotected copy
Can’t be protected hereProtected in a way the tool can’t replace, such as a certificate or a rights-management systemAsk whoever made it for an unprotected copy
Can’t be readThe PDF is damaged, or couldn’t be readTry again, or try another copy of the file
Checking protection…The page is still reading the fileWait 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

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.

All guides