How to Password Protect PDF Files (Step-by-Step)
Step-by-step guide to password protecting PDF files in 2026. Covers browser tools, Adobe Acrobat, Mac Preview, LibreOffice, and mobile apps — all free methods.
You have a PDF with sensitive information — a contract, a financial statement, medical records, personal data. You want to add a password before sharing it. This guide covers every method, from a quick browser tool to desktop software and mobile, so you can pick whichever fits your setup.
Understanding PDF Password Types
Before getting into the how, it helps to know there are actually two types of PDF passwords:
- Open password (User password): Required to open and view the document. Without it, the file looks like encrypted gibberish. This is what most people mean when they say "password protect a PDF."
- Permissions password (Owner password): Controls what a user can do with the document — printing, editing, copying text, filling forms. The document still opens normally but certain actions are restricted. The owner password is needed to change these restrictions.
For most situations where you want to secure a PDF before sharing, you want an open password. This ensures the recipient needs to enter a password just to view the file.
Method 1: Browser-Based PDF Password Tool (Fastest, Most Private)
A browser-based tool is the quickest method and — if it processes files locally — the most private option. No upload to any server means nobody else ever sees your document.
Using PeacefulPDF's password protection tool:
- Open the Protect PDF tool in your browser.
- Click Choose File and select your PDF.
- Enter your desired password in the password field. Confirm it.
- Click Protect (or Encrypt, depending on the interface).
- Download the password-protected PDF.
The encryption happens in your browser using JavaScript. The PDF never leaves your device. When you send the protected file to someone, they will need the password to open it.
Encryption level: Good browser tools use AES-256 encryption — the same standard used by banks and governments. This is strong enough for virtually any practical purpose.
Method 2: Adobe Acrobat (Free Reader Cannot, Pro Can)
Important distinction: Adobe Acrobat Reader (the free viewer) cannot add passwords. You need Adobe Acrobat Pro (paid subscription) or the free online converter at adobe.com.
Using Adobe Acrobat Pro:
- Open your PDF in Acrobat Pro.
- Go to File > Protect Using Password.
- Choose whether to password protect for viewing, editing, or both.
- Enter your password (Acrobat will rate its strength).
- Click Apply.
- Save the file.
Using Adobe's free online tool: Adobe offers a limited free tier at acrobat.adobe.com. You can password protect PDFs there without a subscription, but files are uploaded to Adobe's servers.
Method 3: Mac — Using Preview
Mac users have a fully free option built right into the OS. Preview can add password protection when exporting a PDF.
- Open the PDF in Preview.
- Go to File > Export as PDF (or File > Print > PDF > Save as PDF for more options).
- Click Show Details if the password fields are not visible.
- Check the box next to "Encrypt" (or look for the "Owner Password" and "User Password" fields).
- Enter your password.
- Click Save.
Preview uses AES-128 encryption, which is solid but slightly older than AES-256. For most practical purposes, this is more than sufficient.
Where the option hides: This is a common point of confusion. When you go to File > Export as PDF in Preview, you see a simple dialog. You need to click Show Details to expand the dialog and reveal the encryption checkboxes. They are not visible by default.
Method 4: LibreOffice (Free, Open Source, Desktop)
LibreOffice Writer (free open-source alternative to Microsoft Word) can export PDFs with password protection. If you are converting a document to PDF anyway, doing it this way adds protection in the same step.
- Open your document in LibreOffice Writer (or open the PDF in LibreOffice Draw).
- Go to File > Export as PDF.
- In the PDF Options dialog, click the Security tab.
- Click Set Passwords.
- Enter an open password (to require a password to view) and optionally a permissions password.
- Click OK, then Export.
LibreOffice supports AES-256 encryption. The process runs entirely on your local machine with no internet required. This is a great option for privacy-conscious users who already have LibreOffice installed.
Method 5: Microsoft Word (If Converting from Word to PDF)
If your original document is a Word file and you are creating a PDF from it, Word can add password protection during the PDF export.
- In Word, go to File > Save As.
- Choose PDF from the format dropdown.
- Click More Options... (or Options button).
- Check "Encrypt the document with a password".
- Enter your password.
- Click OK and Save.
The resulting PDF requires the password to open. This is a convenient one-step approach when the source is a Word document.
Method 6: iPhone and iPad
iOS does not have a built-in tool for adding PDF passwords. Your options are:
- PDF Expert (free tier): A popular iOS PDF app. The free tier supports basic features; password protection may require the paid version.
- Readdle PDF Office: Includes document protection features.
- Use a browser tool on your phone: Open Safari, navigate to a browser-based PDF protection tool, upload from Files, download the protected result.
Method 7: Android
Similar to iOS, Android does not have a built-in PDF password tool. Options:
- Adobe Acrobat app (free version): The mobile Acrobat app can add passwords with a free account.
- Browser tool via Chrome: Navigate to a web-based tool in Chrome, upload from your phone's storage, download the result.
Choosing a Strong Password
The encryption protecting your PDF is only as strong as the password you choose. A few guidelines:
- Length matters most: A 16-character password with simple words is harder to brute-force than an 8-character random string. Aim for at least 12 characters.
- Avoid obvious patterns: Birthdays, names, and simple sequences are tried first in any password attack.
- Consider a passphrase: Four random words strung together ("orange-cloud-river-table") are both memorable and strong.
- Store the password safely: If you lose the password to an AES-256 encrypted PDF, there is no practical way to recover the file. Use a password manager.
What PDF Password Protection Does Not Do
Setting expectations is important here. PDF password protection is useful but has limits:
- It does not prevent screenshots: Someone with the password can open the file and screenshot its contents. Password protection prevents access but not all possible misuse of content.
- Permissions restrictions are weak: PDF permissions (restricting printing, copying, etc.) are enforced by the PDF viewer software — not the encryption. A different viewer or a tool may ignore these restrictions entirely. Do not rely on permissions-only protection for sensitive content.
- Weak passwords are crackable: AES-256 is strong, but a short, simple password can be brute-forced. The algorithm is secure; a bad password is not.
- It does not redact content: The content is still there in the file — it is just encrypted. Redaction (permanently removing content) is a separate operation.
Removing Password Protection
Need to remove a password from a PDF you own? The process is the reverse: open the file with the password, then export it without password protection selected. See our guide on removing PDF passwords for detailed steps.
Quick Comparison
- Browser tool (PeacefulPDF): No install, private, AES-256, works everywhere. Best default choice.
- Mac Preview: Built-in, free, AES-128, no internet needed. Best for Mac users.
- LibreOffice: Free, AES-256, local processing, all platforms. Best for power users.
- Adobe Acrobat Pro: Best quality, most features, but requires paid subscription.
- Word export: Convenient if document starts in Word format.
For most people, a browser tool or Mac Preview covers every situation without spending anything. The encryption is strong, the process takes under a minute, and your document stays private throughout.