Skip to main content

    Protect PDF

    A free, step-by-step guide to password-protecting a PDF on Mac, Windows, and with free software, plus how PDF encryption works and how to choose a strong password.

    The fastest free way: on a Mac, open the PDF in Preview, then File, Export, tick Encrypt and set a password. On Windows, open the PDF in LibreOffice Draw and export as PDF with an open password.

    Both methods add real, offline PDF encryption, so your file never leaves your device.

    Password-protect a PDF in a few steps

    You do not need to upload a sensitive file anywhere. Every method below adds genuine PDF encryption on your own device, for free.

    Mac (Preview)

    1. Open the PDF in Preview
    2. File, then Export
    3. Tick Encrypt
    4. Set a strong password and Save

    Built into macOS. No download needed.

    Windows / Linux (LibreOffice)

    1. Open the PDF in LibreOffice Draw
    2. File, then Export as PDF
    3. Open the Security tab
    4. Set an open password and export

    LibreOffice is free and open source.

    Adobe Acrobat (paid)

    1. Open the PDF in Acrobat
    2. Tools, then Protect
    3. Choose Encrypt with password
    4. Set a password and save

    Worth it if you already use Acrobat.

    Why not protect it here in the browser? Browser PDF libraries do not yet support real AES encryption, so an in-browser tool would give a false sense of security. We would rather send you to methods that genuinely encrypt your file than ship protection that does not hold up.

    Two Types of PDF Passwords (Most People Only Know One)

    When most people say "password-protect a PDF," they mean stopping someone from opening it. But PDFs actually support two completely different password types, and they do very different things.

    Password TypeWhat It ControlsCan They View the PDF?Security Level
    Open PasswordWhether the file opens at allNo, completely lockedHigh when modern AES and a strong password are used
    Permissions PasswordWhat viewers can do (print, copy, edit)Yes, can read, can't actMedium (can be removed by tools)

    What this means for you: If the document is confidential, use an open password. Permissions restrictions can be useful for preview documents, but they are easier to remove than an open password.

    Free Offline Methods by Device

    The safest simple pattern is to protect the file before it leaves your computer. The page above points you to tools that work locally, because browser PDF libraries used here do not provide real PDF encryption.

    Device or AppUse It ForCheck Before Sharing
    macOS PreviewQuick open-password encryption for a single PDFOpen the exported copy in Preview and confirm it asks for the password
    LibreOffice DrawFree protection on Windows, Linux, and macOSUse the PDF security options during export, not just file save
    Adobe AcrobatPaid workflows that also need editing, redaction, or policy controlsChoose password encryption rather than only restricting printing or copying

    Quick test: close the protected PDF, reopen it, and make sure the viewer asks for the open password before any page is visible. If the file opens normally, it is not protected against viewing.

    How to Choose a Strong PDF Password

    A weak password makes encryption meaningless. Here's what actually matters:

    Do

    Use 12+ characters mixing letters, numbers, and symbols

    A longer mixed-character password is much harder to guess than a short or common one. "T4x-R3turn_2025!" is stronger than a single dictionary word.

    Do

    Send the password separately from the file

    Email the PDF, then text or call with the password. If someone intercepts the email, they still can't open the file.

    Don't

    Use "password", "123456", or the recipient's name

    These are the first things anyone would guess. Dictionary attacks crack common passwords in seconds.

    Don't

    Put the password in the same email as the PDF

    "Please find attached the contract. Password is contract123.", you've just made the encryption worthless.

    Need a strong password? Use our Password Generator to create one.

    Worked Example: Sending a Payslip Pack

    Aisha runs payroll for a small team. She needs to send three PDF payslips to employees without uploading them to an online service.

    1. 1.Create clean copies: she exports each payslip to PDF and keeps the original payroll folder unchanged.
    2. 2.Encrypt locally: she uses Preview on her Mac to export each PDF with an open password, then confirms every exported file asks for that password.
    3. 3.Use different passwords: each employee gets a unique password, so one shared password does not expose every document.
    4. 4.Send separately: the PDF goes by email, while the password goes through a separate channel such as a call or staff message.
    5. 5.Keep the audit trail simple: she records which file was sent and when, without writing the password into the same email thread.

    When You Should (and Shouldn't) Encrypt PDFs

    Protect when...

    • Emailing financial data (payslips, tax returns, bank statements)
    • Sharing contracts before signing
    • Storing sensitive docs in shared cloud folders
    • Sending HR documents to employees
    • Distributing preview copies you don't want printed/copied

    Skip encryption when...

    • The document is already public (marketing brochures, menus)
    • Recipients will need to print or fill in the form
    • The PDF will be posted on a website for download
    • You're archiving internally and everyone has access anyway
    • The password will be more hassle than the content is worth

    Recipient Checklist Before You Send

    A protected PDF is only useful if the recipient can open it and the password is handled sensibly. Run these checks before you send a sensitive file.

    • Test the password yourself. Open the exported copy on the same device before sending. If your viewer does not ask for the password, you exported the wrong file or missed the encryption option.
    • Tell the recipient what to expect. A short note such as "I will send the password by phone" avoids people replying to ask for it in the same email thread.
    • Avoid shared passwords. Reusing one password across several documents means one leak unlocks all of them. Use a unique password for each sensitive recipient or document set.
    • Keep the clean original. Store the unprotected source somewhere controlled. If the recipient loses the password, you can create a new protected copy without editing the document again.
    • Do not rely on permissions alone. Printing and copying restrictions are useful labels for cooperative readers, but they are not the same as stopping a file from opening.

    PDF Encryption vs Other Security Methods

    MethodProtects AgainstLimitations
    PDF open passwordUnauthorised viewingUseless if password is shared or weak
    PDF permissions passwordPrinting, copying, editingCan be removed with freely available tools
    WatermarkMisuse of document (visual deterrent)Doesn't prevent access or copying
    ZIP with passwordUnauthorised extractionLegacy ZIP encryption can be weak; check the method used
    Encrypted email (PGP/S/MIME)Interception during transitDoesn't protect the file at rest

    Safer pattern for sensitive documents: Use a PDF open password, then send the password through a separate channel. Add a watermark if the document might be forwarded.

    Related PDF Tools

    How to use this tool

    1

    Choose a local method such as macOS Preview or LibreOffice Draw

    2

    Set an open password with AES based encryption

    3

    Save a new protected copy and send the password separately

    Common uses

    • Encrypting payslips, tax returns, bank statements, or HR letters before email
    • Protecting contract drafts while they are being reviewed
    • Securing PDF copies stored in shared cloud folders
    • Adding an open password before sending documents to a client or supplier
    • Choosing safer offline protection when a file contains confidential material

    Share this tool

    Frequently Asked Questions

    Can I password-protect a PDF directly in my browser?
    Not reliably yet. The common browser PDF libraries (such as pdf-lib) do not support real AES encryption, so any in-browser 'protection' would be cosmetic rather than secure. Instead, this guide shows you free methods built into Mac and Windows that genuinely encrypt the file on your own device.
    Is it free to password-protect a PDF?
    Yes. macOS Preview and LibreOffice both add real PDF encryption at no cost. You only need paid software like Adobe Acrobat if you also want its other editing features.
    What's the difference between an open password and a permissions password?
    An open password prevents anyone from viewing the file without it. A permissions password lets people read the document but blocks printing, copying, or editing.
    Is PDF password protection actually secure?
    A modern AES-encrypted PDF with a strong unique password can be effective, but protection depends on the PDF software, encryption settings, and password strength. Permissions-only restrictions are weaker and can be removed with readily available tools.
    Can I protect a PDF for free on macOS?
    Yes. Open the PDF in Preview, go to File, then Export, tick 'Encrypt', and set a password. This uses PDF encryption built into macOS.
    Can I protect a PDF for free on Windows?
    Yes. LibreOffice (free) can open a PDF in its Draw app and export it with an open password. Install LibreOffice, open your PDF, then export as PDF with the security options set.
    Is it safe to use an online 'protect PDF' service?
    Only with caution. Uploading a sensitive document to a third-party server means trusting that server with your data. For confidential files, prefer the offline methods on this page, or review the service's retention and privacy policy first.
    Can I remove protection from a PDF I own?
    Yes. Use our Unlock PDF tool to remove editing, printing, and copying restrictions. It works on permissions-restricted files, not password-locked ones.
    Should I encrypt PDFs before emailing?
    Yes, if they contain sensitive information. Email is not end-to-end encrypted by default, so an encrypted PDF adds an important security layer. Send the password through a separate channel.
    Can I watermark instead of encrypting?
    Watermarks mark documents visually (DRAFT, CONFIDENTIAL) but do not prevent access. For actual access control, you need encryption. Use our Watermark PDF tool for visual marking.
    What encryption standard should I look for?
    Look for modern AES-based PDF encryption and avoid older RC4-based protection for sensitive documents.

    Results are for general informational purposes only and should be checked before use. They are not professional advice. See our Disclaimer and Terms of Service.