Password Protect PDF
AES-256 Encryption, Browser-Side

Encrypt your PDF with a user password (to open) and an owner password (to restrict printing, copying, editing). Includes password strength meter and generator. 100% private, no upload.

AES-256 Encrypted 100% Private Owner Password Instant

Drop PDF File Here

Drag and drop your PDF file into the area below, or click the button to browse your computer. All encryption happens in your browser, your file never leaves your device.

document.pdf
0 KB0 pages-

Live Preview

Current Page
Ready to encrypt

Password & Permissions

AES-256 Encryption NIST-approved 256-bit Advanced Encryption Standard. PDF 2.0 standard (V=5/R=6). Used by governments and banks worldwide. Unbreakable by modern computing.
Strength -
Set this to enforce permission restrictions. If left empty, anyone with the user password has full access.
Printing
Allow print
Copying
Allow copy text
Modifying
Allow edits
Annotating
Allow notes
Permissions are enforced only when an owner password is set. Adobe Reader and modern PDF readers respect these restrictions.

Page Selection

Apply encryption to: 0 of 0 selected
Note: When protecting only some pages, unselected pages are removed from the output. For full document protection, keep all pages selected.
Encrypting PDF... 0%

PDF Encrypted Successfully!

Your password-protected PDF is ready. The user password is required to open it.

0
Pages
AES-256
Encryption
0 KB
File Size
0s
Time
Important: Save your password in a password manager. There is no way to recover a lost password from an encrypted PDF. Write it down now.
Loading...
AES-256 encryption (NIST-approved, PDF 2.0)
User + owner password support
Password strength meter & generator
Granular permission restrictions

How to Password Protect a PDF

Adding a password to a PDF is the most reliable way to control who can open and modify it. The encryption runs in your browser using pdf-lib, so the file never leaves your device. This makes the tool safe for confidential contracts, financial records, and medical documents.

1

Upload PDF

Drop your file into the upload zone or click Select PDF File. The file stays on your device.

2

Set passwords

Enter a user password (to open) and an optional owner password (to restrict permissions). Use the strength meter and generator.

3

Choose permissions

Decide whether to allow printing, copying, modifying, or annotating. These are enforced when an owner password is set.

4

Encrypt and download

Click Protect PDF and download. Save the password in a password manager, there is no way to recover a lost password.

Password Protecting PDFs: The Complete Guide to Encryption That Actually Works

There is a quiet moment every document professional knows: you finish the file, review it one last time, and then pause at the moment of sending. The contract contains bank details. The report names employees. The proposal reveals pricing your competitors would love to see. That pause is your instinct telling you the file needs protection before it travels anywhere. This guide is about what happens after that pause — how PDF password protection really works, what the two kinds of passwords actually do, how to build a password people cannot guess, and why doing all of this in the browser is the safest option available today.

Why PDFs Are the Format That Needs Locking

PDF was designed to be the final, printable, unchangeable version of a document, and that very permanence is why it attracts sensitive content. People do not usually email Word files full of payroll data; they export them to PDF first, assuming that the file is now safe from casual editing. The assumption is only half right. A PDF can be opened by anyone who receives it, and the text inside can be copied, printed, and forwarded without leaving a trace. Password protection changes that story. It wraps the file in encryption so that opening it, copying from it, or printing it becomes impossible without the right key. For the sender, it converts a file from a liability into a controlled asset.

The Two Passwords Explained: User and Owner

Most people are surprised to learn that a protected PDF can carry two separate passwords, each with a completely different job. The user password is the one you hand to the person opening the file. Without it, the document will not even render; every reader from Adobe Acrobat to your phone's built-in viewer will stop at a password prompt. The owner password is the quiet one. It does not block reading; it locks the permissions that sit beneath reading, such as printing, copying text, modifying pages, or adding annotations. In practice, professionals set both: the recipient gets the user password to open and read, while the owner password stays with you so that no one can save a copy, strip the protection, or print a hundred pages without your knowledge. Our tool lets you define both, and if you leave the owner password blank it silently defaults to the user password, which is better than having none at all.

What AES-256 Encryption Actually Means

