How to Password Protect a PDF — Free, In Your Browser (2026)

PDF Password AES-256 Encryption Privacy Security
PDF encryption — key facts
AES-256modern PDF 2.0 standard
100% localnothing uploaded
2 password typesopen vs owner
No recoveryforget it, it's gone

You need to email a signed contract, a tax return, or a medical record, and you do not want anyone who intercepts the file — or grabs the wrong laptop — to read it. Password protecting the PDF encrypts the contents so only someone with the password can open it. The catch that trips people up: most "protect PDF online" tools upload your sensitive file to a stranger's server to do the encrypting. This guide shows you how to add strong AES-256 encryption without that risk, plus exactly how the built-in options on Mac and Windows compare.

1. Quick Answer

How to password protect a PDF: Open Convertlo's free Protect PDF tool, drag your PDF onto it, type a password, and click Protect. It adds an AES-256 open password — the strong modern PDF encryption standard — using qpdf compiled to WebAssembly, so everything runs 100% in your browser. The file and the password never leave your device and nothing is uploaded.

On a Mac you can also use Preview → File → Export → Encrypt. In Microsoft Word, choose Encrypt with Password when saving as PDF. All three are free and need no Adobe subscription. Whichever you use, write the password down first — a forgotten open password cannot be recovered.

2. Why Password Protect a PDF

A PDF is a container that travels — over email, through shared drives, onto USB sticks, into cloud folders. Every one of those hops is a place the file can end up somewhere you did not intend. Encryption is what makes the file useless to anyone who gets it without the password.

The documents people most often protect are the ones with real consequences if they leak:

  • Financial documents — tax returns, bank statements, pay stubs, invoices with account numbers.
  • Legal and HR files — signed contracts, NDAs, offer letters, settlement agreements.
  • Medical records — lab results, prescriptions, and anything covered by HIPAA-style confidentiality expectations.
  • Identity documents — scans of passports, driver's licenses, and government forms.
  • Business material under compliance rules — GDPR, HIPAA, SOC 2, and similar frameworks all expect sensitive data to be encrypted "at rest" and "in transit." A password-protected PDF is one of the simplest ways to satisfy that for a single document you are about to send.

Encrypting the file at the source means it stays protected wherever it travels afterward — the recipient needs the password to open it, and so does anyone who intercepts it in between.

3. Open Password vs Owner Password

The PDF standard supports two completely different kinds of password, and confusing them is the most common security mistake people make. They protect against different things.

Open password (user password)

Required just to open and view the file. The PDF's contents are encrypted, so without this password the document cannot be decrypted or read at all. This is real confidentiality.

Owner password (permissions password)

Leaves the file readable by anyone, but restricts actions like printing, copying text, or editing. The document is not encrypted — the reader is simply asked to honor permission flags.

A single PDF can carry an open password, an owner password, both, or neither. The important distinction: an open password gives you genuine security because the content is encrypted and unreadable without the key. An owner-password-only file is far weaker — because the document itself is not encrypted, many PDF readers and command-line tools can simply ignore the permission flags and print or copy anyway. If your goal is to keep the contents private, you want an open password. That is what Convertlo's Protect PDF tool adds.

4. What AES-256 Means for Your PDF

AES-256 is the Advanced Encryption Standard using a 256-bit key. It is the encryption defined for modern PDFs in the PDF 2.0 (ISO 32000-2) specification, and it is the same class of encryption trusted by banks, governments, and password managers.

Here is what happens at a high level when you set an open password:

  1. Your password is run through a key-derivation step that turns the text you typed into a fixed-length encryption key.
  2. That key is used to encrypt the streams inside the PDF — the text, images, and fonts that make up the actual content.
  3. When someone opens the file and enters the correct password, the reader re-derives the key and decrypts the content on the fly. An incorrect password derives the wrong key, and the data stays scrambled.

