TapCub is live — analytics, insights and live chat, free on one platform

Free tool · Files Protect PDF: add a password with AES-256

Add a password that is needed to open the file, and choose whether readers may print, copy or edit it. Encryption runs in your browser, so the document and password are not sent anywhere.

  • AES-256 encryption
  • Set permissions
  • Output checked before download

Password protect PDF files

Add the files, type a password (or generate one), choose permissions and download.

Protect

No files yet. Choose or drop PDFs, or try the sample.

    There is no reset. If you lose the password, the file cannot be opened. Keep the unprotected original and store the password in a password manager.

    Permissions

    What a reader may do after opening. PDF readers are asked to follow these; some programs ignore them.

    Allow
    Permissions password (optional)

    Lets the holder change the permissions. Leave empty and a random one is generated and thrown away.

      Three common setups

      Pick a preset, then adjust.

      Three common setups
      GoalOpen passwordPermissions
      Send a confidential fileYesAllow everything
      Share a report to read and printOptionalPrint and fill only
      Preview that should not be copiedOptionalView only

      Only the open password keeps content secret. Permissions without it are a polite request.

      Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

      Use this tool often? Save it to My tools.Saved to My tools. Find it any time at the top of the free tools page. You can also press Ctrl+D to bookmark this page in your browser.You can also press ⌘+D to bookmark this page in your browser.You can also tap your browser’s Share button (at the bottom in Safari) and choose Add Bookmark or Add to Home Screen.You can also open the ⋮ menu at the top right and tap ☆ to bookmark it, or choose Add to Home screen.You can also tap ··· at the top right and choose Favorite, or open it in your browser and bookmark it there.

      Problem or suggestion?Send feedbackChat with support

      Version v1.0Updated Update history

      What you get

      What the protected file does

      The two settings protect against different things.

      • AES-256 encryption
      • Print, copy and edit permissions
      • Up to 20 files at once
      Protect PDF illustration: Password protect a PDF with AES-256 and set what readers may do: print, copy, edit, comment. Done in your browser; nothing is uploaded
      Protect PDF, illustrated

      Open password

      The content is encrypted. Without the password the pages cannot be read, even by software that ignores PDF rules. Its strength depends entirely on the password.

      Permissions

      Flags that ask readers to block printing, copying or editing. Acrobat and most viewers follow them; others do not, and anyone with the open password can remove them.

      AES-256

      The current PDF 2.0 method (revision 6). Current Acrobat Reader, Chrome, Edge, Safari, Preview and mobile PDF apps open it; very old software may not.

      Checked output

      Before you can download, the tool verifies that the file refuses to open without the password and that the permissions read back as you set them.

      A password protects the file, not the copy someone makes after opening it. Screenshots and retyping cannot be prevented.

      How to use it

      How to password protect a PDF

      Four steps, all on your device.

      1. 1

        Add the PDFs

        Choose or drop one or several files.

      2. 2

        Set the password

        Type it twice or press Generate. Copy it to a password manager.

      3. 3

        Choose permissions

        Use a preset or tick what readers may do.

      4. 4

        Download

        Check the results and download; names end in -protected.

      How it works

      Encryption in your browser

      The work is done by qpdf, a long-established open-source PDF library.

      • qpdf 12.2.0 compiled to WebAssembly runs in a background thread; it loads only after you add a file
      • AES with a 256-bit key, PDF encryption revision 6, the only revision not deprecated in PDF 2.0
      • The open password and the permissions password each unlock the same file key. Without a permissions password of your own, a 32-character random one is generated for each file and discarded
      • Screen readers keep access to text: the accessibility permission is always allowed
      • Passwords may use letters, digits, symbols, spaces and non-Latin characters, up to 127 bytes
      • Pages are not re-rendered; quality and file content are unchanged apart from encryption
      How password length changes the guessing space (lower-case letters only)
      LengthCombinationsAbout
      626⁶ = 308,915,77628 bits
      1026¹⁰ ≈ 1.4 × 10¹⁴47 bits
      1426¹⁴ ≈ 6.5 × 10¹⁹66 bits
      1826¹⁸ ≈ 2.9 × 10²⁵85 bits
      Worked example

      Sending a salary letter to one person

      The letter should only be readable by the recipient, who may print it.

      Settings and result
      StepSettingResult
      Open passwordGenerate: 16 random charactersAbout 96 bits
      PermissionsPrint and fill onlyCopying and editing blocked
      Outputletter-protected.pdfRefuses to open without the password
      DeliveryEmail the file, text the passwordOne intercepted channel is not enough

      16 characters from a 63-character alphabet give 16 × log₂63 ≈ 96 bits.

      Common mistakes

      Weak spots in PDF protection

      The encryption is strong; the habits around it often are not.

      Short or obvious passwords

      Birthdays, phone numbers and 123456 fall to guessing. Use 12 or more characters, or the generator.

      Password in the same email

      Send the password through a different channel, such as a phone call or a message.

      Relying on permissions for secrecy

      Without an open password anyone can read the file. Permissions only discourage casual copying.

      Deleting the original

      A lost password cannot be reset. Keep the unprotected original somewhere safe.

      FAQ

      Protect PDF questions

      Still have a question?

      Chat with the team behind TapCub — we usually reply within a few hours on business days.

      How do I password protect a PDF for free?

      Add the file, type the password twice, press Protect and download. No account and no watermark.

      How strong is the encryption?

      AES with a 256-bit key (PDF 2.0). In practice the password is the weak point, so make it long and random.

      Can I stop people printing or copying my PDF?

      You can set it, and well-behaved readers follow it. It is not enforced by cryptography, so do not rely on it against a determined person.

      What if I forget the password?

      It cannot be reset or recovered, by us or anyone. Keep the original file.

      Is my file uploaded to a server?

      No. The engine runs in your browser, and the password is held in memory only.

      Why does it say my PDF is already protected?

      Use Unlock PDF first with the current password, then protect the unlocked copy with the new one.

      Will the recipient be able to open it on a phone?

      Current iPhone and Android PDF viewers support AES-256. If a preview inside a chat app will not open it, open the file in a PDF app instead.

      Can I protect several files with one password?

      Yes. Add up to 20 files; they get the same password and permissions, and download as a ZIP.

      Feedback

      Is this tool working for you?

      Rate it, or tell us what went wrong and what you’d like improved. A person reads every message, and frequent requests go into the next update.

      Rate this tool

      Please don’t include passwords or other sensitive information.

      Only used to reply to this feedback.

      Type, details and email are required.

      We only use this to handle your feedback. See the privacy policy.

      Feedback received

      Thank you! We will read it and reply from hello@tapcub.com if needed.

      Need help right now?

      Chat with our support team, best for urgent problems; you can leave a message when we are offline.

      Chat with support
      Changelog

      Update history

      New features, fixes and data refreshes for this tool, newest first.

      1. · v1.0

        LaunchedFirst release.

      Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

      Cite this tool

      Recommend this tool in an article or on your site

      This tool is free to cite and share. Copy the URL or link below into your article, tutorial or resource page; to write a review, embed a tool or partner with us, get in touch.

      URL
      https://tapcub.com/tools/protect-pdf
      HTML link
      <a href="https://tapcub.com/tools/protect-pdf">Protect PDF - TapCub</a>
      Next step

      Make a password you will not reuse

      Generate a random password or passphrase and keep it in a password manager.

      See your data clearly. Find your growth.

      Every click, backed by data. Install one line of code and see your first numbers in a minute.

      No credit card · Free plans for analytics and chat · Cookieless analytics