Encryption jargon gets thrown around a lot, so it helps to know what the letters mean. AES stands for Advanced Encryption Standard, and 256 refers to the key size: 256 bits, which is the strongest key length the standard offers. In practical terms, a 256-bit key means there are more possible keys than there are atoms in the observable universe, and guessing one is considered computationally impossible with any hardware that exists or is plausibly on the horizon. The PDF specification supports several encryption recipes; the one our tool uses, known as V=5 R=6, is the modern AES-256 variant defined by the PDF 2.0 standard (ISO 32000-2) and used by Adobe Acrobat, government agencies, and financial institutions. What this means for you is simple: when the tool says AES-256, it is the same grade of protection used to guard classified documents, and every mainstream reader you will ever encounter supports it natively.

How Long Does Encryption Take, and What Changes in the File?

There is a common worry that protecting a PDF will slow you down or bloat the file. In practice, the encryption pass is almost instant. The content streams of the PDF are re-encoded with a key derived from your password, and modern JavaScript engines complete this in under a second for typical documents. The file size does grow slightly, usually one to five percent, because the encryption layer adds a small header and metadata block. The visible content, the layout, the fonts, the images, all stay pixel-identical. The only difference you will notice is the password prompt, and that is precisely the difference you asked for.

Building a Password That Will Actually Hold

Here is the uncomfortable truth about encryption: AES-256 will not save you if your password is "password." The cipher is unbreakable; the human behind it usually is not. Attackers do not attack the algorithm; they attack the password, through dictionaries, leaked credential lists, and plain guessing. The rules for a PDF password are the same as for any other: at least twelve characters, a mix of upper and lower case, numbers, and symbols, and absolutely nothing drawn from your life that can be looked up — no birthdays, pet names, or company names. This is why the tool includes a strength meter that scores your password as you type and a one-click generator that produces a 16-character random password with all four character classes. The honest advice: let the generator do its job, copy the result into your password manager, and never try to invent a clever password by hand. Clever passwords are what attackers have spent decades learning to guess.

Permissions: Fine-Tuning What the Recipient May Do

Passwords answer the question of who may enter. Permissions answer the quieter question of what they may do once inside. Our tool exposes four toggles: printing, copying, modifying, and annotating. Each is worth thinking about before you click. For a confidential report you are sharing with one reviewer, consider disabling copying; it stops the easy path of selecting the text, pasting it into a new document, and circulating it elsewhere. For a draft contract, restricting modification keeps the signed version from being silently edited. For archive copies that only need to be read, you can disable everything and the file becomes strictly view-only. There is an honest limitation worth knowing: permission flags are enforced by the reader software, and a technically skilled recipient with the user password could theoretically bypass some of them. But for the 99.9 percent of real-world sharing, permissions are respected and effective, and they quietly communicate expectations about how the document should be treated.

Why Protecting the File in the Browser Is the Safest Way

Every encryption scheme faces the same vulnerability: the file has to travel from you to the encryption engine. On a website that uploads your document to a server, that travel happens over the internet, and the unencrypted original exists, at least for a moment, on hardware you do not control. This tool does something different. The PDF is read by your browser, encrypted by JavaScript running on your machine, and delivered back to you as a download. Nothing is uploaded, nothing is stored, and the original never exists anywhere except your device. You can even verify this yourself: load the page, disconnect from the internet, and protect a file; it works perfectly, because the entire operation is local. For contracts, medical records, financial statements, and pre-launch materials, this is not a nice feature, it is the difference between a tool you can use and one you cannot.

The Password Aftermath: Handling, Storage, and Recovery

The most common tragedy with encrypted PDFs has nothing to do with the encryption itself; it is the password getting lost afterward. Once you download the protected file, the tool forgets everything, and no one on earth can recover a lost AES-256 password. That is the definition of encryption, and it is worth planning for before you send the file. Store the password in a password manager, not in the same email thread as the attachment. Send the file and the password through different channels, one by email and the other by text message or phone, so that intercepting a single channel is useless. If the document is important enough to encrypt, it is important enough to warrant the ten seconds it takes to record the password properly. And when you are done, keep the protected file; a protected copy that sits in your archive remains readable by anyone with the password, long after the unprotected draft has been deleted.

