Hire me

Protect PDF with Password – Free Guide

You don’t need paid software to password-protect a PDF — free built-in tools do it properly. But know what a PDF password can and can’t stop before you rely on it.

  • Free guide
  • No sign-up
  • Methods ranked

Methods at a glance

  1. LibreOffice: export with password. File → Export as PDF → Security → Set passwords. Free, offline, the strongest free option.
  2. Microsoft Word: save with password. File → Save As → PDF → Options → encrypt with a password. Free.
  3. macOS Preview. File → Export → check Encrypt, set a password. Built in and private.
  4. Smallpdf / iLovePDF protect. Upload → set password → download. Quick online option; avoid for sensitive files.

Use a strong, unique password — and store it somewhere safe. A forgotten PDF password is effectively unrecoverable.

This is a complete guide: adding a password to a PDF needs a real encryption step, so here are the genuinely free methods ranked. LibreOffice, Microsoft Word and macOS Preview all add passwords free and offline. Below: step-by-step instructions, which password type to use, and the honest limits — a PDF password stops casual snooping, not a determined attacker.

Why is this a guide instead of a tool?

Password-protecting a PDF applies real encryption (AES-256 in current tools) — it can’t be faked inside a browser page, which is why this is a guide rather than a tool. The good news: the free methods below do it properly, with the same encryption paid software uses.

One honest warning up front: there are two PDF passwords, and only one of them is real protection. The open (user) password locks viewing the file — that’s what you want. The permissions (owner) password merely asks readers not to print or copy, and many free tools strip it in seconds. Always set the open password.

How can I password-protect a PDF for free?

LibreOffice (recommended free method)

Free, open-source, offline — and it lets you set both password types explicitly.

  1. Open your document (or the PDF) in LibreOffice.
  2. Go to File → Export As → Export as PDF.
  3. In the PDF Options dialog, open the Security tab and click Set passwords.
  4. Enter an open password (required to view the file). Optionally add a permissions password to restrict printing.
  5. Click Export and save the protected PDF.

Note: The open password is the real lock; the permissions password only restricts printing and editing.

Microsoft Word

If your source is a Word document, you can encrypt during the PDF export — free in desktop Word and Word for the web.

  1. Open the document in Word.
  2. Go to File → Save As and choose PDF as the format.
  3. Click Options… and check “Encrypt the document with a password”.
  4. Click OK, enter the password twice, then Save.

Note: Anyone opening the PDF will be asked for the password before it renders.

macOS Preview

Every Mac can encrypt a PDF with two clicks — fully offline.

  1. Open the PDF in Preview.
  2. Go to File → Export…
  3. Check the “Encrypt” box.
  4. Enter a password, verify it, and Save.

Note: Quick and private — nothing leaves your Mac.

Smallpdf / iLovePDF protect (online)

Handy when you can’t install anything, but the file and password pass through a third party’s servers.

  1. Go to smallpdf.com → Protect PDF (or ilovepdf.com’s protect tool).
  2. Upload your PDF.
  3. Enter a strong password and confirm it.
  4. Download the protected file.

Note: Convenient, but never use this route for sensitive documents — use an offline method instead.

Which method should I choose?

MethodWorks offlineCostBest for
LibreOfficeYesFree, unlimitedStrongest free option; both password types
Microsoft WordDesktop: yesFreeProtecting straight from a .docx
macOS PreviewYesBuilt in, freeQuick encryption on a Mac
Smallpdf / iLovePDFNoFree tierOne-off files on a borrowed computer

What are the limitations and privacy risks?

An open password stops casual snooping — not a determined attacker. AES-256 is genuinely strong, but anyone you give the password to can remove it and share the file freely. PDF passwords control access, not distribution.

Permissions-only passwords are nearly useless. “Do not print / do not copy” restrictions are stripped in seconds by many free tools. Never rely on them for real security.

Use a strong, unique password. Twelve or more characters, not a dictionary word, not reused from elsewhere. A weak password on strong encryption is still weak.

Don’t send the password with the file. Email the PDF, then send the password through a separate channel — SMS, a call or a messaging app.

For truly sensitive material, consider an encrypted ZIP/7z archive or proper access-controlled sharing (Google Drive link permissions) instead of — or in addition to — a PDF password.

When would I need this?

  • Emailing salary slips or bank letters that shouldn’t be casually opened.
  • Sharing contracts or quotations with a specific recipient.
  • Sending medical reports or academic transcripts.
  • Distributing exam papers or internal memos.
  • Protecting client deliverables before payment.

Troubleshooting common problems

I forgot the password I set. If it’s a strong open password, it’s effectively unrecoverable — that’s the point of encryption. Recreate the protected PDF from your unprotected original, and store passwords in a password manager next time.

The recipient says the password doesn’t work. Retype it into a plain text file first to rule out caps-lock or keyboard-layout issues, then send it via a separate channel — never pasted into the same email as the file.

They opened it fine, but the “do not print” restriction was ignored. Permissions passwords are advisory, not enforced — most PDF readers and tools can strip them. Use an open password for real protection.

An old PDF reader can’t open my protected file. Very old readers don’t support AES-256. Ask the recipient to update their PDF reader, or re-export with compatibility settings if the tool offers them.

I set a password but the file still opens without one. You likely set only the permissions password. Re-export and make sure you set the open (user) password — that’s the one that locks viewing.

Frequently asked questions

Is a password-protected PDF actually secure?

Against casual snooping, yes — modern tools use AES-256 encryption. But a permissions-only password (restrict printing) is trivially removed, and anyone you share the open password with can strip it. Use a strong open password and share it sparingly.

Can I password-protect a PDF for free?

Yes — LibreOffice, Microsoft Word and macOS Preview all do it free and offline. Never pay for basic PDF password protection.

What’s the difference between the two PDF passwords?

The open (user) password locks viewing the file — this is the real protection. The permissions (owner) password only restricts printing, copying or editing, and many free tools strip it in seconds.

I forgot my PDF password. Can I recover it?

If it’s a strong open password, effectively no — that’s the point of encryption. Keep the unprotected original and store the password in a password manager.

Should I email the password together with the protected PDF?

No — that defeats the purpose. Send the file by email and the password through a separate channel such as SMS, a call or a messaging app.

Can I protect a PDF on my phone?

Yes — free office apps and online tools like Smallpdf work on phones for quick jobs, though typing a strong password is easier on a desktop.