To unlock a PDF, open it with its password and save a copy without the password. On a Mac, open the file in Preview, choose File > Edit Permissions, deselect Require Password To Open Document and click Apply. To password-protect a PDF on a Mac, choose File > Export in Preview, click Permissions, select Require Password To Open Document, enter the password twice, then click Apply and Save. On iPhone and iPad, open the PDF in the Preview app, tap the button next to the file name, then tap Lock. You cannot unlock a PDF whose open password you do not know.
Updated 7 November 2026. The Apple steps below were checked against Apple's Preview User Guide for Mac, the iPhone User Guide (iOS 26 and iOS 27) and the iPad User Guide on that date. The encryption tests in this article were run the same day.
Locked, protected, restricted: three different things
"Locked PDF" can mean three things. The fix depends on which one you have.
- Open password (user password). The PDF asks for a password before it shows anything. The file is encrypted. Without this password, nobody can read it, and you cannot unlock it.
- Permissions password (owner password). The PDF opens without a prompt, but printing, copying text or editing is blocked. Changing those settings needs the owner password.
- The Locked checkbox on a Mac. Preview and Finder can mark a file as Locked so it cannot be edited or deleted. This is a file setting, not a password. Apple's Preview guide says you deselect the Locked checkbox next to the document's name in the title bar, or in Finder with File > Get Info.
A PDF can have an open password and a permissions password at the same time. Unlocking it fully means saving a copy with neither.
All methods compared
| Method | Device | Unlock | Password-protect | Your file leaves the device? |
|---|---|---|---|---|
| Preview: File > Edit Permissions or File > Export > Permissions | Mac | Yes, with the password | Yes, open password and owner password | No |
| Print > PDF > Save as PDF > Security Options | Mac, any app that prints | Print copy has no password (flattens forms) | Yes | No |
| Pages, Numbers, Keynote export | Mac | Not applicable | Yes, "Require password to open" | No |
| Preview: Lock | iPhone, iPad (iOS 26 and later) | Not documented by Apple | Yes | No |
| Adobe Acrobat Pro | Mac, Windows | Yes, Remove Security | Yes | No |
| Microsoft Word, Save as PDF with Options | Windows | Not applicable | Yes, "Encrypt the document with a password" | No |
| Online tools (Smallpdf, iLovePDF, Adobe online) | Any browser | Yes, with the password | Yes | Yes, uploaded to the vendor |
How to unlock a PDF on Mac
You need the password. Preview handles both kinds of PDF password.
Remove the open password in Preview
- Open the PDF in Preview and enter the password when asked.
- Choose File > Edit Permissions.
- Deselect Require Password To Open Document.
- To lift printing or copying limits as well, select the checkboxes for those actions.
- Click Apply. If the file has an owner password, Preview asks for it.
Apple says changes take effect the next time the PDF is opened. Close the file and open it again to check that it no longer asks for a password.
Keep the locked original and make an unlocked copy
- Open the PDF in Preview with its password.
- Choose File > Export and type a new name for the copy.
- Click Permissions, deselect Require Password To Open Document, then click Apply.
- Click Save.
On older versions of macOS, the Export dialog shows an Encrypt checkbox instead of a Permissions button. Leave it unchecked and the exported copy has no password.
Fallback: print to a new PDF
If Preview asks for an owner password you do not have, and the file allows printing, choose File > Print, click the PDF pop-up menu and choose Save as PDF. The printed copy has no password. Form fields and comments become part of the page, so the copy is flattened (see how to flatten a PDF). This does not work when printing is blocked.
The full walkthrough, including Windows, is in how to remove a password from a PDF.
How to password-protect a PDF on Mac
Preview: add an open password
- Open the PDF in Preview.
- Choose File > Export. To keep the original without a password, enter a new name for the copy.
- Click Permissions.
- Select Require Password To Open Document, then enter and retype the password.
- Under Owner Password, enter and retype an owner password. It can be the same as the open password or different.
- Click Apply, then click Save.
Preview: restrict printing, copying or editing
In the same Permissions dialog, or with File > Edit Permissions on the open file, deselect the actions you want to block. Apple's guide says a deselected action then requires the owner password. Keep the owner password somewhere safe: you need it to change the permissions later.
From any app: the Print dialog
Apple's Mac User Guide describes a second route that works in any app that prints. Choose File > Print, click the PDF pop-up menu, choose Save as PDF, then click Security Options. You can require passwords for opening the document, copying from it and printing it.
From Pages, Numbers or Keynote
Choose File > Export To > PDF and select "Require password to open". Apple notes the password applies only to the exported copy. If the original document already has a password, it carries over to the PDF unless you change or remove it in the same dialog.
What encryption does a Mac use?
Apple's guides do not state the encryption method, so we tested it. On 7 November 2026 we encrypted a one-page PDF on macOS 15.6 with PDFKit and with Quartz, the two Apple frameworks behind Preview's export and the Print dialog's Save as PDF. Then we read the encryption dictionary of each file with pypdf 6.7.3.
| How the file was encrypted | Encryption written | Opens without the password? |
|---|---|---|
| PDFKit, open + owner password | AES with a 128-bit key (PDF security handler revision 4) | No |
| Quartz PDF context, open + owner password | AES with a 128-bit key (revision 4) | No |
| Quartz, 128-bit key length requested | AES with a 128-bit key (revision 4) | No |
AES-128 is a strong cipher. In practice the weak point is the password itself, so use a long one. If your organisation requires AES-256, check the setting in the app you use before you send the file.
How to unlock and password-protect a PDF on iPhone and iPad
The Preview app arrived on iPhone and iPad with iOS 26 and iPadOS 26. Apple's guides describe locking a PDF there. They do not describe removing a password.
Password-protect a PDF on iPhone (iOS 27)
- Open the PDF in the Preview app.
- To keep a copy without a password, tap the button next to the file name, then tap Duplicate, and work on the duplicate.
- Tap the button next to the file name, then tap Lock.
- Enter the same password in the Password and Verify fields. On iOS 27 the Require Password toggle turns on by itself.
- Tap the checkmark to apply the change.
Password-protect a PDF on iPhone (iOS 26) and iPad
- Open the PDF in Preview. Duplicate it first if you want to keep an unprotected copy.
- Tap the button next to the file name, then tap Lock.
- Turn on Require Password, then enter the same password in the Password and Verify fields.
- Tap Done.
The iPad User Guide gives these steps for iPadOS 26 and iPadOS 27.
Unlock a PDF on iPhone or iPad
To read a protected PDF, open it in Preview and type the password. To save a copy without the password, try this on a file you know the password for:
- Open the PDF in Preview and enter the password.
- Tap the button next to the file name, then Duplicate.
- In the duplicate, open Lock again and turn off Require Password.
- Close the file and open it again. If no prompt appears, the copy is unlocked.
Apple does not document step 3, so the reopen test is your proof. If it fails, print to a new PDF instead: tap Print, tap the Share button in the print options, then Save to Files. Printing flattens form fields and works only when the PDF allows printing. You can also send the file to a Mac through iCloud Drive and use Preview there.
Other iPhone apps
Adobe's documentation for Acrobat on iOS says password protection is for "Subscribers to Adobe Acrobat Premium or Adobe Acrobat Pro DC". The app saves a copy named with "_protected" to Adobe cloud storage and leaves the original unchanged. Adobe adds that you remove the password with desktop Acrobat. As of 7 November 2026, per that page.
Limits of the built-in methods
- Apple documents adding passwords on iPhone and iPad. Removing one there is not documented.
- The encryption strength is not shown in Preview, and our test found AES-128 on macOS 15.6.
- Changing permissions in Preview needs the owner password, which senders rarely share.
- The print fallback flattens forms and comments, and fails when printing is blocked.
- Preview works on one file at a time.
- A permissions password does not stop every app from reading the text (see our test below).
How to unlock or password-protect a PDF on Windows
Adobe Acrobat Pro. Adobe's help pages describe File > Protect Using Password, or the Protect tool, where you choose whether the password is needed to view or to edit. Advanced Password Protection lets you set "Require a password to open the document" and permissions separately. Adobe notes that this password must be at least six characters long. To unlock, open the file with its password and choose Remove Security from the Protect or Encrypt tools. Menu names differ between Acrobat versions.
Microsoft Word. Microsoft's guide to saving as PDF in Office desktop apps lists an option called "Encrypt the document with a password". Choose File > Save As, pick PDF, click Options, select that option and click OK. Word then asks for the password twice. This adds a password to the new PDF, not to the Word file.
Browser print. Edge and Chrome open a protected PDF once you type the password. Printing it to Microsoft Print to PDF creates a copy without a password, flattened, and only when printing is allowed.
Online unlock and protect tools: what happens to your file
Online tools upload your PDF to the vendor's servers. That is fine for a flyer. Think twice for a bank statement, a contract or a medical letter. As of 7 November 2026, per each vendor's own page:
- Smallpdf Protect PDF lists "AES 128-bit encryption" and says files are "permanently deleted from Smallpdf servers after one hour."
- iLovePDF Protect PDF says it encrypts your PDF with a password. That page names no encryption strength and no retention period. It warns that "Some applications not following PDF standards may not correctly apply these restrictions."
- Adobe Acrobat online says your file "will be securely handled by Adobe servers and deleted unless you sign in to save it." The page does not name the encryption strength of the online tool.
Two points apply to all of them. You send the password to the same service that holds the file. And a copy of the unprotected original travels over the internet before it is protected. For private documents, the offline methods above keep everything on your device. More in are online PDF editors safe.
Our test: what a permissions password really stops
A permissions password feels like protection. We checked how much it holds. On 7 November 2026 we made a one-page PDF containing a fake account number and saved it with PDFKit with an owner password only, with printing, copying and editing all disallowed. Then we opened it with common tools.
| Check | Result |
|---|---|
| Encryption written | AES-128, permissions set to block print, copy and change |
| Opens without any password? | Yes |
pdfinfo (Poppler 26.02) | Reports "print:no copy:no change:no" |
pdftotext (Poppler 26.02) | Extracted the full text, account number included |
| pypdf 6.7.3 text extraction | Extracted the full text |
The lesson: a permissions password asks apps to behave. Apps that follow the PDF rules honour it. Tools that ignore the rules read the text anyway, because the file has to be readable to be displayed. If the content must stay private, set an open password. If text must never leave the document, remove it with a redaction tool (see how to redact a PDF).
How to choose a PDF password
- Use a long passphrase. Four or five unrelated words beat a short, complex password. Tools that "recover" PDF passwords guess them one after another, which only works for short or common ones.
- Send the password another way. If you email the PDF, send the password by text message or tell the person in a call.
- Store it. Put the password in your password manager with a note naming the file. Nobody can recover a lost open password for you.
- Check with the recipient. AES-encrypted PDFs open in current PDF apps. Very old readers may fail on AES-256.
- Keep an unprotected master. For your own files, keep the original in a safe place and send the protected copy.
Troubleshooting
The password is not accepted
PDF passwords are case-sensitive. Type it instead of pasting, so no space sneaks in, and check the keyboard layout for special characters. Bank statements often use a date of birth in a set format, so check the format in the sender's email.
Preview asks for an owner password I do not have
The sender set permissions separately from the open password. Ask for an unrestricted copy, or use the print fallback if printing is allowed.
The unlocked copy still asks for a password
Apple says permission changes take effect the next time the PDF is opened. Close it, open it again, and make sure you opened the new copy and not the original.
I cannot edit a PDF, but it has no password
Check the Locked checkbox next to the file name in Preview, or in Finder with File > Get Info. If it is a scan, the page is a picture and has no text to edit. See why can't I edit a PDF.
My Pages export has a password I did not set
Apple says a Pages document's password applies to its PDF exports. Deselect "Require password to open" in the export dialog, or change the password there.
I forgot the password
Search your password manager and the email that came with the file. Ask the sender for the password or a new copy. Check the portal the document came from. No honest tool can open a strong open password without it.
PDF Opus: the best app for unlocking and password-protecting PDFs (top pick)
The best app for unlocking and password-protecting PDFs is PDF Opus, a PDF editor for iPhone, iPad and Mac. Password-protect PDFs with AES-128 or AES-256. Remove a PDF's password when you know it. Your documents are processed on your device. The app only goes online for purchases, licence checks (direct version) and update checks (direct version).
Related guides: how to password-protect a PDF on Mac, how to remove a password from a PDF and PDF security: encryption, passwords and redaction.
Frequently asked questions
How do I unlock a PDF?
Open it with its password, then save a copy without one. On a Mac, use Preview's File > Edit Permissions and deselect Require Password To Open Document. On Windows, use Remove Security in Acrobat Pro. Without the password you cannot unlock it.
How do I password-protect a PDF?
On a Mac, open it in Preview, choose File > Export, click Permissions, select Require Password To Open Document, enter the password twice, click Apply and Save. On iPhone or iPad, open it in Preview, tap the button next to the file name, tap Lock and set a password.
How do I secure a PDF with a password on Mac without extra software?
Preview does it. You can also use File > Print > PDF > Save as PDF > Security Options from any app, or the "Require password to open" option when you export from Pages, Numbers or Keynote.
Can I password-protect a PDF on iPhone?
Yes, on iOS 26 and later, in the Preview app: tap the button next to the file name, tap Lock, enter the password twice and confirm. Duplicate the file first if you want an unprotected copy.
Can I unlock a PDF without the password?
Not one with an open password. The password is the key that decrypts the file. A PDF with only a permissions password opens without a prompt, but changing its permissions in Preview or Acrobat still needs the owner password.
Does a PDF password stop people from copying the text?
An open password does, for anyone who does not have it. A permissions password does not reliably: in our test, two common tools extracted the full text of a copy-protected PDF.
Is AES-128 secure enough for a PDF?
For most personal and business files, yes. The password is the weak point. A long passphrase matters more than the difference between AES-128 and AES-256.
How do I add password protection to a PDF in Word?
In Word on Windows, choose File > Save As, pick PDF, click Options and select "Encrypt the document with a password". On a Mac, save the PDF first, then add the password in Preview.
Is it safe to unlock or protect a PDF online?
The tool receives the file and the password. Read the vendor's retention policy first. Smallpdf, for example, says it deletes files after one hour. For private documents, use Preview or another app that works on your device.