A Workflow for Protecting Sensitive PDFs, Step by Step

For anyone who wants a repeatable routine, here is the sequence that professionals tend to settle into. Start by reviewing the document one final time; encryption is not a spell that fixes mistakes, it is a lock that makes them harder to correct. Then generate a strong user password with the generator and store it in your manager before you even type it into the tool. Set a separate owner password if you intend to restrict permissions, and decide on the four toggles based on what the recipient genuinely needs to do. Confirm the password match, apply the protection, and download the result. Finally, before the file goes anywhere, open it in a second reader, not the one you usually use, and verify the prompt appears, the password works, and the permissions behave as expected. That last check takes under a minute and it has caught more surprises than anyone likes to admit.

PDF protection sits at the intersection of two simple ideas: your documents deserve the same care you give to the rest of your security, and that care should not require sending your files through someone else's server. AES-256 gives you the strongest lock that exists in the format. User and owner passwords give you control over both entry and behavior. A generated, stored, unique password closes the only real loophole. And doing it all in the browser keeps the whole operation on your machine, where it belongs. The next time you hesitate at the moment of sending, you will know exactly what to do: protect the file, hand over the key, and send it with confidence.

What PDF Password Protection Actually Does (and Does Not Do)

Password protecting a PDF sounds simple. You set a password, and now nobody can open the file without it. Simple, right? Not exactly. PDF encryption is more nuanced than most people realize, and understanding how it works makes a real difference in how you use it. The short version is that PDF protection has two layers: encryption, which scrambles the content so it cannot be read without the key, and permissions, which control what an authenticated user can do with the document. Most people only need the first layer. But knowing the second one exists can save you from unpleasant surprises down the road.

Let us start with encryption, because that is what keeps your document safe. The PDF 2.0 specification supports AES-256, which is the same encryption standard used by governments, banks, and militaries worldwide. AES stands for Advanced Encryption Standard, and 256 refers to the key length in bits. To put that number in perspective, a 256-bit key has 2 to the power of 256 possible values, which is about the same as the number of atoms in the observable universe. No computer on Earth, not even a theoretical quantum computer with thousands of qubits, can brute-force an AES-256 key within a human lifetime. When you password-protect a PDF with AES-256, your file is as secure as any digital document can be. The encryption is not the weak link. The weak link is always the password itself.

This brings us to the most common mistake people make with PDF passwords: using a weak password because they plan to share it with multiple people. A password like “password123” or “document2024” defeats the purpose of AES-256 encryption. The algorithm is unbreakable, but the password can be guessed. If you are protecting a sensitive document, use a password that is at least 12 characters with a mix of uppercase, lowercase, numbers, and symbols. Better yet, use a passphrase, a sequence of random words like “blue-ocean-ranch-kite-78” that is easy to communicate but hard to guess. The encryption is only as strong as the password you feed into it, and that is the part you control.

The second layer is the permission system, and this is where PDF protection gets interesting. A PDF can have two passwords: a user password (also called the document-open password) and an owner password (also called the permissions password). The user password is what you need to open the file. Without it, the document is gibberish. The owner password is different. It does not unlock the file for reading. Instead, it controls the permission settings, like whether the recipient can print, copy text, modify the document, or add annotations. If you set only an owner password without a user password, anyone can open the file, but certain actions are restricted. If you set both, the user password is required to open the file, and the owner password is required to change the permissions. For most people, setting a user password is enough. The owner password is useful when you need granular control, like sending a contract that the recipient can read but not print or copy.

Here is the catch with permissions: not all PDF readers respect them. Adobe Acrobat, Preview on macOS, and most browser-based PDF viewers honor the permission flags strictly. But some lightweight or open-source PDF viewers ignore them entirely. If your security model depends on the owner password preventing someone from printing a document, you need to be sure the recipient uses a reader that enforces the restriction. For most practical purposes, the user password is the reliable security layer, and the owner password is a helpful guideline that technically sophisticated recipients can bypass if they choose a different viewer. If you truly need to prevent someone from copying or printing, consider using a DRM solution or a dedicated document security platform instead of relying solely on PDF permissions.

