Password Protect a PDF: Every Free Method, Explained
iLoveConverter Team 4 min read
On this page
Sometimes you need to keep a PDF private — a financial statement, a contract, a confidential report. Password protection lets you control who can open your document and what they can do with it. PDFs support two types of password protection: an open password (requires a password to view) and a permissions password (controls printing, copying, editing). This guide covers how PDF password protection actually works, which free tools add it without uploading your file anywhere, and how to choose the right protection level.
What password protection does
PDF encryption uses AES (Advanced Encryption Standard) to scramble the document contents. Two password types:
-
Open Password (User Password) — required to open the PDF at all. Without it, the file is completely unreadable. Uses AES-128 or AES-256 encryption.
-
Permissions Password (Owner Password) — does not prevent opening the PDF, but restricts what the viewer can do:
- Allow/prevent printing
- Allow/prevent copying text and images
- Allow/prevent editing the document
- Allow/prevent form filling
A PDF can have both passwords. The open password protects viewing; the permissions password protects specific actions.
Method 1: Adobe Acrobat Pro (paid, most complete)
File → Properties → Security → Security Method → Password Security. Full control over all permission types and both passwords. The reference implementation — everything else imitates it. Expensive subscription.
Method 2: LibreOffice Draw (free)
Open the PDF in LibreOffice Draw → File → Export as PDF → Security tab → set open password, permissions password, or both, and pick the encryption level. Free and local, but the permission options are more limited than Acrobat’s, and a Draw import-export round trip can occasionally reshape complex form fields.
Method 3: macOS Preview (free, built in)
Open the PDF → File → Export → check “Encrypt” → set the password. Fast and built into every Mac. It sets an open password only — there is no UI for granular permission flags — but for “nobody opens this without the password” it is the fastest option on macOS.
Method 4: qpdf (command line, free)
qpdf --encrypt userpass ownerpass 256 --print=full --modify=none -- input.pdf output.pdf
Open-source PDF manipulation tool, available on Windows/macOS/Linux. Very powerful and scriptable — the right choice when you need to protect documents in bulk or as part of an automated pipeline.
Why browser-based tools rarely offer PDF encryption
Adding real AES encryption requires a PDF engine that implements the encryption spec — most browser-side PDF libraries, including the one powering this site’s PDF tools (merge, split, rotate, watermark, metadata), can read encrypted PDFs but do not write encryption. That is why you will not find a “protect PDF” tool on this site, and honest sites say so rather than fake one. Desktop tools also have a natural privacy advantage here: the file never leaves your machine at any step.
Strength of protection
| Encryption | Crack Time (approx.) | Notes |
|---|---|---|
| AES-256 | Decades (offline) | Strongest PDF standard |
| AES-128 | Years (offline) | Secure for most purposes |
| 128-bit RC4 | Days to weeks | Older, avoid if possible |
Actual cracking time depends on password strength. A 12-character random password is effectively unbreakable with any current technology.
Tips for best security
- Use a strong password. Minimum 12 characters, mix letters, numbers, symbols. Avoid dictionary words.
- Send the password separately. Do not include the password in the same email as the PDF — ideally send it over a different channel entirely.
- Do not rely on permissions alone. PDF permissions are software-enforced, not mathematically secure. Tools like qpdf can strip permission flags from an unrestricted-open file. For real confidentiality, use an open password.
- Keep the original unprotected. Password-protect a copy for sharing, keep the master unprotected so you are never locked out of your own document.
FAQ
Does password protection actually secure my PDF?
An open password with AES encryption is mathematically secure — the file content is scrambled. Permissions passwords are not secure — they are enforced by PDF reader software and can be bypassed by tools that rewrite the file.
Can I remove password protection later?
Yes — if you know the password. Acrobat, LibreOffice and qpdf can all re-export or rewrite the file without encryption when you supply the correct password. Do not lose the open password: without it (and without a backup), recovery is effectively impossible.
What if I forget the password?
If it is an open password with strong encryption, recovery is essentially impossible — there is no backdoor in AES. If you keep no unprotected backup, the PDF is permanently lost.
Is an online password-protect tool safe to use?
It depends entirely on where the encryption runs. If the tool encrypts the file in your browser before anything is transmitted, the file is never readable in transit. If it uploads the unprotected PDF to a server first — which most online protectors do — the service sees your document. For sensitive files, prefer desktop tools that work entirely offline.
Can people with cheap PDF readers open my protected PDF?
Yes. The PDF encryption standard is universal — any modern PDF reader (Adobe, Preview, Edge, Chrome) handles password-protected PDFs, they just prompt for the password first.
Try it yourself — free, right in your browser
Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.
Format deep-dives: PDF (.pdf)