Home › Guides › How to Password Protect a PDF for Free
How to Password Protect a PDF for Free
You need to send a contract, a medical form, or financial records — and email is not exactly a vault. Password-protecting a PDF is the simplest way to keep prying eyes out, and you do not need to pay Adobe a subscription to do it. Every method below is free, works in 2026, and takes under five minutes.
There is one important caveat up front: a PDF password stops casual snooping, not a determined attacker with cracking tools. For truly sensitive documents, combine a strong password (12+ characters) with sending the file and the password through different channels — for example, email the PDF and text the password. Our guide to creating strong passwords will help you pick one worth using.
Method 1: LibreOffice (Windows, Mac, Linux)
LibreOffice is the best free all-rounder for this job because it runs on every major desktop OS and handles the whole task offline.
- Open your PDF in LibreOffice Draw (right-click the file → Open With → LibreOffice Draw).
- Go to File → Export As → Export as PDF.
- In the PDF Options dialog, click the Security tab.
- Click Set passwords… and enter an open password (required to view the file). You can also set a permissions password to block printing or copying.
- Click OK, choose where to save, and you are done.
Test the result before sending it: close everything, reopen the file, and confirm it asks for the password. If you ever need to merge PDFs or shrink a PDF afterward, do that before adding the password — most free tools cannot edit an encrypted file.
Method 2: Mac Preview (built-in, no install)
macOS has a free path that many people miss, using Preview's print pipeline:
- Open the PDF in Preview.
- Choose File → Print (or press ⌘P).
- Click the PDF button in the bottom-left of the print dialog and choose Save as PDF.
- Click Security Options…, tick Require Password To Open Document, and enter your password twice. You can also require a password to copy text or print.
- Save. The new file is encrypted; the original stays untouched.
This works on every modern macOS version and needs no extra software. If the Security Options button is greyed out, make sure you selected "Save as PDF" first — the options only appear for that destination. For more Mac tricks, see our HEIC to JPG guide.
Method 3: PDF24 Tools (Windows app or browser)
PDF24 Tools is a long-running free PDF suite with both a Windows desktop app and a browser version — handy if you cannot install software on a work computer.
- Go to PDF24's Protect PDF tool (or open it in the desktop app).
- Upload your PDF. Files are processed with encryption; the site states uploads are deleted from its servers after a short period — but for highly sensitive documents, prefer the offline desktop app.
- Enter your password, set permissions (printing, copying, editing), and download the protected file.
Security note: uploading sensitive documents to any online tool means trusting a third party. For tax returns, medical records, or legal documents, use an offline method (LibreOffice or Preview) instead.
Method 4: qpdf (command line, for automation)
If you are comfortable with a terminal, qpdf is a free, open-source tool that encrypts PDFs in one command — great for batch jobs.
qpdf --encrypt user-password owner-password 128 -- input.pdf output.pdf
Install it with brew install qpdf on Mac or sudo apt install qpdf on Linux; Windows builds are available from the qpdf download page. Replace user-password with the password recipients need, and owner-password with an admin password (it can be the same). The 128 selects 128-bit encryption.
Choosing a password people cannot guess
A PDF locked with "password123" is barely locked at all. Aim for at least 12 characters mixing words, numbers, and symbols — a passphrase like correct-teapot-bridge-77 is both strong and memorable. Never reuse a password you use for email or banking. And remember the golden rule: if you lose the password, the file is gone — PDF encryption has no "forgot password" link. Store it in a password manager the moment you create it.
How to remove a PDF password (your own files)
Sometimes you need to go the other direction — unlock a file you encrypted. Every method above can reverse itself:
- Preview (Mac): open the PDF with the password, then File → Print → PDF → Save as PDF without ticking the password boxes. The new copy is unencrypted.
- qpdf:
qpdf --password=yourpassword --decrypt input.pdf output.pdf - PDF24: its "Unlock PDF" tool removes a known password in one click.
Only do this for files you own or have explicit permission to unlock. Removing someone else's document password without consent can violate computer-misuse laws in many jurisdictions — and "I found it online" is not consent.
Sharing the password securely
A password sent in the same email as the file defeats the purpose — anyone who intercepts the email gets both. Use a separate channel:
- Best: phone call or in-person for the password; email for the file.
- Good: messaging app (Signal, WhatsApp) for the password if the file went by email.
- Avoid: putting the password in the email subject, the filename (
contract-password-blue42.pdf), or a sticky note in the same envelope.
For teams that share protected files regularly, a password manager with secure sharing replaces this dance entirely — grant access to the vault entry instead of passing passwords around.
Frequently asked questions
Can I password protect a PDF on my phone for free?
Yes. On iPhone, the Files app cannot do it directly, but the free PDF24 mobile web tool works in Safari or Chrome. On Android, several free PDF apps offer encryption — check the app permissions before installing, and avoid apps that demand access to your contacts or messages for a simple PDF task.
What is the difference between a user password and an owner password?
The user (open) password is required to view the document at all. The owner (permissions) password controls what can be done with it — printing, copying text, or editing. Most free tools let you set both; if you only set one, set the open password.
Can someone remove a PDF password?
An open password can only be removed by someone who knows it (or by brute-force cracking, which strong passwords resist). A permissions-only password is weaker — many free tools can strip it. So always set an open password for real protection.
Will a password-protected PDF still work everywhere?
Yes. The encryption used (AES-128 or better in modern tools) is part of the PDF standard, so the file opens in Adobe Reader, browsers, phones, and tablets — they will simply prompt for the password first.
I forgot my PDF password. Can I recover the file?
Not through any legitimate built-in feature — that is the point of encryption. Some paid recovery tools attempt brute force, which only works on weak passwords. Your best recovery is the backup copy you kept before encrypting, or the password stored in your password manager.
Disclosure: As an Amazon Associate, UtiliKit earns from qualifying purchases made through links on this page.