When you email a PDF that contains personal information or the terms of a contract, you may set a password on it in case it goes to the wrong address or gets forwarded. PDFs have two kinds of password, though, and a setting that only restricts printing and copying does not protect the content of the PDF.
This article explains how the two kinds of password differ and how to password protect a PDF for free. The steps use a PDF password tool I built that runs only in the browser.
What You'll Learn from This Article
- How the two kinds of PDF password differ
- How four free ways to password protect a PDF differ
- How to set a password on a PDF step by step
- How to check that the password works
- How to choose a password and share it with the recipient
All you need is a browser on a computer or phone. There is no software to install, no account and no PDF upload.
The two kinds of PDF password
A PDF can have two kinds of password: an open password and a permissions password. Adobe's help describes the same two types.
Type | When it is asked for | What it protects |
|---|---|---|
Open password | When the PDF is opened | The whole content of the PDF. Anyone who does not know the password cannot read it |
Permissions password | When the printing, copying and editing restrictions are changed | The restriction settings. The PDF opens with no password prompt |
A PDF whose content should stay private needs an open password. A PDF with only a permissions password and restrictions can still be opened and read by anyone.
Checking whether text can be extracted from a PDF with restrictions only
To see how much a PDF with restrictions only is protected, I tested it with a sample PDF with a fictitious name and address. I set restrictions that allow printing only and prohibit copying text and images and changing the content, and then loaded the PDF with PDF.js, a library widely used to display PDFs.
The PDF opened with no password prompt, and all 423 characters of the text could be extracted. The same sample with an open password did not open, either when no password was entered or when a wrong one was.
What was set | Opens with no password prompt | Text can be extracted |
|---|---|---|
Restrictions and permissions password only | Yes | All 423 characters were extracted |
Open password only | No | No |
Open password, plus restrictions and permissions password | No | No |
A PDF with restrictions only is also encrypted, but the open password used for that encryption is empty, so any software can decrypt the content. The ban on printing or copying is a setting value stored in the PDF, and it works only because the software displaying the PDF follows that value. Software that does not follow it does not apply the restrictions.
Four free ways to password protect a PDF
The free ways to password protect a PDF compare as follows.
Method | Open password | Printing and copying restrictions | Is the PDF sent to an outside server |
|---|---|---|---|
The options when saving as PDF in Word | Yes | No | No |
Preview on Mac | Yes | Yes | No |
Online tools that process files on a server | Yes | Depends on the tool | Yes |
A tool that processes the file in the browser (the steps in this article) | Yes | Yes | No |
When you save a document as a PDF in Word, its "Options" include "Encrypt the document with a password". Microsoft's support page describes it this way: "To restrict access so only people with the password can open the PDF, select this option." It applies to documents created in Word and cannot add a password to an existing PDF.
In Preview on Mac, the "Permissions" button under File > Export sets both an open password ("Require Password To Open Document") and restrictions on printing and copying ("Owner Password"). The steps are in Apple's user guide.
Some online tools send the PDF to the provider's server for processing. A PDF you set a password on is one whose content you want to protect, so before using an online tool, check on its page where the PDF is processed.
The web app I built is the fourth method. It works on Windows, Mac and phones, and neither the PDF nor the password is sent anywhere. The encryption method is AES-256.
What you need
- The PDF to set a password on (up to 200 MB per file, or 100 MB on phones and tablets)
- A browser on a computer or phone
- The password to set (letters, numbers and symbols in ASCII characters)
Step 1: Open the PDF
Open the page below, and then choose the PDF to set a password on or drop it onto the page.

