Loading PDF tools…
Loading PDF tools…
Set a user password to restrict opening, and an owner password to restrict editing.
Sending a sensitive PDF — a contract, a payslip, a set of financial records — over email or a shared drive means anyone who intercepts the link or forwards the attachment can open it. This tool encrypts your PDF with a password directly in your browser, so the file itself becomes the security boundary rather than relying on whoever has access to the folder it's stored in. Set a user password to require entry before the document opens at all, or an owner password to allow viewing while blocking editing, printing, and copying. Both are applied client-side, and your document and passwords are never uploaded anywhere.
Your files never leave your browser. All processing happens locally.
Drop a PDF to protect
or click to browse — max 100 MB
Combine multiple PDF files into one document in any order
Reduce PDF file size while preserving readability
Convert every PDF page to a high-quality JPG image
View and navigate PDF files directly in your browser — no download required
Upload your PDF
Drop the PDF you want to protect onto the upload zone or click to browse.
Enter a user password
Set a user password that recipients must enter to open and view the PDF.
Optionally enter an owner password
Set an owner password to restrict editing, printing, and copying. Leave blank to skip this restriction.
Click Protect PDF
The PDF is encrypted in your browser using the passwords you provided.
Download the protected PDF
The password-protected PDF downloads automatically. Share it securely.
The PDF format has a built-in encryption specification, defined as part of the ISO 32000 standard, that lets a document carry its own access controls without any external system. When you protect a PDF with this tool, it rewrites the file's cross-reference table and stream objects using an encryption algorithm — RC4 or AES depending on what the underlying library applies — keyed off the password(s) you provide. The result is a single self-contained file: any compliant PDF reader, from Adobe Acrobat to a browser's built-in viewer, recognizes the encryption dictionary and prompts for a password before rendering content.
The specification actually defines two independent passwords, and understanding the difference matters. The user password(sometimes called the open password) gates access to the document entirely — without it, the file won't render at all. The owner passwordinstead sets a permissions bitmask baked into the encryption dictionary: it can allow opening and reading while blocking printing, editing, form-filling, or content extraction. A common pattern is to leave the user password blank so anyone can read the document, but set an owner password so casual editing or copying is discouraged — useful for distributing a finalized contract or report you don't want altered.
This is a fundamentally different operation from tools like Add Watermark or Add Signature, which change what's visible on the page but don't touch access control. Password protection changes how the file can be opened and used, not what it contains. It also composes with those tools in either order — watermark first and then encrypt, or encrypt and unlock later before watermarking — though once a file is encrypted you'll need the correct password to open it again for further edits.
All of this happens using the pdf-lib library running inside your browser tab, so the document — and the passwords you type — are processed locally and never transmitted to a server. That matters for anything with real sensitivity: tax documents, medical records, legal filings. One limitation worth knowing: there is no password recovery. The encryption is only as good as the algorithm applied, and if you need regulator-grade AES-256 with long-term audit guarantees, a dedicated document security platform may be a better fit than a browser-based tool for that specific requirement.
PDF encryption isn't a single yes-or-no switch — the specification defines multiple encryption algorithms (RC4-40, RC4-128, AES-128, AES-256) and a granular permissions model that lets the document author control what operations are allowed after opening. The encryption level determines how hard it would be to brute-force the password or crack the file directly, while the permissions bitmask determines what actions a PDF reader should allow or block even after successful authentication.
Older PDF files typically use RC4 encryption at either 40-bit (easily crackable, effectively obsolete) or 128-bit strength (reasonably secure for non-critical use cases but considered deprecated as of recent years). Modern PDFs use AES (Advanced Encryption Standard) at 128-bit or 256-bit strength. AES-256 is the current best practice for sensitive documents and is required for compliance in many regulated industries like healthcare (HIPAA) and finance.
This browser-based tool applies whatever encryption the pdf-lib library defaults to, which is typically RC4-128 or AES-128. For documents requiring AES-256 — government contracts, patient records, financial audits — use dedicated security software like Adobe Acrobat Pro or enterprise document management systems that explicitly support that algorithm. The difference matters: AES-256 with a strong password is effectively uncrackable with current technology, while RC4-128 has known weaknesses and shouldn't be relied on for long-term protection of highly sensitive data.
When you set an owner password, you're not just locking the file — you're also defining a set of permission flags that control specific operations. The PDF specification includes bits for: printing (allow or disallow printing), editing (allow or disallow modification of content), copying (allow or disallow text and graphics extraction), form filling (allow or disallow filling in form fields), annotation (allow or disallow adding comments or markup), and others.
In practice, this means you can distribute a PDF that anyone can read and fill out (user password = blank, owner password = set, form-filling allowed) but that can't be edited or redistributed in altered form (editing blocked). Or you can allow reading and annotation for review purposes while blocking printing to prevent physical copies from circulating. The catch: these permissions are enforced by the PDF reader as a courtesy, not by cryptographic impossibility. Dedicated tools exist to strip or bypass permission flags, so owner password restrictions are discouragement, not absolute security. For true protection against editing or copying, use a user password that prevents opening entirely unless the recipient is explicitly trusted.
Even AES-256 encryption is only as strong as the password you choose. A password like "12345" or "password" makes the encryption effectively useless since those are the first entries in any brute-force dictionary. For meaningful security: use at least 12 characters mixing upper/lower case, numbers, and symbols; avoid dictionary words or predictable patterns; and store the password in a password manager rather than writing it down or reusing it from another account. If the document is worth encrypting, it's worth using a password that can't be guessed in seconds.
Unlike most online tools, Toolivon processes everything directly in your browser using the Web APIs built into Chrome, Firefox, Safari, and Edge.
Your PDF files never leave your device
All processing runs directly in your browser using built-in Web APIs — the Canvas API, Web Audio API, and WebAssembly. Nothing is uploaded to any server. There is no account, no email, and no data retention. You can verify this yourself: open your browser's DevTools Network tab and watch zero outbound file requests while the tool processes your PDF files.
GDPR-friendly · Works offline after page load · No file size limits beyond your device memory