How to Protect a PDF With Password for Free (Mac, Windows, and Phone)
Need to protect PDF with password before emailing it or saving it on a shared computer? Good instinct. PDF files carry contracts, invoices, tax forms, and medical records — the kind of documents you don't want a stranger flipping through if they end up in the wrong hands. A password keeps casual eyes out, and the best part is you don't need to pay for anything. Your Mac already has a password tool built in, and Windows has several free routes that take about two minutes.
I've password-protected client invoices this way for years, and the process is simpler than most people expect. This guide walks you through every genuinely free method that works right now: macOS Preview, PDF24 Tools and LibreOffice on Windows, and honest phone options (including what your iPhone can't do, so you don't waste time looking). You'll also learn the difference between an owner password and a user password, how to pick a password you won't lose, and how to check the protection actually stuck.
Owner Password vs. User Password: Know Which One You Need
Before you click anything, it helps to know that PDFs support two different passwords, and mixing them up is the most common mistake people make:
- User password (also called the "open" or "document" password). This is the one that locks the front door. Anyone who tries to open the PDF must type this password, or they see nothing at all. If your goal is "nobody should be able to read this file," this is the password to set.
- Owner password (also called the "permissions" password). This one doesn't stop anyone from opening the file. Instead, it controls what they can do with it: print it, copy text from it, edit it, or extract pages. Someone can open the PDF freely, but their PDF reader will refuse (or ask for the password) when they try to print or copy.
Most tools let you set one or both at the same time. Here's the simple rule of thumb I give everyone:
- Want to stop people opening it — set the user/open password. That's the essential one for email attachments and shared folders.
- Want to let people read it but not print or copy it — set the owner/permissions password. Useful for reports, price lists, or drafts you share widely but don't want altered.
- Want both — set both, and use different passwords for each. Using the same password for both is like putting two locks on a door and handing out one key.
One honest note up front: PDF encryption is real encryption (modern tools use 128-bit or 256-bit AES), but it's not military-grade security. It keeps coworkers, roommates, and email snoopers out — that's everyday privacy, which is what nearly everyone actually needs. A determined attacker with specialized tools and enough time can sometimes crack weak PDF passwords. It's not the place for genuine state secrets. More on that later.
How to Protect a PDF With Password on a Mac (Free, Built In)
Mac users have it easiest. The Preview app that comes with macOS can add password protection with no downloads, no accounts, and no cost. The exact dialog labels have shifted slightly between macOS versions, so I'll describe what you'll see on recent releases.
Steps: Set an open password in Preview
- Open your PDF in Preview (double-click it — Preview is the default).
- Go to File → Export as PDF… in the menu bar. (On older macOS versions you may see File → Export…, then choose PDF as the format — same result.)
- In the save dialog, click the Permissions button at the bottom. If you don't see it, click Show Details first.
- In the Permissions dialog, check Require Password to Open Document.
- Type your password in the Password field and retype it in Verify.
- Click Apply, choose where to save the new file, and click Save.
Preview also lets you set a permissions password in that same dialog: check Require Password to Copy Text, Images and Other Content to stop copying, and you can pick which operations (printing, modifying) are allowed from the menus beside it. If you only check "Require Password to Open Document," you're setting the user/open password — that's what most people want.
Alternative route through Print: Preview can also do it via File → Print → PDF → Save as PDF…. That path doesn't always show the password options on newer macOS versions, so the Export as PDF → Permissions route above is the reliable one. I mention the Print route because you'll find it in older guides — if your dialog lacks a Permissions button, try the Export path first.
What to watch out for on macOS
- Save a new copy. Don't overwrite your only unprotected original unless you're sure — Preview's export creates a new file, which is the safe behavior. Keep the original somewhere safe (or delete it securely if the whole point was to protect it).
- The verification step matters. If the two password fields don't match, Preview won't warn you loudly — it just won't apply properly. Type carefully.
- Version differences. Apple occasionally renames menu items. If "Export as PDF…" is missing, look under File → Export… and confirm PDF is the selected format. The Permissions button has been stable for years, but on very old macOS you might find password options only in the Print → PDF path.
How to Protect a PDF With Password on Windows (Free)
Windows has no single built-in "password-protect a PDF" button, but you have three solid free options. None of them costs a cent, and the first two handle files you already have in PDF format.
Option 1: PDF24 Tools (free desktop app or online)
PDF24 Tools is a genuinely free PDF toolkit — no watermark, no trial countdown, no account. You can use it online in your browser or install the desktop app (the desktop version works fully offline, which is better for sensitive files since your PDF never leaves your computer).
Steps with the desktop app or online tool:
- Open PDF24 (desktop app) or go to the PDF24 Tools website and choose Protect PDF.
- Add your PDF file (drag it in or click to browse).
- You'll see fields for two passwords:
- User password (password to open): required to open the document.
- Owner password (permissions password): required to change permissions.
- Tick which permissions you want to restrict — typically printing and copying text/images — or leave the defaults.
- Click Protect / Save. The desktop app saves the protected PDF to your chosen folder; the online tool downloads it.
The offline desktop app is my recommendation for anything sensitive — invoices, contracts, IDs. Online tools are fine for low-stakes files, but uploading a tax return to any website you don't fully trust is a needless risk. If you use the online version, check that the site uses HTTPS and delete the file from their server after downloading (reputable ones do this automatically).
Option 2: LibreOffice (free, open source)
If you already have LibreOffice installed (it's free and open source), you can protect any PDF — or any document you can open — straight from it.
Steps:
- Open LibreOffice Writer (or open your document/PDF in LibreOffice).
- Go to File → Export As → Export as PDF.
- In the PDF Options dialog, click the Security tab.
- Click Set passwords…. Enter a permissions password (owner) and/or an open password (user), then confirm each.
- Back in the Security tab, under Restrict permissions, choose what to disallow: printing, changes, copying content, and so on.
- Click Export, choose the file name and location, and save.
LibreOffice also sets the encryption level here — leave it at the highest available (128-bit or 256-bit AES on current versions). There's no reason to pick weaker encryption.
Option 3: Microsoft Word (when your source is a Word document)
This one only helps if you're starting from a Word document rather than an existing PDF — but it's worth knowing because Word's option is one click away.
- Open the document in Word.
- Go to File → Save As and choose **PDF (*.pdf)** as the file type.
- Click Options… (next to the Save button).
- At the bottom of the Options dialog, check Encrypt the document with a password.
- Click OK, then Save. Word will ask you to enter and confirm the password.
Note that this encrypts the resulting PDF with an open password. If your file is already a PDF and you don't have Word's source document, use PDF24 or LibreOffice instead.
Windows tips that save headaches
- PDF24 vs. the Microsoft Store "free PDF protectors": the Store is full of "free" PDF apps that are ad-supported, watermark your file, or limit you to a few files before demanding payment. PDF24 and LibreOffice are the real free ones — no upsell wall.
- Test with a copy first. Before protecting the one original contract, try the steps on a throwaway PDF so you know where the buttons are.
- Don't protect the only copy of a file and then forget the password. This sounds obvious, but it happens constantly. Keep an unprotected backup in a secure place until you're certain the password is stored safely (more on that below).
How to Protect a PDF With Password on iPhone and Android
Let's be honest about phones, because there's a lot of misleading advice out there.
iPhone: what iOS can and can't do
iOS has no built-in way to password-protect an individual PDF. The Files app can't do it. There's no "set password" option when you share or save a PDF, and no hidden setting in the Shortcuts app that adds real PDF encryption. If a guide tells you otherwise, it's describing something else (like locking a note in the Notes app, which is not the same as protecting a PDF file).
That leaves you with two real routes on iPhone:
- Use a reputable free online PDF tool in Safari. The flow is the same everywhere: upload the PDF → set an open password → download the protected file. Pick a well-known tool with HTTPS and automatic file deletion. Only use this for non-sensitive files — I wouldn't upload a passport scan or a signed contract.
- Use a third-party office app. Some free office suites for iOS offer PDF protection features. Check the app's current feature list before installing, since free tiers change often.
Android: slightly better options
Android also has no system-level "password-protect this PDF" feature. But you have a couple of practical free routes:
- WPS Office (free tier). Open the PDF in WPS Office, tap Tools → Protect → Encrypt (menu names vary slightly by version), set your password, and save. This is the most reliable free on-phone method I've found on Android — the encryption happens on your device, not on someone's server.
- A reputable free online tool in Chrome. Same generic flow as iPhone: upload → set password → download. Same caution applies: fine for everyday files, not for your most sensitive documents.
- Do it on a computer instead. Honestly? If the file matters, protect it on your Mac or Windows PC using the methods above, then move the already-protected PDF to your phone. It takes the same two minutes and keeps sensitive files off random servers.
The phone rule of thumb
Phones are fine for quick jobs on low-stakes files. For anything with financial, legal, or identity details, use the desktop methods above. And never install a random "PDF Locker" app that asks for broad permissions — a password tool has no business reading your contacts.
How to Pick a Strong PDF Password (and Not Lose It)
A password you can't remember is worse than no password at all — because with no password you at least still have your file. This is the part people skip, and it's the part that matters most.
Make it long. Length beats cleverness. A 16+ character password — even a plain phrase like "correct horse battery staple" style word strings — resists guessing far better than a short, cryptic one. PDF password crackers chew through short passwords quickly; they stall on long ones.
Make it unique. Don't reuse your email password or your banking password for a PDF. If one gets exposed, the others fall too.
Store it in a password manager. This is the single best habit. Save the PDF password in your password manager with a note saying which file it belongs to. If you don't use a password manager yet, this is a good reason to start — losing a PDF password usually means losing the file permanently.
Write down the hint, not the password. If you must keep a reminder outside a password manager, write a hint only you would understand — never the password itself on a sticky note or in an unprotected text file.
The hard truth: if you forget the password and have no backup, that file is effectively gone. There are password-removal tools, but they work by brute force (guessing), and a strong password can take longer than the universe to guess. That's exactly why you made it strong — so treat the password as part of the file.
How to Check the Password Actually Worked
Never assume. Verifying takes thirty seconds and it's the difference between "protected" and "thought it was protected."
- Close the PDF completely — including closing the app you used to create it.
- Reopen it. You should be asked for the password before any page appears. If it opens straight through, something went wrong — redo the steps.
- Open it in a different app or reader. Try Adobe Acrobat Reader, your browser's built-in PDF viewer, or your phone. This catches the case where your main app remembered the password and skipped the prompt.
- Test the permissions too. If you set an owner password to block printing, try printing a page — the reader should refuse or demand the password.
- Send it to yourself. Email the protected PDF to your own address and open the attachment on another device. This simulates exactly what the recipient will experience.
If any check fails, delete the bad copy and re-protect from the original. Don't try to "fix" a broken protected copy — start clean.
What PDF Passwords Can't Do (An Honest Word on Security)
I want to be straight with you, because most guides oversell this.
PDF password protection is everyday privacy, not vault security. The encryption underneath is genuine — modern PDF encryption uses 128-bit or 256-bit AES, the same family of encryption that protects your Wi-Fi and your messaging apps. For keeping a document private on a shared computer, in an email inbox, or on a lost USB stick, it's absolutely sufficient.
But it's not unbreakable. Determined attackers with specialized password-recovery software can attack weak passwords with brute force. Some very old PDF encryption schemes (the 40-bit RC4 from the 1990s) are trivially broken — which is why you should always use current software with the highest encryption setting available, not some ancient tool from 2005. And no password protects a file once someone has photographed the screen while you're reading it.
So where's the line? Use PDF passwords confidently for: invoices, contracts, school records, HR documents, medical forms, anything you'd email to your accountant. Don't rely on a PDF password alone for: anything where a breach would be life-altering, files stored on computers you don't trust, or documents subject to serious regulatory requirements — those deserve proper encrypted storage and secure sharing channels, not just a PDF password.
None of this means PDF passwords are pointless. A locked door doesn't stop a battering ram either, but you still lock your door. Just know what the lock is for.
How to Remove a PDF Password Later
Changed your mind? If you know the password, removing it is easy: open the protected PDF, enter the password, then save or export an unprotected copy. In Preview on Mac, that's File → Export as PDF… with the Permissions checkboxes left unchecked. In most Windows tools, open the file and use Save As / Export without setting passwords.
If you've forgotten the password, that's a different problem — and there's a full walkthrough for that case too. See the companion guide on how to remove a password from a PDF for the standard methods, and how to remove a password from a PDF without software if you'd rather not install anything. Fair warning from the previous section applies: without the password, removal means brute-forcing it, and a strong password may never fall.
Frequently Asked Questions
Can I protect a PDF with a password for free without installing anything?
Yes. On a Mac, Preview is built in and needs no install. On Windows, free online tools like PDF24's web version can protect a PDF in your browser: upload the file, set the passwords, download the result. Just stick to non-sensitive files with online tools, and use HTTPS sites that delete uploads automatically.
What's the difference between the open password and the permissions password?
The open (user) password locks the whole document — nobody can view it without typing it. The permissions (owner) password leaves the document viewable but restricts actions like printing, copying text, or editing. Set the open password when you want privacy; add the permissions password when you want to share a file but control what recipients can do with it.
I protected a PDF on my Mac — will Windows users be asked for the password too?
Yes. PDF password protection is part of the file format, not the operating system. A PDF protected in Preview on macOS will prompt for the password in Adobe Reader on Windows, in Chrome's viewer, on Android, everywhere. That's the beauty of the standard — it travels with the file.
What happens if I forget my PDF password?
If you don't have an unprotected backup and you can't remember the password, your options are limited to brute-force recovery tools, which try password after password. A long, strong password can resist that effectively forever. This is why storing the password in a password manager at the moment you create it is so important. The companion removal guides cover what to try when the password is lost.
Does password-protecting a PDF change the file or reduce its quality?
No. Encryption doesn't touch the content, images, or formatting — it only scrambles the file's data until the correct password unlocks it. The protected PDF looks and prints exactly like the original once opened. File size changes are negligible.
Is a password-protected PDF safe to email?
For everyday purposes, yes — that's one of the most common reasons to protect a PDF. Email isn't a private channel (messages pass through servers and can sit in inboxes for years), so a password adds a real layer of protection if the message is intercepted or forwarded. Just send the password separately — a different email, a text message, or a call — never in the same message as the file.
Conclusion
Protecting a PDF with a password is free, takes minutes, and works on every platform you actually use. Mac owners get it built into Preview; Windows users get genuinely free tools in PDF24 and LibreOffice; phone users can get it done with an office app or, for quick low-stakes jobs, a reputable online tool. Remember the two decisions that matter: set the open password when you want privacy, add the permissions password when you want control — and store the password in a password manager the moment you create it. Verify the protection by reopening the file in a different app, and you're done. Everyday privacy, zero cost, no excuses left.