Free PDF Password Protect / Unlock — Pixab AI
Add a password to any PDF or remove one you already know. AES-256 encryption happens entirely in your browser — your password and file are never sent to any server.
Drop images here, or click to browse
PDF · max 100 MB · single file only
How it works
- 1Drop or select your PDF file.
- 2Choose Add Password or Remove Password mode.
- 3Enter your password (and confirm it in Add mode).
- 4Optionally expand Permission Settings to restrict printing, copying, or editing.
- 5Click "Apply" — everything runs locally in your browser.
- 6Download the secured or unlocked PDF.
Frequently asked questions
How to Password Protect PDF Files
Password protecting a PDF takes less than a minute with Pixab AI, and no software installation is required. The entire process runs in your browser using WebAssembly, so your file never leaves your device. Here is exactly how it works, step by step.
Step 1 — Upload your PDF. Click the upload area or drag your PDF file directly onto it. The tool accepts any standard PDF, whether it was created in Word, Adobe Acrobat, Google Docs, or scanned with a mobile app. There is no file-size cap enforced by our servers because there are no servers involved — processing happens entirely on your machine.
Step 2 — Choose your mode. Select Add Password if you want to protect a file, or Remove Password if you already know the password of a protected file and want to unlock it. Both modes are available at no cost.
Step 3 — Enter your password. In Add Password mode, type your chosen password and confirm it in the second field. Use a strong password — ideally 12 or more characters mixing uppercase letters, lowercase letters, numbers, and symbols. Weak passwords can be guessed by dictionary attacks even when encryption is applied, so strength matters.
Step 4 — Configure permission settings (optional). Expand the Permission Settings panel to control what recipients can do with your PDF even after they enter the password. You can independently restrict printing, copying text, and making edits. These restrictions are separate from the open password and are enforced by compliant PDF readers like Adobe Acrobat, Preview on macOS, and most PDF viewers on Android and iOS. This is particularly useful when you want someone to be able to read a document but not copy its contents or print it.
Step 5 — Apply and download. Click the Apply button. Pixab AI processes the file using qpdf-wasm, a WebAssembly port of the industry-standard qpdf library. Depending on your file size and device speed, this typically completes in one to three seconds. Once done, click Download to save the secured PDF to your device.
If you need to add further protection — for example, adding a visible watermark to identify who the document was shared with — you can open the downloaded file in our PDF Watermark tool immediately after. For documents that need to be combined before securing, use our PDF Merger first, then password-protect the combined file in one step.
Why Use Pixab AI's PDF Password Tool?
Your file and password never leave your device
This is not marketing language — it is a technical reality. When you use Pixab AI to password protect a PDF, the encryption logic runs inside a WebAssembly module in your browser tab. The PDF bytes are read from your local disk into browser memory, encrypted, and written back to a new file that you download. At no point does any data travel over the internet to a server. Most online PDF tools require you to upload your file to their cloud infrastructure, where it is processed and temporarily stored. For anything sensitive — contracts, financial records, medical documents, personal correspondence — that upload represents a real privacy risk. Our tool eliminates that risk entirely.
AES-256 encryption, the industry gold standard
Not all password protection is equal. Some older PDF tools use 40-bit or 128-bit RC4 encryption, which can be cracked with modest computing power. Pixab AI exclusively uses AES-256, the same algorithm used by the US government to protect classified information and by every major bank to secure online transactions. Once your PDF is encrypted with a strong AES-256 password, it is computationally infeasible to open without that password — even with dedicated cracking hardware.
Completely free, no account required
There are no free trials, no daily limits, no watermarks, and no upgrade prompts. You do not need to create an account, verify your email, or enter a credit card. Every feature — including permission restrictions, password removal, and unlimited file processing — is available for free, forever. We sustain the service through non-intrusive advertising, not by charging for basic features.
Granular permission controls
Beyond the open password, Pixab AI lets you set a separate permissions password that controls what recipients can do with the document. You can allow a document to be opened and read while preventing printing, text extraction, or editing. This is invaluable for contracts where you want the other party to read and sign but not modify, or for reports that are meant to be viewed but not redistributed in altered form. Combine this with our PDF Watermark tool for a complete document security workflow.
Works on any device, any OS
Because Pixab AI is a web application, it works on Windows, macOS, Linux, iOS, and Android. No plugins, no Java, no Flash, no desktop app required. Any modern browser — Chrome, Firefox, Safari, Edge — runs the WebAssembly encryption code natively at near-native speed. Students working on a Chromebook, professionals on a MacBook, or business users on a Windows machine all get the same fast, private experience.
Works seamlessly with other PDF tools
Pixab AI is a full PDF toolkit, not just a single tool. After you organise your pages with our PDF Page Manager, merge multiple files with our PDF Merger, and apply a watermark, you can then lock the final document with a strong password — all in the same browser session, all for free, all without uploading anything to a server.
Common Use Cases for PDF Encryption and Security
Business contracts and NDAs
When sending a contract to a client or partner, you want to ensure that only the intended recipient can open it, and that they cannot quietly edit the terms before signing. Password-protecting the PDF prevents unauthorised access, while the permission controls ensure no one can modify the text without your knowledge. After finalising the document, you can use our PDF Watermark tool to add a “Confidential” watermark before applying the password, creating a fully secured and clearly marked document.
Financial reports and tax documents
Bank statements, tax returns, and financial reports contain highly sensitive personal and corporate data. Emailing these without protection is the digital equivalent of sending them on a postcard. A strong AES-256 password means that even if the email is intercepted or the attachment is forwarded by mistake, the contents are unreadable without the password. You can share the password through a separate, more secure channel such as a messaging app or phone call.
Medical records and health documents
Healthcare providers, patients, and insurance companies regularly share documents containing diagnoses, prescriptions, and medical history. These documents often need to comply with privacy regulations. Encrypting PDFs before transmission adds a layer of protection that demonstrates due diligence. Our browser-based approach is particularly appropriate here because the file is never stored on a third-party server — a critical consideration for health data.
Academic work and research papers
Researchers sharing pre-publication manuscripts, thesis drafts, or proprietary datasets with peer reviewers need to control access carefully. A password-protected PDF can be shared with specific reviewers while preventing broader distribution. You can use our PDF Page Manager to remove appendices or supplementary data before sharing with certain audiences, then apply a password to the trimmed version.
HR documents and employee records
Offer letters, performance reviews, salary information, and disciplinary records are sensitive documents that HR departments handle daily. Password-protecting these PDFs before emailing them to employees or storing them on shared drives ensures that only the intended recipient can access the content. The permission controls are especially useful here — you might allow an employee to read their review but prevent them from printing it or extracting the text.
Personal documents and identity papers
Passport scans, ID documents, insurance policies, and property deeds stored as PDFs are prime targets for identity theft if they end up in the wrong hands. Encrypting these files before storing them in cloud storage or emailing them provides an important safety net. Even if your cloud account is compromised, an attacker would still need the password to access the contents of each protected file.
How PDF Password Protection Works
Understanding the underlying technology helps you make informed decisions about document security. PDF password protection is defined in the PDF specification published by Adobe and now maintained by ISO as ISO 32000. The specification defines two types of passwords: an open password (also called a user password) that controls who can open the file, and a permissions password (also called an owner password) that controls what operations are permitted even after the file is opened.
AES-256 encryption in PDF. When you apply a password with Pixab AI, the tool uses AES-256-CBC (Cipher Block Chaining) to encrypt the PDF content streams. The encryption key is derived from your password using a key derivation function — meaning the key is not simply your password, but a cryptographically processed version of it. This means that two PDFs with the same password do not share the same encryption key, because a random salt value is incorporated during key derivation.
qpdf-wasm under the hood. Pixab AI uses qpdf-wasm, which is a WebAssembly port of the battle-tested qpdf C++ library. qpdf has been under active development since 2003 and is the PDF manipulation engine behind many enterprise tools. By compiling it to WebAssembly, we can run the same proven, security-audited code directly inside your browser — no browser extensions, no native apps, no plugins.
WebAssembly execution. WebAssembly (Wasm) is a binary instruction format that modern browsers can execute at near-native CPU speed. It runs in a sandboxed environment completely isolated from the operating system. This means the encryption code cannot access your file system, network, or other browser tabs — it can only work with the data you explicitly give it. The qpdf-wasm module receives the PDF bytes as input and returns the encrypted PDF bytes as output, entirely within your browser's memory.
Permission restrictions. PDF permission flags are encoded in a 32-bit integer within the PDF's encryption dictionary. Individual bits control whether printing is allowed, whether content can be copied, whether annotations can be added, and whether form fields can be filled. These flags are encrypted as part of the PDF structure, so they cannot be changed without the permissions password. Compliant PDF readers read and honour these flags when the document is opened.
Removing a password. When you choose Remove Password mode, you provide the current open password. qpdf-wasm decrypts the file using that password and writes out a new, unencrypted version. The original encrypted file is untouched on your disk. If you frequently work with collections of PDFs that need reorganisation before or after securing them, our PDF Page Manager and PDF Merger integrate naturally into the same workflow.
Tips for Best Results
Use a unique, strong password for each document
Reusing passwords across documents is risky — if one is compromised, all are exposed. Use a password manager like Bitwarden, 1Password, or the built-in password manager in Chrome or Safari to generate and store unique passwords for each protected PDF. A strong password should be at least 12 characters and include a mix of uppercase, lowercase, numbers, and symbols. Avoid dictionary words, names, or dates that could be guessed.
Share the password through a different channel
If you email a password-protected PDF, never include the password in the same email. If the email account is compromised, the attacker gets both the file and the key to open it. Instead, share the password via a phone call, a text message, or a separate messaging app. Some organisations use encrypted messaging apps for password exchange as a matter of policy.
Organise your PDF before protecting it
Once a PDF is password-protected, you will need to enter the password every time you want to edit or reorganise it. It is more efficient to finalise the document structure first — use our PDF Page Manager to reorder or remove pages, and our PDF Merger to combine multiple files — and only apply the password as the final step when the document is ready.
Layer your security with watermarks
A password prevents unauthorised access, but it does not deter an authorised recipient from photographing the screen or printing the document and sharing it. Adding a personalised watermark — for example, “Prepared for [Client Name] — Confidential” — using our PDF Watermark tool creates a deterrent and an audit trail. Even if a printed copy leaks, you can identify which recipient's version was shared.
Test the protected file before sending
After downloading the password-protected PDF, open it in a different PDF viewer or a private browser tab to confirm that the password is required and works correctly. This takes only a few seconds and prevents the embarrassment of sending a file that the recipient cannot open, or one that is accidentally unsecured.
Keep an unprotected backup
Maintain a backup copy of important documents without password protection, stored securely on an encrypted drive or in a secure cloud folder that only you can access. If you ever forget the password, the backup ensures you are not permanently locked out of your own document. Remember: there is no password recovery mechanism in AES-256 encryption — the password cannot be retrieved from the file by anyone, including us.
PDF Password Tool: Pixab AI vs Alternatives
There are several well-known tools for password protecting PDFs online. Here is an honest look at how they compare to Pixab AI.
iLovePDF is a widely used PDF tool suite with a solid reputation. Its PDF protect feature works well, but it requires you to upload your file to their servers in Spain, where it is processed and temporarily stored. iLovePDF is partially free but gates some features behind a premium subscription. For truly sensitive documents, the server-upload model introduces a privacy exposure that does not exist with our browser-based approach.
Smallpdf is another popular choice, known for its polished interface. Like iLovePDF, it processes files on their servers. Smallpdf imposes strict daily limits on the free tier — you can only process two documents per day before being asked to upgrade. There are no such limits on Pixab AI.
PDF24 offers a generous free tier and also has a downloadable desktop tool. Its browser-based version does upload files to servers, though PDF24 is transparent about this. The desktop version is more private but requires installation. Pixab AI gives you the privacy of a desktop tool without any installation.
Adobe Acrobat is the gold standard for PDF editing and security. It supports AES-256 encryption, advanced permission settings, and digital signatures. However, it requires a subscription costing upwards of $15 per month. For users who only need to password-protect PDFs occasionally, Pixab AI provides the same encryption standard at zero cost, with the added benefit of complete local processing.
Keep going
Related Tools
PDF Watermark
Add text or image watermarks to PDF documents
PDF Merger
Combine multiple PDF files into a single document
PDF Page Manager
Reorder, delete, or rearrange PDF pages with drag-and-drop
PDF Splitter
Split a PDF into individual pages or extract specific pages
PDF Compressor
Reduce PDF file size while preserving readability
PDF Page Rotator
Rotate PDF pages individually or all at once
Word to PDF Converter
Convert Word DOCX files to PDF documents in your browser
PDF Text Extractor
Extract all text from a PDF as plain text, with page structure preserved