Browser tool · No install

Password Protect a PDF

Lock a PDF with an open password and AES-256 encryption so the file cannot be read without it. The password becomes a key on this device and neither the file nor the password is ever uploaded.

Document format work by OnlinePCApps since 2013

No upload No sign-up AES-256 Free
0
Bytes uploaded
0
Passwords stored
256
Bit AES encryption
$0
Price, always
Why lock a PDF

Three Files That Need a Password

Each of these holds something not meant for open hands. A password decides who reads it and what they can do.

A Confidential Report

A report meant for a named few should not open for anyone who receives the file by accident. An open password encrypts the content so only a reader who holds it can see the pages at all.

An open password keeps the pages sealed until it is entered.

A Document to Read, Not Copy

A price list or a policy can be read freely and still should not be edited or lifted wholesale. A permissions setting lets it open while it holds back printing, copying and editing.

A permissions password limits what an open file allows.

A File Too Sensitive to Upload

Sending a private document to a server to protect it undoes the point. The work of locking it should happen where the file already sits, not on a machine owned by someone else.

The encryption runs on the device, so nothing is sent out.
How it works

Lock a PDF in Three Steps

1

Load the PDF

Drop a file onto the panel above or pick one from the device. It opens on the machine ready to lock, and no copy is sent out.

2

Set the Password and Permissions

Enter an open password to encrypt the file, and pick whether printing, copying and editing stay allowed. A strength meter shows how firm the password is.

3

Save the Locked Copy

The encrypted file downloads beside the original. The source PDF is left untouched, so an unlocked master is kept in case the password is ever lost.

An open password Encrypts the file so it cannot be read
Set permissions Hold back printing, copying or editing
AES-256 strength The strongest scheme the PDF standard defines
Need it faster?

Lock a Whole Folder With One Password

Single files are quick to lock right here. When a directory of documents needs the same password and the same permissions, the desktop app reads each PDF and encrypts every file in one run, straight from disk.

Get Desktop Version Free trial · Windows 7 to 11
What the tool does

A Password That Encrypts the File

Locking a PDF turns a password into an encryption key and scrambles the content behind it. Permissions are a second, softer layer on top.

An Open Password

The password required to open the file. The content is encrypted against it, so without the password the pages cannot be read at all, not even previewed.

Permissions to Restrict

A separate owner password sets what an opened file allows, holding back printing, copying text, editing, annotations or form filling while the pages stay readable.

AES-256 Encryption

The lock uses 256-bit AES, the strongest scheme the PDF standard defines and the same class of encryption trusted to secure sensitive data elsewhere.

A Strength Meter

A live meter rates the password as it is typed, and a generator can build a long random one, since a weak password is the part most open to a guess.

Password protecting a PDF, encrypting it and locking it all name the same action. This tool writes the encryption into a new copy and leaves the source file untouched.

Reference

What Goes Into Locking a PDF

A locked PDF is a set of choices about who may open it and what they may do. These are the controls behind it.

SettingTypeWhat it decides
Open passworduser passwordThe password that opens the file, also called a document open password. The content is encrypted against it, so without it the pages are unreadable and even the page count is hidden.
Permissions passwordowner passwordSets what an opened file allows. The file opens without it, but changing the restrictions needs it.
EncryptionAES-256The strongest scheme the PDF standard defines. Older tools may default to AES-128 or RC4, which are weaker and best avoided.
Restrictionspermission flagsPrinting, copying text, editing, annotations, form filling and document assembly, each allowed or held back.
Enforcementcipher vs viewerAn open password is held by the encryption itself. Permission flags are honored by compliant viewers, not by the cipher, so a non-compliant tool can ignore them.
RecoverynoneThere is no back door and nothing is stored, so a forgotten password cannot be recovered. The original stays as a fallback.
Strengtha long passphraseA phrase of several words or sixteen characters and up resists a brute-force guess far better than a short one.
Compatibilityall modern readersAcrobat, Preview, Edge, Chrome, Firefox and mobile readers all recognize and enforce AES-256 encryption.
Where it runson the deviceThe password becomes a key and the file is encrypted in the browser, so neither is ever uploaded.

