Skip to content
BabaPDF
Learn

How to password protect a PDF on Windows, even on Home edition

5 min readHow to

Windows has no setting that adds a password to a PDF you already have. Open Protect PDF in Edge or Chrome, choose the file, type the password twice and click Protect PDF. It encrypts the file with AES-256 on your PC and uploads nothing.

Windows can print to PDF, but it cannot put a password on one. Microsoft Print to PDF offers paper size, colour, collation and duplex on our PC, and nothing for security. The two routes people suggest instead, Word and folder encryption, both carry a catch worth knowing first. This guide covers the free route, those two catches, and how to check that a file really is locked.

How to password protect a PDF file in Windows?

Open Protect PDF in Edge or Chrome, choose the PDF, type the password in both boxes and click Protect PDF. An encrypted copy named yourfile_protected.pdf downloads, and the original stays as it was. It is free, needs no account or install, and runs inside the browser tab.

  1. Open the tool

    Go to Protect PDF in Edge, Chrome or Firefox. Nothing is installed on the PC.

  2. Choose the PDF

    Drag it from File Explorer onto the drop area, or click to pick it. The two password boxes appear once the file has loaded.

  3. Type the password twice

    Enter it in Password and again in Confirm password. The button stays disabled until both boxes are filled, and "Passwords don't match yet." shows while they differ.

  4. Protect and save

    Click Protect PDF. The encrypted copy downloads with _protected on the end of its name, normally into your Downloads folder.

Protect PDFAdd a password and encrypt the file.
A dark laptop in isometric view with its lid open, a near-black sheet standing behind its right side and a bright lime padlock with a pale shackle resting in front of the sheet, on a pale grey-white background
The password goes inside the PDF itself, so the lock travels with every copy you send.

We ran the real code on a three-page test file with a title and read the result back with a different PDF library from the one that wrote it. With no password, and with a wrong one, it refused to open. With the right one, all three pages, the title and the text came back. Neither the title nor the text appeared anywhere in the raw bytes.

Can I password protect a PDF without Acrobat Pro?

Yes. Protect PDF above does it free. If you have Microsoft Word, its Save As dialog can also encrypt: choose PDF as the type, click Options, and tick Encrypt the document with a password. That is Microsoft's own route, from its Office support pages. Word is not installed on our test PC, so we have not run it.

Word is the right route for a document you wrote in Word. It is the wrong one for a PDF you already have. Word opens a PDF by converting it into an editable document, and Microsoft's own help page warns that the result may not match the original. Saving that back out with a password locks a rebuilt copy, not your file. Protect PDF encrypts the file as it is: in our test a filled-in form field kept its value.

Why not just encrypt the folder?

Because on Windows 11 Home there is nothing to switch on. Google's AI answer for this search points to Properties, Advanced, Encrypt contents to secure data. That is EFS, the Encrypting File System, and Microsoft's own answers forum confirms it is not available on Home edition, where the checkbox is greyed out.

We tried it from the command line on our Windows 11 Home PC. Running cipher /e on a test file failed with "The request is not supported." and encrypted nothing. On Pro, where we could not test it, EFS ties the file to your Windows sign-in rather than putting a password inside the PDF. Windows decrypts it for you whenever you open it, so the copy you attach to an email or upload goes out as an ordinary PDF that anyone can read.

Is my PDF password protected?

Double-click it. A file with an open password asks for it before any page appears. For a check that opens nothing, Windows PowerShell can search the file: Select-String -Path .\yourfile.pdf -Pattern '/Encrypt' -SimpleMatch -Quiet prints True for an encrypted PDF and False for a plain one. We ran it in PowerShell 5.1, which ships with Windows.

True means encrypted, not necessarily locked. Our control was a file with permission restrictions only and no open password. PowerShell said True for it too, and it opened with no password at all. So the search tells you encryption is there; only the open test tells you a stranger is kept out. What a PDF password actually protects explains the two kinds.

Two near-black document sheets side by side, each with a closed bright lime padlock with a pale shackle on its front, the right sheet folded at two corners and its padlock sitting slightly lower, on a pale grey-white background
Two files can look equally locked. A search for encryption cannot tell an open password from permission flags.

How to open a password protected PDF on Windows?

Open it as you would any PDF and type the password into the box that appears. Windows 11 opens PDFs in Edge unless the default has been changed. We tested our output in an independent PDF engine rather than in Edge itself, so if the right password is ever refused there, tell us.

A forgotten open password cannot be recovered, by you or by us. The contents are encrypted with it and Protect PDF stores it nowhere. To change a password, remove the old one with Unlock PDF, then protect the unlocked copy. Protect PDF turns an already protected file away with "This PDF is password-protected. Unlock it first, then try again."

One password both opens the file and owns it, so there is no separate edit lock. For a copy that is hard to change, flatten the pages to images. How strong the lock is, and why length matters more than the cipher, is in how to password protect a PDF on Mac. The general guide is how to password protect a PDF, and the paid route is password protecting in Adobe Acrobat.

Other guides for this job

Keep reading