The biggest advantage of browser-based PDF encryption is that your file never leaves your device. Cloud-based encryption services require you to upload your document to a server, where it is decrypted, encrypted with the new password, and sent back. That means your file exists on someone else’s server, even if only momentarily. For confidential documents like legal contracts, financial statements, medical records, or pre-release business plans, that brief exposure is a real risk. A browser-based tool runs the encryption in JavaScript on your own computer. The PDF is read locally, encrypted locally, and the encrypted version is downloaded directly to your machine. You can verify this by disconnecting from the internet after the page loads, the encryption will still work because no server communication is involved. Your file never travels over the network, never sits in a temporary storage bucket, and never leaves your control.

The practical side of PDF encryption has also gotten faster. A few years ago, encrypting a PDF required Adobe Acrobat Pro or a third-party desktop app with a license fee. Today, browser-based tools can apply AES-256 encryption in under a second. The speed comes from modern JavaScript engines and the pdf-lib library, which handles the encryption natively without any server round-trips. You drop in a file, type a password, confirm it, and download the protected PDF. The whole process takes less time than finding your Adobe license key. And because everything runs locally, you can protect as many files as you want without limits, subscriptions, or watermarks.

One more thing worth understanding: PDF encryption does not change the file format. The encrypted PDF is still a valid PDF file. It opens in any PDF viewer, but the viewer will prompt for the password before displaying the content. The file size increases slightly because the encryption adds metadata and the encrypted stream data, but the increase is usually negligible, a few kilobytes for most documents. The visual quality, fonts, images, and layout remain identical to the original. The only difference is that the content is scrambled until the correct password is provided. This is important because it means you can encrypt a PDF without worrying about compatibility issues. The file will work on Windows, macOS, Linux, Android, and iOS, and it will open in any modern PDF reader.

Real Cases Examples

Below are six real scenarios where password protection makes the difference between a document that is safe to share and one that is not.

1

Law firm contract sharing

Attorney Daniel sends a 40-page acquisition contract to opposing counsel. He sets a user password shared by phone and an owner password kept private, blocking the recipient from printing or copying the text until the deal closes.

2

Medical record release

Dr. Aisha emails a patient’s full medical history to a specialist. She adds a user password shared via SMS so the file is useless if intercepted in transit, and keeps the file size small by protecting only the diagnostic pages.

3

Financial statement distribution

Accountant Hiroshi prepares quarterly statements for 50 high-net-worth clients. He protects each PDF with a unique user password sent separately, so a leaked email attachment cannot be opened without the second channel.

4

Pre-release book manuscript

Author Lucia sends her unpublished novel to 10 beta readers. She uses the password generator to create a 20-character password for each reader, blocks copying, and tracks which password was used for which reader in case of a leak.

5

HR salary review documents

HR manager Carlos circulates salary review documents to executives. He encrypts the file with a user password, sets the owner password to allow only viewing, and disables printing and copying to prevent screenshots from spreading.

6

Exam paper distribution

Professor Yuki prepares the final exam for 200 students. She protects the master exam PDF with a strong 24-character owner password and allows no printing or copying, so the file cannot be printed at the print shop or screenshotted from a phone.

7

Intellectual property filing

Startup founder Raj submits a patent application with detailed technical diagrams. He sets both user and owner passwords, disables modifying and annotating, and shares the user password only with the patent attorney to prevent unauthorized changes during the review process.

8

Real estate closing documents

Real estate agent Maria prepares a 45-page closing package. She encrypts the PDF with AES-256, sets a user password shared with the buyer and seller, and uses the owner password to restrict copying so sensitive financial terms do not leak during negotiations.

9

Confidential board presentation

Chief financial officer Lisa prepares a 30-page pre-earnings board deck. She encrypts it with a unique 16-character password for each board member, disables printing, and sends each copy via a separate email to maintain a chain of custody for the sensitive data.

