PdfLuxe logoPdfLuxe

PdfLuxe › Guides › Protect PDF

Protect PDF — lock a PDF with a password

Some PDFs should not open for just anyone who finds the file — a contract, a payslip, a scan of an ID. Protect PDF lets you password protect PDF online with real AES-256 encryption, applied on your device by QPDF (WebAssembly): the file is never uploaded, and your original stays untouched.

Updated 20 November 2026 · Matches PdfLuxe v357.

By the PdfLuxe team · Contact

Open Protect PDF — free

The short answer

How can I protect a PDF with a password for free? Open Protect PDF, add your file, type an open password and click Create protected copy — the PDF is encrypted with AES-256 right in your browser, at no cost and with no sign-up. Anyone opening the protected copy must enter the password to read it. Everything below explains what that protection does, what it does not do, and how to choose a password that holds up.

Steps

  1. Open Protect PDF and add your PDF — drag it in or tap to choose the file. Keep the Password (real AES-256) mode selected; it is the default.
  2. Type the open password — the one readers must enter to view the PDF. If you want finer control, open “More — owner password & permissions”: you can set a separate owner password (it defaults to the open password) and untick Allow printing, Allow copying / extracting text & images, or Allow editing / modifying.
  3. Click Create protected copy and download the protected PDF — it is named after your file, with -protected added. Open it once yourself and check that it asks for the password before you send it anywhere.

How to password protect a PDF — what actually happens

When you click Create protected copy, the QPDF engine — running inside your browser as WebAssembly, on your own device — rewrites your PDF with 256-bit AES encryption, the same standard PDF encryption Adobe's own tools use. Encryption is not a polite request: the words, images and pages inside the file are scrambled with your password, and a reader program has to unscramble them before anything can be shown. Without the password there is nothing to display, because the content itself is locked, not just hidden behind a warning dialog.

In other words, when you lock PDF with password protection, the lock lives in the file itself and travels with it wherever it goes. That is the difference between encrypting a PDF and merely setting permissions on it. Permissions — the printing, copying and editing switches — are flags stored in the file that reader software is asked to respect. Encryption is what makes the file unreadable in the first place. Protect PDF gives you both: the open password encrypts, and the permission switches ride along inside the encrypted file.

Your original file is never changed. The tool reads it, builds a new encrypted copy, and hands that copy to you as the download; the unprotected original stays exactly where it was, on your device.

Open password vs owner password

The tool has two password fields, and they do different jobs:

The open password (also called the user password) is the one that matters most. Anyone who opens the protected PDF is asked for it, and without it the file cannot be viewed at all. This is the password you share with the people who are meant to read the document.

The owner password controls the permission settings — whether printing, copying and editing are allowed. It is optional: leave the field empty and it defaults to your open password. Set a different owner password when you want to be the only one who can later change or lift the permissions, while readers only ever get the open password.

The three permission switches start ticked — printing, copying and editing all allowed — so if all you want is a password on the door, you can ignore them completely. Untick one and the protected copy carries that restriction: standard readers will grey out printing, refuse copy-and-paste, or block editing, as you chose.

What password protection does — and what it does not do

What it does. A password-protected PDF cannot be opened, read, printed or copied from until the open password is entered. If the file is forwarded, found on a lost phone, or pulled from a shared inbox by the wrong person, they get a password prompt and nothing else. For the everyday risks — curious eyes, wrong recipients, a file that travels further than you meant it to — that is real protection.

What it does not do. A protected PDF still opens normally for anyone who has the password — that is the point of it — and once someone can read a document, they can photograph the screen, screenshot it, or retype it. No password can prevent that. The permission switches are instructions that standard, well-behaved PDF software honours; they stop casual printing and copying, but they are not a lock against a determined person using tools that simply ignore the flags.

And it is not magic. AES-256 is strong encryption, and nobody is going to decrypt a well-chosen password by brute force in any reasonable time. But the strength of the whole thing still rests on the password you pick: a short, obvious one — a birthday, a pet's name, “1234” — can be guessed by software trying common passwords, whatever the encryption standard says. This guide will not call the result unbreakable, because no honest tool can promise that. Pick a password that is long and not guessable, and the encryption will do its part.

