Skip to main content
ToolCube – All tools at one place.

Protect PDF with a Password

Lock a PDF so only people with the password can open it, and choose whether they can print, copy or edit it. Everything happens in your browser.

  • AES-256 encryption
  • Files stay on your device
  • No sign-up

Loading Protect PDF…

How to Use

How to Password Protect a PDF

Encrypt one PDF or a whole batch in four steps.

  1. 1

    Step 1: Add Your PDFs

    Drop in up to 20 PDFs of up to 100 MB each. Each file is checked as soon as you add it.

  2. 2

    Step 2: Set a Password

    Type a password and confirm it, or generate a strong 16-character one and copy it.

  3. 3

    Step 3: Choose Permissions

    Optionally limit printing, copying, editing, comments, forms and page changes.

  4. 4

    Step 4: Protect and Download

    Confirm you saved the password, press Protect, then download one PDF or a ZIP.

Guide

Why password protect a PDF?

PDFs travel. A contract goes by email, a payslip sits in a shared folder, a bank statement is saved on a family computer. Anyone who gets hold of an ordinary PDF can read it. When you encrypt a PDF, its contents are scrambled, and only someone with the password can turn them back into readable pages, wherever the file ends up.

People use this tool to send contracts and offer letters, share payslips and tax documents, hand in assignments, and keep ID scans and medical records private.

Open password and permissions password

The open password is the one that matters most. Without it the file can't be opened at all, because the content is encrypted with a key derived from it.

The permissions password (or owner password) is for the author. With it you can set what readers may do: print in low or high quality, copy text and images, edit, add comments, fill in forms, or insert, rotate and delete pages. People who know only the open password get those limits. When you set a restriction, a separate permissions password is generated for you, or you can choose your own.

Permissions depend on PDF software respecting them, so treat them as a clear instruction rather than a vault. If you want a read-only final copy, see how to restrict PDF editing.

AES-256 or AES-128?

Files are encrypted with AES-256 by default, the strongest method in the PDF standard, supported by Adobe Reader since 2010 and by current browsers and phone apps. Turn on the option for very old readers only if someone can't open the file; it uses AES-128, which remains secure. Older RC4 encryption is not offered because it is no longer considered safe.

Choosing a good password

  • Length beats complexity. Aim for at least 12 characters, or use the generator for 16 random ones.
  • Avoid birthdays, phone numbers and names, which are the first things an attacker tries.
  • Send the password separately from the file, for example by phone or a different app.
  • Store it in a password manager. If it's lost, the file can't be recovered by anyone, including us.

Your files and passwords never leave your device

Most online tools upload your document to their server, which is an odd thing to do with something you want to keep private. Here, encryption runs inside your browser with qpdf, a respected open-source PDF tool. The password isn't placed in the address bar, saved in browser storage or logged, and it is cleared from the form after your download.

Good to know

To give an already protected file a new password, choose Change password at the top of the tool, or open Change PDF Password. Do any other work before you add the password, such as joining files with Merge PDF, reducing size with Compress PDF, or making changes in Edit PDF.

Features

Why Protect Your PDF Here?

Strong encryption without sending your document to anyone.

  • AES-256 Encryption

    The strongest encryption in the PDF standard, with AES-128 for very old readers.

  • Private by Design

    Your file and password are processed on your device and never uploaded.

  • Detailed Permissions

    Control printing quality, copying, editing, comments, forms and page assembly.

  • Strong Passwords

    A strength meter and a cryptographically random password generator.

  • Batch Protection

    Apply one password to as many as 20 PDFs and download them as a ZIP.

  • Works Everywhere

    Use it on a computer, tablet or phone, with nothing to install.

FAQ

Frequently Asked Questions

Answers to common questions about Protect PDF on ToolCube.

How do I add a password to a PDF for free?

Add your PDF above, type a password twice or generate one, tick the box to confirm you saved it, and press Protect PDF. Download the new file, which has “-protected” in its name. There is no account, watermark or fee.

How do I change the password of a PDF?

Choose Change password at the top of the tool and add the protected PDF. Type its current password, then the new password twice, and press Change password. The file keeps its permissions unless you change them, and the new copy ends in “-new-password”. The old password no longer opens it.

Is my PDF uploaded to a server?

No. The encryption runs in your browser using a WebAssembly build of qpdf, a widely used open-source PDF tool. Your file and password stay on your device and are never sent, logged or stored.

What happens if I forget the password?

The file cannot be opened. Strong PDF encryption has no back door, and we never see your password, so nobody can recover it for you. Keep it in a password manager and keep an unprotected original somewhere safe.

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

The open password is needed to view the file. The permissions password, also called the owner password, controls the restrictions: someone who knows it can change or remove them, while someone with only the open password has to work within them.

How strong is AES-256?

AES-256 is the strongest encryption defined for PDF and is used widely in banking and government systems. In practice, the weak point is the password, so use a long, random one. The generator here creates 16 random characters.

When should I use the option for very old PDF readers?

Only if someone can't open the protected file. AES-256 needs PDF software from about 2010 or later. The compatible option uses AES-128, which is still secure and opens in older readers.

Do restrictions really stop people from printing or copying?

Mainstream PDF readers respect them, but they are rules the software follows rather than locks on the content: anyone who can open a file could photograph the screen, and some tools ignore the flags. For real secrecy, rely on the open password.

Will protecting a PDF change its content?

No. Pages, text, image quality, bookmarks, links and form fields stay as they were. Only the file's encryption changes, and the size stays about the same.

Can I protect several PDFs at once?

Yes. Add up to 20 PDFs and they all get the same password and permissions. You can download each file or get them all in one ZIP. A broken file doesn't stop the others.

Why does it say my PDF is already protected?

A PDF can only carry one set of encryption. To replace its open password, choose Change password and type the current one. To remove the password or restrictions instead, use Unlock PDF with the password you already have.