In-Browser PDF Encryption Unavailable
This application uses pdf-lib inside your browser, which does not support writing password-encrypted PDF streams (RC4 or AES). Rather than saving an unencrypted file that looks locked, password encryption has been disabled on this page.
- qpdf (Windows / macOS / Linux CLI):
qpdf --encrypt userpass ownerpass 256 -- input.pdf protected.pdf - LibreOffice Writer / Draw (Free desktop app): File → Export As → Export as PDF → Security → Set Passwords.
- macOS Preview: File → Export → Permissions → Require Password to Open Document.
How to Use Protect PDF
Our browser PDF engine (pdf-lib) cannot write password-encrypted PDF streams. Rather than producing an unencrypted file that looks protected, this page explains how to apply real AES-256 encryption offline.
Open the Protect PDF page to review why browser pdf-lib encryption is disabled.
For strong AES-256 encryption offline, run the documented qpdf command, LibreOffice Export as PDF Security menu, or macOS Preview permissions dialog.
Verify the protected PDF prompts for a password by opening it in a fresh browser window.
How Output Is Calculated or Built
PDF password protection requires writing an encrypted trailer and RC4 or AES content streams. Because pdf-lib only parses unencrypted documents and cannot output encrypted streams, in-browser encryption is intentionally disabled here.
Important Limitations
- •This web tool does not accept uploads or output password-protected PDFs directly.
- •Do not rely on browser tricks that only hide or watermark pages; always use an AES-capable tool like qpdf, LibreOffice, or Acrobat.
What Protect PDF Includes
Frequently Asked Questions
Frequently Asked Questions
Find quick answers about functionality, security, and usage limits.
More PDF Tools
Merge PDF
Combine multiple PDF files into one document in your chosen order.
PDF Split by Pages
Extract specific pages or page ranges from a PDF into a new document.
Compress PDF
Reduce PDF file size using lossless object cleanup or rasterized DPI modes.
Rotate PDF
Rotate all pages or individual pages in a PDF by 90°, 180°, or 270°.