<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Protect a PDF with a password

Choose a password, check the optional restrictions and download the encrypted PDF, for free. Everything happens in your browser: neither the file nor the password is sent anywhere.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Protect PDF

Drop a PDF here

The PDF and the password stay in your browser: nothing is uploaded, nothing is saved.

Password to open the file

Without this password, the file is lost for good: nobody can recover it, not even us. Write it down before downloading.

Restrictions (optional)

Readers that honor them will refuse these actions, even after the file is opened.

How to use it

  1. Drop a PDF or choose it from your device.
  2. Type a password twice, or generate a strong one and copy it somewhere safe.
  3. If needed, forbid printing, copying or editing, then download the protected PDF.

Example

Input

A 3-page example PDF, password “Copper-Moon-2048”, default options

Output

PDF encrypted with AES-256 (3 pages): a password is required to open it, no other restriction.

Good to know

  • Without the password, the file is lost: nobody, not even us, can recover it. Keep the password in a password manager.
  • Restrictions (printing, copying, editing) are honored by mainstream PDF readers but some software ignores them. Only the open password actually encrypts the content.
  • Encryption uses AES-256, supported by every PDF reader released since 2009 (Acrobat 9 and later). Very old readers cannot open the file.
  • A PDF that is already password-protected must be unlocked first.

Frequently asked questions

How do I password-protect a PDF for free?

Drop the PDF, type a password twice (or generate a strong 20-character one and copy it), then download the protected PDF, encrypted with AES-256. It is free with no account, and neither the file nor the password leaves your browser.

How do I protect a PDF from editing or copying?

Tick “Forbid editing” and “Forbid copying text and images” (printing and comments can be blocked too). Mainstream readers such as Acrobat, Preview or Chrome honor these restrictions, but some software ignores them: only the open password truly encrypts the content.

Can I protect a PDF without an open password?

Yes: untick “Require a password to open the PDF” and keep only the restrictions. Anyone can then read the file, but compliant readers refuse to print, copy or edit it. This is light protection: tools such as “Unlock PDF” remove such restrictions without any password.

How do I password-protect a PDF on a Mac?

This page works in Safari on a Mac, with the same AES-256 encryption. In Preview, choose File > Export, then the Encrypt or Permissions option (depending on your macOS version) and type a password.

What if I forget the password?

The file cannot be opened any more: nobody can recover the password, not even us, because it is never stored or sent. Keep it in a password manager before downloading, and keep an unprotected copy of the original somewhere safe.

Can a PDF be protected against screenshots?

No. No PDF protection can stop someone who can read the document from taking a screenshot or a photo of the screen. To discourage leaks, add a watermark with the recipient’s name using “Add watermark to PDF” before protecting it.

← Back to all tools