Toolvist

Protect PDF with Password

Password protect a PDF with real AES-256 encryption, and optionally block printing, copying or editing.

Your file and your password stay on your device — The encryption runs client-side.

Anyone opening the PDF will need this. There is no recovery, so store it somewhere safe.

Owner password and permissions (optional)
Allow the reader to…

Permissions are a request recorded in the file, not a lock — a viewer can ignore them. Only the open password truly restricts access.

Encryption

—

File

—

Pages

—

Password Protect a PDF — AES-256 Encryption

Add a password to a PDF so it cannot be opened without it. The file is encrypted with AES-256, the strongest cipher the PDF standard defines, and you can also block printing, copying or editing. Everything happens.

To finish a document off, Rotate PDF fixes sideways scans and Add Page Numbers numbers the pages before you share it.

How to use the Protect PDF

  1. 1 Choose the PDF you want to protect.
  2. 2 Type the password that will be needed to open it — or click Generate a strong password.
  3. 3 Optionally open the owner-password section to set a separate master password and untick printing, copying or editing.
  4. 4 Click Protect PDF and download the encrypted file. Keep the password safe; it cannot be recovered.

Standard PDF encryption and document permission controls

The Protect PDF tool secures documents by applying standard 128-bit or 256-bit AES encryption in accordance with the PDF reference standard. It allows document authors to set a user password required to open and decrypt the document, as well as an owner password that controls permission restrictions.

Configuring document security enables granular protection against unauthorized actions, including prohibiting content printing, blocking text and graphics copying, disabling form field editing, and preventing page extraction. Encrypted files remain fully compatible with Adobe Acrobat and all standard PDF readers.

  • Applies standard AES encryption to secure sensitive PDF documents with a password.
  • Prevents unauthorized document opening, content extraction, and printing.
  • Maintains full compatibility with standard desktop and mobile PDF viewers.
  • Ensures financial statements, contracts, and legal documents remain confidential.

How to protect a PDF

  • Choose the PDF you want to lock.
  • Type the password that will be required to open it.
  • Optionally set an owner password for full access, and untick the permissions you want to withhold.
  • Download the protected PDF — the original stays unlocked.

Open password vs owner password

The open password — also called the user password — is the one a reader must type before the document will display at all. Without it the content is genuinely unreadable, because the file itself is encrypted.

The owner password grants full control and bypasses the permission restrictions. Leave it blank and it defaults to the open password, which is what most people want. Set a different one if you need to hand out restricted copies while keeping a master key for yourself.

What the permission settings really do

Being straight about this: printing, copying and editing restrictions are a request recorded in the file, not a cryptographic lock. The document is encrypted with one key, and a viewer that chooses to honour the flags will grey out Print or Copy — but a reader that ignores them can still print and copy.

So treat permissions as a deterrent that stops casual misuse, not as a security boundary. If content must genuinely be unextractable, do not ship it in a PDF at all.

Why AES-256, and why it matters here

AES-256 is the current standard, and it is what this tool writes. Older tools often produce RC4-40 encryption from the early 1990s, which is trivially broken with modern hardware, or AES-128, which is fine but no longer the recommendation.

The encryption uses the Web Crypto API, drawing random values from the operating system. That matters more than it sounds: a PDF encrypted with a predictable random source can leak its key, which is exactly how several real-world PDF protections have been defeated.

Is it safe to use?

The password never leaves your browser and is never stored or transmitted. The document is read, encrypted and written again in memory using JavaScript.

Frequently asked questions

What encryption standard is applied to password-protected PDFs?

Protected documents are encrypted using standard 128-bit or 256-bit AES encryption with standard PDF security handler permissions (ISO 32000). You can restrict operations such as printing, content copying, form filling, and page extraction, ensuring compatibility with standard readers like Adobe Acrobat, Apple Preview, and modern PDF viewers.

What is the difference between user and owner passwords?

A user (or document open) password is required to open and view the PDF. An owner (or permissions) password is used to restrict editing, printing, or copying text from the document while still allowing people to read it. You can set either or both.

Can someone bypass the restrictions?

The document-open password uses AES-256 and cannot be bypassed without guessing the key. The permission restrictions (like preventing printing) rely on the reader software respecting the flags: reputable readers honor them, but specialized extraction tools can ignore them once the file is unlocked.

Related PDF Tools

Browse all PDF Tools →

You might also need

Tools from other categories that people pair with the Protect PDF:

Browse the full tool directory →