Tips for Best Results

  • Use the password generator. A 16-character random password is essentially unbreakable. The generator creates one in a single click and copies it to the clipboard.
  • Set both user and owner passwords when sharing externally. The user password lets the recipient open the file. The owner password lets you control what they can do with it.
  • Disable copying for sensitive content. Even if a recipient opens the file, blocking text and image copying prevents them from extracting the content into another document.
  • Save the password in a manager before downloading. Once the encrypted PDF leaves the tool, the password is gone. Use a password manager to store it. Lost passwords cannot be recovered.
  • Share the password through a different channel. Send the PDF by email and the password by SMS or phone. This way, an attacker who intercepts one channel still needs the other.
  • Test the encrypted file before sharing. Open the result in a different PDF reader to confirm the password works and the permissions are enforced as expected.
  • Use a unique password per document. Reusing passwords across files means one leak compromises everything. The generator makes unique passwords easy.

Frequently Asked Questions

Yes, completely free. There are no hidden fees, no premium tiers, no signup, and no usage limits. You can protect unlimited PDFs with strong encryption.
The tool uses AES-256 (Advanced Encryption Standard with 256-bit keys), the strongest standard available for PDF files. This is the V=5, R=6 encryption per the PDF 2.0 specification (ISO 32000-2:2020), used by Adobe Acrobat, banks, governments, and intelligence agencies. AES-256 is NIST-approved and considered unbreakable by modern computing standards. Every PDF reader, including Adobe Acrobat, Foxit, Preview, and Chrome, supports AES-256 natively.
The user password is required to open and view the PDF. The owner password controls permissions like printing, copying, and editing. If you set only a user password, anyone with that password can open the file with full access. If you set an owner password along with permission restrictions, viewers need the user password to open and the owner password to change permissions.
No. All encryption happens locally in your browser using JavaScript. Your PDF never leaves your device, which makes the tool safe for confidential contracts, financial records, medical documents, and legal filings. You can verify this by disconnecting from the internet after the page loads.
You can allow or disallow printing, copying text and images, modifying the document, adding annotations, filling forms, content accessibility, and document assembly. These restrictions are enforced by PDF readers when an owner password is set. Adobe Reader and most modern readers respect them strictly.
This tool only adds passwords. To remove a password from an already-protected PDF, you need the user password to open the file first, then save it unprotected. Modern PDF editors like Adobe Acrobat can do this. Our tool is focused on adding strong encryption, not removing it.
The file size will increase slightly, typically by 1 to 5 percent, because encryption adds a small header with the encryption metadata and encrypts the content streams. The increase is usually negligible for normal documents.
A strong password is at least 12 characters long, mixes uppercase and lowercase letters, includes numbers and special characters, and is not based on dictionary words or personal information. Avoid common passwords like password123 or your birthday. The tool includes a password strength meter that gives real-time feedback as you type.
Yes. Because encryption runs entirely in the browser using JavaScript, the tool works on iOS, Android, tablets, laptops, and desktop computers. There is no app to install and no server contact.
There is no fixed server limit because processing is local. Performance depends on your device memory and browser. In practice the tool handles documents up to 100 MB and several hundred pages smoothly on a typical modern device.
The tool applies encryption to the entire document. However, you can use the page selection controls to export only certain pages first using the Extract tool, then encrypt the extracted PDF. The encryption always covers every page in the output file.
Send the PDF through one channel (email, for example) and the password through a different channel (SMS, phone call, or in person). This two-channel approach means an attacker who intercepts one channel still cannot open the file without the other.
You can, but it is not recommended. If one file is compromised, all files sharing the same password are also compromised. The built-in password generator creates unique 16-character passwords in one click, making it easy to give each document its own password.
Yes. AES-256 is supported by Adobe Acrobat, Foxit Reader, Preview on macOS, Chrome, Firefox, and virtually every modern PDF viewer on desktop and mobile. Older readers from before 2010 may not support it, but those are extremely rare today.
The strength meter evaluates password length, character diversity (uppercase, lowercase, numbers, symbols), and overall entropy. A score of “Strong” indicates at least 12 characters with mixed character types. A score of “Weak” means the password could be guessed quickly.

Related Tools

Combine password protection with other PDF tools for a complete document workflow. Each tool runs in your browser and preserves your file’s quality.

Ready to Lock Down Your PDF?

Upload your document, set a strong password, and download. No signup, no upload, AES-256 encryption in your browser.

Start Protecting Now