Older PDFs used RC4 or 128-bit encryption, both of which are now considered weak — RC4 in particular has known cryptographic flaws. AES-256 has no known practical brute-force break when it is implemented correctly. That is worth sitting with for a second: the algorithm is essentially never the weak link. Your password is. A 256-bit key is unbreakable by brute force, but a password like summer2024 can be guessed by a dictionary attack in seconds regardless of how strong the underlying cipher is.

5. Password Protect a PDF with Convertlo

Convertlo's Protect PDF tool runs qpdf compiled to WebAssembly directly in your browser. The encryption happens on your own machine — the PDF is read, encrypted, and re-saved locally, and neither the file nor the password is ever transmitted to or stored on any server. That is a real, structural privacy advantage over upload-based tools, and it is exactly what you want for sensitive documents.

1
Open the Protect PDF tool

Go to convertlo.pro/protect-pdf.html in any modern browser — Chrome, Edge, Firefox, or Safari. Works on Windows, Mac, Linux, iPhone, and Android. No account and no install.

2
Add your PDF

Drag the PDF onto the drop area, or click to browse and select it. The file is loaded into the page — it is not uploaded anywhere.

3
Type a strong password

Enter the password you want to require to open the file. Use a long, unique passphrase (see the tips below). This becomes the AES-256 open password.

4
Protect and download

Click Protect. qpdf encrypts the PDF in your browser and the encrypted copy downloads to your device. Open it to confirm it now prompts for the password before it displays.

Password protect your PDF — free, private, no install

AES-256 encryption in your browser. The file and password never leave your device.

6. Every Method Compared

Four common ways to add a password to a PDF, and how they stack up on the two things that matter most: how strong the encryption is, and whether your file is uploaded.

Method Encryption Installs anything? Private (no upload)?
Convertlo Protect PDF AES-256 No — runs in browser Yes — 100% local
macOS Preview (Export → Encrypt) AES (128-bit) No — built into macOS Yes — offline app
Microsoft Word (Encrypt with Password on Save as PDF) AES-256 Needs Word installed Yes — offline app
Adobe Acrobat (Pro) AES-256 Paid subscription + install Yes — offline app

A few notes on each:

  • Convertlo is the only option that needs nothing installed and keeps the file on your device. It is the practical choice on a locked-down work computer, a Chromebook, or a phone.
  • macOS Preview is excellent if you are on a Mac — it is built in and offline — but Apple's implementation uses AES-128 rather than 256. Still strong, just a notch below the modern standard.
  • Microsoft Word applies AES-256 through File → Save As → PDF → Options → "Encrypt the document with a password." It only works if the source is (or can become) a Word document, and you need Word installed.
  • Adobe Acrobat is powerful and gives you fine-grained control over both open and owner passwords, but the encryption features live in the paid Acrobat Pro tier, which is overkill for occasionally locking one file.

7. How to Choose a Strong Password

Because AES-256 itself cannot realistically be brute-forced, the entire security of your protected PDF rests on the password. Treat it accordingly:

  • Length beats complexity. A long passphrase like river-copper-lantern-89 is far harder to crack than a short scramble like P@w7!, and much easier to type. Aim for 16 characters or more.
  • Make it unique. Do not reuse a password you already use for email or banking. If the PDF's password leaks, you do not want it unlocking anything else.
  • Avoid the obvious. Names, birthdays, 123456, the company name, and password1 are the first things a dictionary attack tries.
  • Do not send the password with the file. Email the protected PDF, then share the password through a different channel — a text message, a phone call, or a password manager's secure-share link.

Tip: Let a password manager generate and store the passphrase. You get maximum randomness without having to memorize anything, and the password is safely recorded — which matters a lot, given the next section.

8. There Is No Recovery — Save the Password

If you forget the open password, the PDF is gone. AES-256 encryption is designed so the content cannot be read without the key derived from your password. There is no reset link, no back door, and no support desk that can unlock it — and because Convertlo encrypts entirely in your browser, no one ever had a copy of your password to look up. Save the password in a password manager before you send or archive the file.

