Protect a PDF With a Password

Protect a PDF With a Password

Choose a password and download an encrypted copy that must be unlocked to open. Encryption runs on this device with AES-256. Anywhere PDF does not store the password and cannot recover it later.

  • Files stay on this device
  • Usable without internet
  • Output PDF

Your files

Select files from this device.

PDF

    1. Open the PDF. If it is already locked, type that password under Current PDF password.
    2. Type the new password. It must be 1 to 127 UTF-8 bytes, must not contain a null character, and must not start with @ or -.
    3. Download the encrypted PDF and open it once to confirm the password. Keep a copy of the password outside the file.
    OutputPDF

    Questions & answers

    How do I password protect a PDF?

    Type a new password and download the encrypted file. Opening that file asks for the password you chose.

    What encryption does this use?

    AES-256, through a qpdf WebAssembly build that runs in the browser. The password you type is the user password that opens the file.

    What happens if I forget the password?

    The site does not keep it. There is no recovery and no reset. Keep another copy of the password, or keep an unlocked file in a safe place.

    Can I protect a PDF that already has a password?

    Type the current password and the new one. The download uses the new password.

    Does this restrict printing or copying?

    There are no separate print or copy switches. A random owner password is created and discarded, so you cannot set those permissions apart from the open password.

    Questions about privacy and offline use