Add a password to a PDF and encrypt it. Set an open password, or restrict printing, copying and changes with a permissions password. Free, no sign-up, no app, no usage limit. Your PDF and passwords are processed in your browser and never uploaded.
Once the PDF is open, the file name, the number of pages, the file size and the password fields are shown.
Step 2: Enter the password
Enter the same password in "Open password" and in "Enter it again" below it. To check the characters you typed, press "Show passwords".
To restrict printing and copying as well, check "Restrict printing, copying and changes", and then set the "Allow" and "Permissions password" fields that appear as follows.
- Under "Allow", check the operations to allow out of "Printing", "Copying text and images" and "Changes (including annotations, form fields and rearranging pages)"
- In "Permissions password" and "Enter it again", enter a password different from the open password
The permissions password is the password used to change the restrictions. If it is the same as the open password, anyone who can open the PDF can also change the restrictions, so use a different one.
Step 3: Save with the password
Press "Save with password" to create the encrypted PDF, and its file name and file size are shown. Then press "Save", and it downloads with _protected added to the end of the original file name.
In my environment, encrypting the 53.2 KB sample PDF finished in under a second, and the saved PDF was 55.8 KB. The original PDF is not changed.
Checking that the password works
Before sending the PDF, open the saved file yourself and check it. There are three things to check.
- A password is asked for when the PDF is opened
- The PDF opens with the password you set
- The PDF does not open with a wrong password
For this check, use other PDF software, close to what the recipient will use, rather than the browser tab used in the steps.
I checked the encryption settings of the three kinds of PDF I saved (open password only, restrictions only and both), and all three used AES-256. Old software that does not support AES-256 may not open them, so if the recipient uses an old environment, confirm beforehand that the PDF opens.
Choosing a password and sharing it
How strong a password is depends on its length and the kinds of characters in it. Short passwords are easier to find by trying candidates one after another, so use 12 or more characters and combine uppercase letters, lowercase letters, numbers and symbols.
Adobe's help lists the following points to keep in mind when using passwords.
- Avoid information that is easy to guess, such as names or birth dates
- Do not reuse the same password across several documents
- Do not share passwords by email
If the password is sent in the same email as the PDF, anyone who can read that email can also open the PDF, so share the password through a different channel, such as a phone call or a messaging app.
If you forget the open password, the PDF can no longer be opened, so keep a record of the password or keep the PDF from before the password was set. Some recipients or organizations you submit files to do not accept password-protected PDFs, so check their instructions as well.
Frequently asked questions
Does it cost anything?
No. It is free, there is no account, and there is no limit on the number of uses.
Are the PDF and the password sent to a server?
No. Loading, encrypting and saving the PDF all happen in the browser on your device. To fix problems, processing statistics (such as the page count range, the kinds of password, the number of restricted operations and error types) are sent to the "Media Tools" server, but they do not include the content of the PDF, the file name or the password. You can stop sending them with the "Send processing statistics" switch near the bottom of the page.
Can I open a PDF whose password I have forgotten?
No. The web app I built does not guess passwords and never receives the passwords you enter, so I cannot look up a password even if you contact me.
Can I change or delete a password I set?
Yes. When you open a PDF whose password you know, you can choose "Change the password" or "Remove the password" under "What to do". A PDF with printing, copying and editing restrictions cannot be changed in either way until the permissions password is entered.
Can I set a password on a phone?
Yes. On phones and tablets, the PDF you open can be up to 100 MB per file.
Can I set a password on a digitally signed PDF?
Yes, but saving it invalidates the digital signature. If the signature has to stay valid, consider protecting the channel you send it through instead of setting a password.
Summary
To protect the content of a PDF, set an open password rather than printing and copying restrictions. The web app I built sets it for free without sending the PDF or the password anywhere. Setting a password on a PDF with Media Tools takes these three steps.
- Open the PDF on the "Password protect PDF" page
- Enter the open password, and set restrictions and a permissions password if needed
- Press "Save with password" and download the PDF
Before sending the saved PDF, open it in other software and check that it asks for the password. Share the password through a channel separate from the PDF.
Related articles and tools
A black box drawn over text in a PDF still leaves the words underneath readable by copying or searching. This article shows how to redact a PDF for free, with no sign-up and without sending it anywhere, by deleting the text itself, and how to check that nothing is left.

Free PDF redaction: black out text in a PDF and delete it from the file data. No sign-up, no app. Your PDF is processed in your browser and never uploaded. Before saving, the tool checks that no text remains.

Free tools to merge, split and compress PDFs, reorder, rotate, delete and crop pages, add page numbers, convert between images and PDF, write on PDFs, edit and redact text, add electronic seals, create bookmarks, and password protect PDFs, all in your browser. No sign-up, no app. Your PDF is never uploaded.


