Whether you need to secure a tax document on a Mac, share confidential legal contracts safely, or batch-protect hundreds of records, knowing how to lock a PDF file with password protection is an essential skill.
To lock a PDF file for free: Mac users can use the native Preview app (File > Export > Encrypt). Windows users can use the paid Adobe Acrobat Pro or rely on robust, offline third-party software like Folder Lock to encrypt PDF files securely without recurring subscription fees.
Free, basic protection built into Mac or Windows. Best for single, non-sensitive files.
Tools like Adobe or Foxit. Reliable, but often require expensive monthly subscriptions.
Offline software offering AES-256 batch protection without ongoing fees. (Recommended)
Before you learn how to lock a pdf file with password settings, you must understand a critical vulnerability in the PDF format itself. The PDF specification allows for two entirely different types of passwords, and choosing the wrong one leaves your data completely exposed.
1. The Permissions Password (Owner Password)
A permissions password is designed to restrict document access after the file is opened. You might use this to lock a pdf form from editing or to prevent document copying. However, a permissions password does not encrypt the text of the document. If you search for "lock pdf without password" or "unlock pdf", you will find hundreds of free online tools that can strip a permissions password in seconds because the underlying data was never encrypted.
2. The Document Open Password (User Password)
This is true document password protection. Setting an open password invokes encryption algorithms (ideally AES-256) to scramble the file's data. To access password protected pdf files of this type, the correct password must be supplied to the reader software to mathematically decrypt the contents.
If you only occasionally need to secure a document, you might be able to use tools already installed on your computer. Here is how to lock a pdf with a password using native or widely available software.
Apple includes a robust, free method for document password protection built directly into macOS.
This method applies a true open password, meaning the file cannot be viewed without the credential.
Many users search for "adobe acrobat reader password protect pdf" expecting a free solution. Unfortunately, while Adobe Reader is free to view PDFs, you cannot use the free version to add a password. To adobe acrobat password protect pdf files, you must subscribe to Adobe Acrobat Pro.
Similar to Adobe, the free Foxit Reader does not allow you to lock a pdf file from editing. You require Foxit PDF Editor (formerly PhantomPDF). If you have the paid version, go to Protect > Secure Document > Password Protect, check the box for Document Open Password, enter your key, and save.
While you can lock a pdf file online using various free web tools, doing so requires uploading your unencrypted, sensitive document to a third-party server. If the document contains confidential information, uploading it to an online tool file lock and unlock service violates basic document security software compliance protocols. For true security, files should always be encrypted locally.
Native tools are fine for single files, but if you need to batch password protect pdfs, secure office files before emailing, or want military-grade AES-256 encryption without paying expensive monthly Adobe subscriptions, we recommend Folder Lock.
Instead of opening PDFs one by one in a reader, Folder Lock creates a secure virtual vault on your hard drive. You can drag and drop hundreds of PDFs, protecting them instantly. Because it operates entirely offline, your sensitive data never touches a third-party server.
If you are managing sensitive information, relying on basic PDF reader features might not be enough. Here is what a dedicated file lock tool provides.
Instead of locking files individually, you can secure entire directories of PDFs, Word docs, and Excel files simultaneously in a single virtual locker.
Unlike online converter tools, offline encryption ensures your unencrypted original files never leave your computer's local hard drive.
Applies the same military-grade encryption algorithm trusted by compliance frameworks to protect document contents from brute-force access.
| Protection Method | Offline Processing | Batch Protect | No Recurring Fee | AES-256 Support |
|---|---|---|---|---|
| Mac Preview | ||||
| Free Online Tools | ||||
| Adobe Acrobat Pro | ||||
| Folder Lock |
A locked PDF file is only as secure as the password guarding it. Offline documents are particularly vulnerable to brute-force attacks, where automated tools guess millions of passwords per second. To ensure your document password protection holds up, use our offline evaluator below.
Test your password locally. No data is sent to any server.
We see thousands of queries from users asking how to edit lock pdf file or how to open lock pdf file after forgetting the password. If you are the owner of the document, here is how you manage recovery.
If you know the password but simply want to remove the restriction so you don't have to type it every time, you don't need special software. Open the PDF in Google Chrome, enter the password to view it, and then click the Print icon. Choose "Save as PDF" as your printer destination. The newly saved file will be an unprotected copy.
If the PDF is secured with a permissions password, yes. Many free tools can strip this flag. If the PDF is secured with a modern open password using AES-256 encryption, it cannot be "hacked" or bypassed. It can only be opened if the password is guessed (brute-forced). If you forget the password to a heavily encrypted file, the data is generally unrecoverable.
If you used our recommended tool to lock a folder containing your PDFs, and you forget your master password, you cannot simply bypass it. Folder Lock's AES-256 encryption prevents unauthorized access by design. To recover your data, you must use the official Master Key method linked to your registered email address and software serial number.
While native OS tools are free, they lack batch capabilities. Dedicated PDF editors often require ongoing subscriptions. Here is how Folder Lock compares.
Best for occasional, low-risk documents.
While built-in tools can handle basic document password protection, professionals handling sensitive data require true, batch-capable encryption. For securing PDFs, Office files, and archives efficiently without recurring fees, dedicated software is the safest choice.