This is the single most important thing to understand about strong PDF encryption, and it is a direct consequence of the encryption actually working. The same property that stops an attacker from opening your file also stops you from opening it if you lose the password. There is a meaningful difference here between the two password types: an owner (permissions) password can often be stripped because the file is not encrypted, but a forgotten open password on an AES-256 file is unrecoverable by design.

Already locked out of a file — or received a protected PDF whose password you legitimately know and want to remove? Use Convertlo's Unlock PDF tool, which removes the password (when you can supply it) in the browser, the same private way it adds one.

9. Frequently Asked Questions

How do I password protect a PDF for free?
Open Convertlo's Protect PDF tool at convertlo.pro/protect-pdf.html, drag your PDF onto it, type a password, and click Protect. The tool uses qpdf compiled to WebAssembly to add an AES-256 open password entirely in your browser — the file and the password never leave your device, and nothing is uploaded. On a Mac you can also open the PDF in Preview and use File > Export with the Encrypt checkbox, and in Microsoft Word you can choose Encrypt with Password when saving as PDF. All three are free and require no Adobe subscription.
What is the difference between an open password and an owner password on a PDF?
An open password (also called a user password or document-open password) is required just to open and view the PDF — without it the file cannot be decrypted or read. An owner password (also called a permissions password) leaves the file readable by anyone but restricts actions like printing, copying text, or editing. A PDF can carry either password, both, or neither. Open passwords provide real confidentiality because the content is encrypted; owner-password-only restrictions are weaker because the document is not encrypted and many PDF readers can ignore the permission flags.
Is AES-256 encryption on a PDF secure?
Yes. AES-256 is the Advanced Encryption Standard with a 256-bit key and is the modern encryption standard used for PDFs under the PDF 2.0 specification. It is the same class of encryption used by banks, governments, and password managers, and there is no known practical way to break a properly implemented AES-256 open password by brute force. The real weakness is almost never the algorithm — it is a weak password. A short or common password can be guessed with a dictionary attack, so the strength of your protection depends on choosing a long, unique passphrase.
Can I recover a password-protected PDF if I forget the password?
No. If a PDF is encrypted with an open password using AES-256 and you forget that password, there is no built-in recovery, no reset link, and no back door — the encryption is designed so the content cannot be read without the key derived from your password. Convertlo does not store your password because the encryption happens entirely in your browser, so no one can look it up for you. Always save the password in a password manager before you send or archive a protected PDF. If you only added an owner (permissions) password, the file is not encrypted and can still be opened normally.
Is it safe to password protect a PDF online?
It depends entirely on whether the tool uploads your file. Most online PDF protectors send your document and your chosen password to a server to do the encryption, which means a sensitive file leaves your device. Convertlo's Protect PDF tool is different: it runs qpdf as WebAssembly inside your browser, so the encryption happens locally and the PDF and password are never transmitted or stored anywhere. That makes it as private as a desktop app while still working from any browser with no install. If you must use a tool that uploads, only use one you trust and delete the file from its servers afterward.
How do I password protect a PDF on a Mac without Acrobat?
Use the built-in Preview app. Open the PDF in Preview, choose File > Export, tick the Encrypt checkbox at the bottom of the export dialog, enter and verify a password, and save. macOS applies password-based encryption to the exported copy so the file cannot be opened without the password. This is free and needs no Adobe subscription. For a browser-based alternative that also works on Windows, Linux, and mobile, use Convertlo's Protect PDF tool, which adds AES-256 encryption locally in the browser.

Locking a PDF is a one-minute task, but the details decide whether it is actually secure: use an open password for real encryption, pick AES-256, choose a long unique passphrase, and save that passphrase somewhere safe because it cannot be recovered. Do it in a tool that keeps the file on your device and you get bank-grade encryption without ever trusting a stranger's server.

Ready to lock your PDF?

Add an AES-256 password in your browser — free, no install, nothing uploaded.

Convertlo Editorial Team
We test file conversion and PDF tools, formats, and workflows so you do not have to. All guides are written from hands-on testing across platforms and devices.
More articles