How to Lock PDF File: Complete Guide Whether you are sending a contract, an invoice, or a confidential report, you may need to lock your PDF to prevent unauthorized access or unwanted modifications. Locking a PDF typically involves setting a password to open the file (open password) or applying restrictions to prevent editing, copying, and printing (permission password). This guide covers every method – from quick online tools to professional desktop software – and explains the difference between security levels so you can choose the right lock for your document. What Does "Locking a PDF" Mean? Locking a PDF can mean two different things, depending on your goal: Open password (user password): The PDF is encrypted, and a password is required just to open and view it. Without the correct password, the file is unreadable. This provides strong confidentiality. Permission password (owner password): The PDF can be opened freely, but actions like editing, copying text, printing, adding comments, or extracting pages are restricted. This prevents tampering but does not hide content. You can apply one or both types. For maximum security, use both: require an open password and also restrict editing/printing. Method 1: Lock PDF Using Online Tools (Fastest, No Installation) Online tools are the most convenient for quick locking of non‑sensitive documents. Do not upload confidential files to unknown online services. Using Our Protect PDF Tool: Go to Protect PDF. Upload your PDF. To set an open password: check "Require a password to open the document" and enter a strong password. To set permissions: check "Restrict editing and printing" and enter a permission password (different from the open password for better security). Choose restrictions: disable printing, disable copying, disable editing, etc. Click "Protect" and download your locked PDF. Our tool uses 128‑bit AES encryption and processes files in your browser without uploading them. Alternative Online Tools (Free, with Limits): SmallPDF Protect PDF: Free tier with watermark or daily caps. iLovePDF Protect PDF: Allows setting open password and permissions. Free for up to 2 tasks per day. Sejda PDF Password: No registration, 50 MB limit, no watermark. Privacy warning: Never upload sensitive documents (legal, medical, financial) to online tools – use offline software instead. Method 2: Lock PDF Using Adobe Acrobat Pro (Professional, Offline) Adobe Acrobat Pro offers the most comprehensive and secure PDF locking options, with 256‑bit AES encryption and granular permissions. Open your PDF in Adobe Acrobat Pro. Go to Tools > Protect > Protect Using Password. Choose one or both: Require a password to open the document – set an open password. Restrict editing and printing of the document – set a permission password. For permission restrictions, select allowed actions under "Printing allowed" and "Changes allowed". Printing: None, Low Resolution (150 DPI), or High Resolution. Changes: None, Commenting & filling forms, Filling forms & signing, or Any changes. Enable "Enable copying of text, images and other content" if you wish to allow it (uncheck to disable). Choose encryption level: 256‑bit AES (recommended). Click OK, then save the file. The PDF is now locked. Adobe Acrobat Pro costs about $15/month. The free Adobe Acrobat Reader can only apply permissions (not open password) and cannot lock files. Method 3: Lock PDF Using Free Desktop Software (Offline, No Upload) If you need offline locking without paying for Adobe, these free tools work well. PDF‑XChange Editor (Free version, Windows): Open the PDF in PDF‑XChange Editor. Go to File > Document Properties > Security. Set Security Method to "Password Security". In the dialog, you can set: "Require a password to open" – open password. "Restrict editing and printing" – permission password with restrictions. Click OK, then save the file. The free version adds a small watermark but the security features work fully. LibreOffice Draw (Free, Cross‑platform): Open the PDF in LibreOffice Draw (it imports as a drawing). Go to File > Export As > Export as PDF. Click the Security tab. Set a password to open, a password to restrict permissions, or both. Choose restrictions (disable printing, disabling copying, etc.). Export the PDF. The resulting file will be locked. Comparison Table: PDF Locking Methods Tool Price Open Password Permissions Encryption Privacy Online Protect PDF (DonePDF) Free ✅ Yes ✅ Yes 256-bit AES Files uploaded – not for sensitive Adobe Acrobat Pro ~$15/month ✅ Yes ✅ Yes (granular) 256-bit AES Local (offline) PDF-XChange Editor (free) Free (watermark) ✅ Yes ✅ Yes 128/256-bit AES Local LibreOffice Draw Free ✅ Yes ✅ Yes 128-bit AES Local Best Practices for Locking PDFs Use strong passwords: Minimum 12 characters, mix uppercase, lowercase, numbers, symbols. Avoid dictionary words or personal information. Use separate passwords for open and permissions: If someone gets the permission password, they may still not be able to open the file (if open password is different). Never send the password in the same email as the PDF. Use a separate channel: SMS, phone call, or password manager. Do not rely on permissions alone for confidentiality. Permission-only locking is weak and can be stripped by free tools. Always add an open password for sensitive content. Test the locked PDF. Open it in Adobe Reader or a browser to verify that the password works and restrictions apply as expected. Keep a backup of the unlocked original. If you lose the password, you may not be able to recover the locked version. Common Mistakes to Avoid Using weak or obvious passwords: "password", "123456", "company2026" – easily guessed. Forgetting the password: For open passwords, there is no recovery. Use a password manager. Sending the password in the same email as the PDF: If the email is compromised, the lock is useless. Assuming permission-only locks are secure: They prevent casual edits but can be removed by anyone with a free online tool. Locking without testing: Some PDF viewers may not enforce restrictions correctly. Always test. Over‑restricting: Disabling printing may frustrate recipients unnecessarily. Only disable what is required. Tools for PDF Management – DonePDF Utilities After locking your PDF, you might also need: Unlock PDF – Remove passwords or restrictions from your own files (requires password for open passwords). Compress PDF – Reduce file size after locking (compression does not remove encryption). Add Watermark – Mark as "CONFIDENTIAL" before locking. PDF to Word – Edit content after unlocking. Merge PDF – Combine multiple locked PDFs. You May Also Like – Related Articles How to Password Protect PDF How to Unlock Secured PDF How to Protect PDF from Editing How to Secure PDF Documents Related PDF Tutorials – Complete Learning Path Master every aspect of working with PDFs through our comprehensive guides: Introduction & Basics What is a PDF File History of PDF Format How PDF Files Work Benefits of Using PDF Security & Protection How to Password Protect PDF How to Lock PDF File How to Unlock Secured PDF How to Protect PDF from Editing How to Redact Information in PDF Conversion Guides How to Convert PDF to Word How to Convert Word to PDF How to Convert Excel to PDF Page Management How to Merge PDF Files How to Split PDF Files How to Compress PDF Use Cases & Best Tools Best PDF Tools for Business How to Use PDF for Contracts Common PDF Problems and Solutions Conclusion – Lock Your PDFs with Confidence Locking a PDF is essential for protecting sensitive documents, whether you need to prevent unauthorized viewing (open password) or restrict editing and printing (permission password). Use our free online tool for quick locks on non‑sensitive files. For confidential documents, use offline software like Adobe Acrobat Pro or PDF‑XChange Editor. Always use strong passwords, never share them in the same email, and keep a backup of the unlocked original. With this guide, you can lock any PDF to suit your security needs. Frequently Asked Questions How can I lock a PDF file for free? You can lock a PDF for free using several methods: Online: Use our Protect PDF tool. Upload your PDF, set an open password (required to view) and/or a permission password (restrict editing/printing), download the locked file. No registration, 256‑bit AES encryption. Offline (Windows): Download PDF‑XChange Editor (free version). Open PDF, go to File > Document Properties > Security > Password Security. Set passwords and restrictions, then save (free version adds a small watermark). Offline (cross‑platform): Use LibreOffice Draw – export as PDF with security options (passwords and restrictions). For sensitive documents, use offline tools. For quick, non‑sensitive files, our online tool works perfectly. What is the difference between open password and permission password? Open password (user password): Required to open the PDF. The file is encrypted with 256‑bit AES, and without the password, the content cannot be viewed at all. This is true confidentiality. Permission password (owner password): Does not restrict opening. Anyone can view the PDF, but actions like editing, copying text, printing, or adding comments are blocked. This prevents tampering but does not hide content. Permission-only protection is weaker and can often be removed by free online tools. For maximum security, use both: an open password to protect access, and a permission password to prevent modifications. Never share the open password in the same email as the PDF. Can I lock a PDF using Adobe Acrobat Reader for free? The free Adobe Acrobat Reader has limited locking capabilities. You can add a permission password to restrict editing and printing (Tools > Protect > More Protection > Restrict Editing and Printing), but you cannot set an open password (a password to open the file). The open password feature requires Adobe Acrobat Pro (paid, ~$15/month). For free open password protection, use our online Protect PDF tool or PDF‑XChange Editor. How strong should my PDF password be? Use a strong, unique password to prevent brute‑force attacks. Recommendations: Minimum 12 characters (longer is better). Mix uppercase and lowercase letters, numbers, and symbols (e.g., `B8#kLp$2mQw9`). Avoid dictionary words, names, birthdates, or common phrases. Do not reuse passwords from other accounts. Store passwords in a password manager (Bitwarden, 1Password, LastPass). If you lose the open password, the PDF is permanently inaccessible – there is no recovery. Therefore, always keep a backup of the unlocked original or store the password securely. How do I lock a PDF from printing? To disable printing, you need to apply a permission password (owner password) and restrict printing. Here is how: Using our online Protect PDF tool: Upload your PDF, check "Restrict editing and printing", uncheck "Printing allowed", set a permission password, download the file. Recipients can open but cannot print. Adobe Acrobat Pro: Tools > Protect > Protect Using Password > Restrict editing and printing > set "Printing allowed" to "None". PDF‑XChange Editor: File > Document Properties > Security > Password Security > set "Printing" to "Not allowed". Note that screen capture software can bypass printing restrictions. For truly confidential content, also set an open password. What encryption should I use for locking PDFs? Always use 256‑bit AES (Advanced Encryption Standard). This is the current industry standard, approved for top‑secret government documents. No known practical attack exists; brute‑forcing would take billions of years. 256‑bit AES: Use for all sensitive documents – available in our Protect PDF tool, Adobe Acrobat Pro, and PDF‑XChange Editor. 128‑bit AES: Also secure but slightly weaker; acceptable for internal, less sensitive files. 40‑bit RC4: Obsolete and can be cracked in minutes – avoid any tool that offers only RC4. Our online tool uses 256‑bit AES. When using other software, always select the highest encryption level available. How do I unlock a PDF that I locked and forgot the password? It depends on which password you forgot: Permission password (editing restrictions only): You can remove restrictions without the password using our Unlock PDF tool or PDF‑XChange Editor. These tools strip the weak permission layer. Open password (required to open the file): If you forgot the open password and the PDF uses 256‑bit AES, there is no way to recover it. The file is permanently inaccessible. No legitimate tool can break strong modern encryption. Your only hope is to remember the password, check password managers, or find an unlocked backup copy. Always keep a backup of important PDFs without passwords to avoid permanent loss.