A Real Lock Needs the Open Password

A PDF can hold two passwords, and the difference decides how firm the lock is. An open password encrypts the content so the file cannot be read without it, and that is real protection. A permissions password alone lets anyone open the file while setting flags such as no printing, and those flags are honored only by cooperative viewers. Tools that ignore them have existed for years, so owner-only restrictions are a request rather than a wall. For content that must stay private, an open password is the one that matters. The standards below define the encryption a lock is built on.

Honest comparison

In the Browser vs a Hosted Locker

Both encrypt a PDF with a password. The difference matters more here than elsewhere, since the whole point is to keep the file private.

Point of comparison This tool Locked in the browser Encrypted on the device Hosted lockers Uploaded and encrypted on a server
Where the file goes Never leaves the device Uploaded unencrypted first
Where the password goes Stays on the device Sent to a server to apply
Encryption strength AES-256 Usually AES-256
A whole folder at once One file in the browser Batch on their hardware
Automated in a workflow By hand in a tab Fits an API pipeline

The bottom two rows go to the hosted services, since a batch and an automated pipeline both suit a server. The top two matter most here though. A hosted locker has to receive the file unencrypted and take in the password to apply it, while the browser keeps both on the machine, which is the safer place for a document being protected.

Why no upload

The File and the Password Stay Local

Encrypting a PDF turns the password into a key and scrambles the file with it. That runs on the device, so the document being protected is never handed to a server and the password that guards it is never transmitted either.

On a hosted tool the file arrives unencrypted before any lock is applied, and the password is entered on a page the server can read. Here neither happens, which for a document worth locking is the whole point.

1. Open the browser developer tools at the Network tab
2. Clear the list and leave it recording
3. Lock a PDF with the panel above
Nothing is sent. The file was encrypted where it was opened.
0
Bytes uploaded
0
Passwords transmitted
0
Accounts required
0
Files retained
Alternatives

Other Ways to Password Protect a PDF

Each of these encrypts a file. They differ in the control they offer and whether they run on the device.

Adobe Acrobat

Protect then Protect with Password sets an open or a permissions password.
The encryption level and the permission flags are chosen in the same panel.
The full security controls sit behind the paid tier of Acrobat.

macOS, in Preview

File then Export offers an Encrypt box with a password.
Saving the file then locks it behind that password.
It sets an open password but gives little control over permissions.

Command Line, qpdf

qpdf with the encrypt flag sets both passwords and the AES level.
It is scriptable, which suits locking many files the same way.
The flags are set in text, and it installs software rather than run in a browser.

LibreOffice

Export as PDF offers a Security tab with an open password.
Permission settings for printing and copying sit there too.
It works from the source document rather than an existing PDF.

Each of these keeps the file on the computer it opened on, apart from hosted lockers that ask for an upload. The tool above does the same.

Before locking

Three Things to Get Right on a Lock

A lock is only as good as the choices behind it. These three keep it firm.

Use a Strong Passphrase

The lock is only as strong as the password on it. A phrase of several words or sixteen characters and up is hard to guess, while a short common word can be brute-forced in moments.

Keep the Original and the Password

There is no recovery for a forgotten password. Storing the password in a manager and keeping the unlocked original means a lost password never turns into a lost document.

Know What Permissions Can Do

A permissions password without an open password lets anyone read the file, and a tool that ignores the flags can lift the limits. For content that must stay private, an open password is the real lock.

The desktop edition

When a Batch Needs One Lock

The browser tool locks one document at a time, held in memory. A folder of files that all take the same password and permissions, or a set that needs decrypting and locking again with new settings, is work for the desktop edition, which reads from disk and encrypts every file without a tab open.

In a browser tabone file at a time, held in memory
On the desktopa whole folder locked in one pass
Whole Folders

Point it at a directory and every PDF inside is encrypted with the same password and permissions in one pass.

Lock and Re-lock

A set can be decrypted with a known password and locked again with new settings, which suits rotating a password across a store of files.

Saved Presets

A saved password and permission profile locks a batch the same way each time, which suits documents that go out on a schedule.

