Password Protect a PDF

To password protect a PDF, choose the file, type a password twice and press Protect PDF. The PDF is encrypted with AES-256, so it can only be opened with that password. Untick printing, copying or editing to restrict what people can do once it is open. The file is encrypted in your browser, so neither the PDF nor the password is uploaded.

    Permissions password (optional)

    How to use it

    1. Choose or drop the PDF you want to protect.
    2. Type a password and type it again to confirm.
    3. Choose what people may do after opening it: print, copy text, edit.
    4. Press Protect PDF and share the password separately from the file.

    When to password protect a PDF

    Email attachments are copied to servers, forwarded and left in inboxes for years. A password keeps a PDF private even when the file ends up in the wrong place. Protect payslips and tax forms before emailing them to an accountant, contracts and offer letters before sending them to a client, medical records, scanned IDs, and anything you store in a shared cloud folder.

    How to add a password to a PDF

    1. Choose the PDF.
    2. Type a password and repeat it. A strong password is long: three or four random words such as lantern-orbit-cactus-river are stronger and easier to remember than P@ss1.
    3. Decide what the reader may do once the PDF is open. Untick printing, copying or editing to restrict it.
    4. Press Protect PDF. The protected copy is saved as yourfile-protected.pdf.

    Open password vs. restrictions

    SettingWhat it doesStrength
    PasswordEncrypts the whole PDF; nothing can be seen without itStrong (AES-256)
    Printing, copying, editingAsks PDF readers to block these actions after openingRespected by mainstream readers, but easy to bypass with special tools
    Permissions passwordNeeded to change the restrictions laterA random one is used if you leave it empty

    Tips

    • Send the password separately, by text message or phone, never in the same email as the PDF.
    • Keep the unprotected original. A forgotten password cannot be reset.
    • Protect last. Merge, compress, sign and watermark the PDF first; protected PDFs cannot be edited by most tools. If you need to change it later, remove the password with Unlock PDF.
    • For an ID copy, add a "COPY – for [company] only" watermark as well as a password.

    Private by design

    Encrypting a sensitive file on someone else's server is a contradiction. This tool runs qpdf, a long-established open-source PDF engine, inside your browser. The engine is downloaded once from a public code network; your PDF and your password are never sent anywhere.

    Frequently asked questions

    How do I put a password on a PDF for free?

    Choose the PDF above, type the password twice and press Protect PDF. The protected copy asks for the password every time it is opened, in any PDF reader.

    How secure is the encryption?

    The PDF is encrypted with AES-256, the strongest standard PDF encryption, supported by Adobe Acrobat, Preview, Chrome, Edge and all modern readers. Its safety then depends on the password: use at least 10 characters, or several random words.

    What if I forget the password?

    It cannot be recovered or removed, by us or anyone else, because the content is encrypted with it. Keep the original unprotected file, or store the password in a password manager.

    Can I stop people printing or copying the PDF?

    Yes. Untick Allow printing, Allow copying text or Allow editing. Reputable PDF readers respect these restrictions, but they are weaker than the open password, so do not rely on them alone for secrets.

    How should I send the password?

    Use a different channel from the file: email the PDF and send the password by text message or phone call. Then someone who gets the email alone still cannot open it.

    How do I password protect a PDF on a Mac or in Word?

    On a Mac, open the PDF in Preview, choose File > Export, tick Encrypt and enter a password. In Word for Windows, choose File > Save As > PDF > Options and tick Encrypt the document with a password.

    Is my PDF or password uploaded?

    No. Encryption is done by qpdf, an open-source PDF engine running in your browser as WebAssembly. Your file and password never leave your device.

    Last updated · Built and checked by Moeed Hussain

    Related tools