The other mode: flatten pages to images

Protect PDF has a second mode, Flatten pages to images, and it solves a different problem. It sets no password at all. Instead, every page is rebuilt as a picture, so the text in the finished copy can no longer be selected, copied, searched or edited — someone receiving it can read it and print it, but they cannot lift the wording out cleanly or quietly alter a figure.

Use flattening when the document must travel openly but you want to discourage reuse — a quote, a draft, a certificate. Use the password mode when the document itself is private. The two are not combined in one pass, but nothing stops you flattening a file first and then protecting the flattened copy with a password as a second step.

Choosing a password worth using

Jobs people use it for

Privacy: the encryption happens on your device

Most services that let you encrypt PDF online free of charge ask you to upload the file to their server first — which means the most private document you own takes a trip through a stranger's computer, unprotected, before it comes back locked. Protect PDF does not work that way. The QPDF encryption engine runs in your browser as WebAssembly: your file is read locally, encrypted locally, and the protected copy is handed straight back to you. Nothing is uploaded, nothing is stored anywhere, and there is no server copy to worry about afterwards.

The password itself never leaves your device either — it exists only in the page, while you use it. That is also why a forgotten password cannot be recovered here: there is nothing on any server that knows it.

About the tool

Protect a PDF with a real AES-256 password and your choice of print / copy / edit permissions — or flatten the pages to images so the text can't be copied. All on your device.

More about Protect PDF — what it does, formats and questions, or read this guide inside the app.

Open Protect PDF — free

Questions & answers

Is it free to password protect a PDF here?

Yes — Protect PDF is free, with no sign-up, no trial and no watermark on the file you download. You add your PDF, type a password and download the protected copy; nothing about the process is charged for.

How do I password protect a PDF, step by step?

Add your PDF to Protect PDF, keep the Password (real AES-256) mode selected, and type the open password readers will need. Optionally open “More — owner password & permissions” to set a separate owner password or block printing, copying and editing. Then click Create protected copy and download the file — it arrives with -protected added to its name.

What encryption does Protect PDF use?

Real 256-bit AES encryption (AES-256), applied by the QPDF engine running in your browser as WebAssembly. The content of the file is scrambled with your password, so the PDF cannot be opened or read at all until the password is entered — this is true encryption, not just a permission flag.

What is the difference between the open password and the owner password?

The open password is what readers must enter to view the PDF at all. The owner password controls the permission settings — printing, copying and editing. The owner password is optional and defaults to the open password; set a different one when you want to be the only person who can change or lift the permissions later.

Can someone open my protected PDF without the password?

Not by simply opening it — AES-256 encryption means the content is unreadable until the correct password is entered. Honestly, though, no encryption can be called unbreakable: the practical strength depends on your password. A long, hard-to-guess password makes guessing attacks impractical; a short or obvious one can be guessed by software trying common passwords.

Do the printing, copying and editing switches really lock people out?

They are permission flags that standard PDF readers honour, so they reliably stop casual printing, copying and editing in normal software. They are not a lock against a determined person using tools that ignore the flags — and anyone who can open the file can still read it or photograph the screen. The open password is the real protection; treat the switches as a courtesy barrier on top of it.

I forgot the password. Can it be recovered?

No — the password cannot be recovered here, because it never leaves your device and nothing about it is stored. If you still have your original unprotected file, protect a fresh copy with a new password. If you only have the protected copy and the password is lost, the file stays locked, even to you.

Is my PDF uploaded to a server to be encrypted?

No. The QPDF encryption engine runs entirely in your browser, on your own device — the file is read locally, encrypted locally and handed straight back as a download. Nothing is uploaded or stored on a server, which is also why there is no account: there is nothing on a server to sign in to.

Related tools

Related guides

This guide is one of 92 step-by-step guides on PdfLuxe — 151 free tools, no sign-up, no watermark. Questions? Email support@pdfluxe.com.