Common questions

PDF Locker Questions

An open password, also called a user password, is required to open the file. The content is encrypted against it. A permissions password, also called an owner password, lets a file open freely but sets what can be done with it, such as no printing or copying. The open password is the one that keeps content private.
Yes. An open password encrypts the file with 256-bit AES, the strongest scheme the PDF standard defines and the same class of encryption used to protect sensitive data elsewhere. Without the password the pages cannot be read, and even the page count is hidden.
The permission flags, such as no printing, are honored by cooperative viewers rather than by the cipher. Tools that ignore them have existed for years. A permissions password alone is a request rather than a wall. An open password, which encrypts the content, is what holds against a determined reader.
No. There is no back door and nothing is stored anywhere, so a lost password cannot be reset. This is why the tool keeps the original untouched and why the password should be saved somewhere safe, such as a password manager, before the file is shared.
Printing, copying text and images, editing the content, adding annotations, filling forms and assembling pages can each be allowed or restricted. A high-resolution print setting can also be separated from a basic one, so a document can be printed at low quality alone.
Yes. Adobe Acrobat, Apple Preview, Microsoft Edge, Chrome, Firefox and mobile readers all recognize and enforce AES-256 encryption. Only readers from before the scheme was added, which are rare now, would not open a file locked this way.
Strong enough to resist a guess. A passphrase of several random words, or sixteen characters and up, is far harder to brute-force than a short common word. The strength meter rates the password as it is typed, and the generator can build a long random one.
To catch a typo. Because a mistyped or forgotten password cannot be recovered, confirming it a second time makes sure the file is locked with the password intended rather than a slip. The two entries have to match before the lock is applied.
No. The password becomes an encryption key in the browser, and the file is encrypted on the device. Neither the password nor the document is sent anywhere. Some hosted tools promise not to save a password, but they still receive it first, while here it is never transmitted at all. The Network panel in the developer tools stays empty while a lock is applied.
No. Encryption wraps the file without altering the pages inside. The text, images and layout open exactly as before once the password is entered. Only the way the file is stored on disk changes, from readable to scrambled.
No. The tool writes the encryption into a new copy and downloads that, leaving the source file unlocked and as it was. Keeping the original means a forgotten password never costs the document itself.
No. A password controls who opens or changes the whole file, while redaction removes specific text from the pages for good. Hiding a section from some readers is a lock, while deleting it outright is redaction, which is a separate tool.
Yes, from any mobile browser with nothing to install. Locking a file before sending it on is quick from a phone. A long passphrase is easier to type and check on a larger screen.
Every current browser handles it, on Windows, a Mac, Linux, a phone or a tablet. Nothing installs and no add-on is involved.
No. The tool only locks the file. It adds no watermark, no page counter and no paywall, so the protected document carries nothing that was not already there.
A plain page is cheap to host when the encryption runs in the browser, and no file is received to store. The paid desktop edition, used for folder-scale locking and for rotating passwords across a set, is what keeps the browser tools free.

OnlinePCApps Documents Group

Written and reviewed by Owen Carter, who has worked on PDF encryption and document security here since 2013

Last reviewed August 2026
13
Years on file formats
0
Files uploaded
256
Bit AES encryption
0
Passwords stored

A locked PDF is not a document with a note asking to be left alone but a file whose contents are scrambled until the right password rebuilds them. The open password is turned into a key that encrypts the pages, so the file is unreadable without it. A permissions password is a lighter thing, a set of flags a viewer may choose to honor, useful for holding back printing or copying but not a wall on its own. This tool applies both in JavaScript on the device, writes the result into a new file and sends nothing to a server, since a document worth locking should not travel to be locked.

Specifications followed

ISO 32000 · Encryption AES-256 handler User and owner passwords Permission flags
Built on the same shared design system as every OnlinePCApps tool. onlinepcapps.com

Password Protect a PDF

Free, no sign-up and no upload. The file is encrypted with AES-256 on the device and the password never leaves it.

Lock a PDF Free, no account Try Desktop Edition For folders and password rotation
Lock a PDF