Protect PDF
Add a password and 256-bit encryption to your PDF, and control what readers can print, copy or edit. Free, fast and secure.
or drop a PDF here
Encrypted with 256-bit AES. Files under 60 MB are protected in your browser — nothing leaves your device.
or import from
By uploading files, you agree to our terms of use
Related tools
Keep sensitive documents safe by adding a password to your PDF with oMyPDF's Protect PDF tool. Set a user password (required to open the file), an owner password (controls editing and printing permissions), or both. Smaller PDFs are encrypted directly in your browser — no upload required. No sign-up or software installation required.
How to password protect a PDF
- 1
Upload
Select a PDF from your device or drag and drop it into the workspace.
- 2
Set a password
Choose a strong password to open the document, then set what readers can print, copy or edit.
- 3
Protect & download
Click Protect PDF and download your encrypted, password-protected file.
Two passwords that do completely different jobs
PDF encryption defines two separate passwords, and confusing them is behind most of the disappointment people have with protected documents. The user password — often called the open password — is the one that actually keeps the document secret. Without it the file cannot be decrypted at all, and what a viewer sees is a prompt rather than a page.
The owner password governs permissions instead. It is what a viewer checks before deciding whether to let someone print, copy text, extract pages or fill in a form, and supplying it grants unrestricted access regardless of what the restrictions say.
You can set either, or both. Both is the usual answer for a genuinely confidential document: the open password controls who reads it, the owner password controls what those readers may then do. Setting only an owner password produces a file anyone can open but not, in a well-behaved viewer, print or copy.
How much protection each option really gives
An open password is real security. The document is encrypted with AES-256, the same algorithm used to protect classified material and bank transfers, and no amount of computing power available today will break it. The only realistic attack is guessing the password, which is why the strength of your password is the entire strength of your protection.
Permissions are a different category of thing, and it is worth being blunt about it. A permissions-only PDF is encrypted with an empty password, so any software can decrypt it — the restrictions are honoured because viewers choose to honour them, not because they are enforced. Acrobat, Preview, Chrome and every other mainstream reader respect them. Software written specifically to ignore them exists and is not hard to find.
That does not make permissions useless. They stop a colleague absent-mindedly editing the master copy, make it clear that a document is not meant to be redistributed, and prevent the accidental extraction that causes most real-world leaks. Just do not rely on them against someone who actively wants the content — for that, use an open password, and consider whether the sensitive parts should have been removed with Redact PDF instead.
Choosing a password worth using
Because guessing is the only viable attack, password choice is not a formality. Short passwords, dictionary words, names and dates fall to automated guessing quickly, and adding a digit and an exclamation mark to a common word barely slows it down — the guessing tools have known that trick for twenty years.
Length is what actually helps. Four unrelated words strung together are far stronger than eight characters of punctuation soup, and immeasurably easier to type correctly into a prompt on someone else's phone. Better still, generate a random password in a password manager and share it through the manager.
How you transmit it matters as much as what it is. A password sent in the same email as the attachment protects against nothing, since anyone reading the email has both. Send the document one way and the password another — a message, a call, a shared vault — so that intercepting one channel is not enough.
When encryption is the wrong tool
Encryption controls access to a whole document. It cannot hide one paragraph from a reader who is allowed to open the file, and it does nothing about content the document should never have contained. If a contract contains a bank account number that the recipient must not see, protecting the file does not help — Redact PDF removes the content permanently, which is the only thing that does.
It also does not survive conversion. Anyone who can open the document can convert, screenshot or retype it, so encryption is a control on distribution rather than a control on copying. Where the concern is provenance rather than confidentiality — proving a document is yours and has not been altered — Sign PDF is the appropriate tool, and the two work together on the same file.
One practical ordering note: apply encryption last. Most tools cannot read an encrypted PDF, so if you still need to merge, compress, add page numbers or stamp a watermark, do all of that first and protect the finished document.
Protect PDF features
256-bit AES encryption
Bank-grade encryption locks your PDF behind a password so only the right people can open it.
Granular permissions
Allow or block printing, copying, editing, annotations, form-filling and page assembly.
Private & instant
Smaller files are encrypted right in your browser; larger ones use secure server processing and are deleted right after.
Security & privacy
There is an obvious irony in uploading a document to a website in order to make it private, so for ordinary files nothing is uploaded: the encryption runs inside your browser tab, and the password you type is used there and never transmitted or stored anywhere. Files large enough to need server processing travel over an encrypted connection and are erased within the hour, and the password is held only in memory for the moments the operation takes — it is never written to disk, never logged, and cannot be recovered by us afterwards. That last point is not a policy, it is arithmetic: we do not have your password, so we could not open your document if we wanted to.
Frequently asked questions
Is the oMyPDF protect tool free?
Yes. Adding a password and permissions to your PDF is free, with no sign-up required — on files up to 100 MB.
What's the difference between the user and owner password?
The user (open) password is required to open the PDF and is subject to the permissions you set. The owner password unlocks full access and bypasses those restrictions. If you don't set a separate owner password, it matches the open password.
How strong is the encryption?
PDFs are encrypted with 256-bit AES — the same standard used for sensitive documents in business and government.
Can I stop people from copying or printing my PDF?
Yes. Turn off 'Copy text & images' to block copying, and set Printing to 'Not allowed' (or 'Low resolution') to restrict printing.
Are my files safe?
Smaller PDFs are encrypted entirely in your browser and never leave your device. Larger files are sent over an encrypted connection, processed immediately, and deleted right after.
What happens if I forget the password?
The document is unrecoverable, and that is a property of real encryption rather than a limitation here. There is no master key, no reset link and no back door — the content is mathematically inaccessible without the password. Store it somewhere durable before you send the file, ideally in a password manager rather than in the same email as the attachment.
Can permissions actually stop someone printing or copying?
They are honoured by every mainstream viewer, but they are enforced by the viewer rather than by the file. Someone determined enough to use software that ignores the flags can work around them. Permissions are the right tool for preventing accidental misuse and signalling intent; only an open password genuinely stops someone reading a document.
Is a permissions-only PDF encrypted?
Yes, but with a blank open password, which is what lets any viewer open it without prompting while still reading the restrictions. This is why permissions-only protection is comparatively weak — the decryption key is effectively public, so only the viewer's willingness to obey the flags is holding the door.
Will the password stop the PDF being indexed or previewed?
Yes, and that is often the real benefit. An encrypted PDF cannot be read by search indexers, mail-server scanners, cloud storage previewers or anything else that opens files automatically, because none of them have the password. The document stops leaving readable copies of itself in systems you did not think about.
Can I protect a PDF that is already password-protected?
Remove the existing protection first with Unlock PDF, then apply the new password. Encryption is applied to the whole document at once, so there is no meaningful way to layer a second password over the first.
Does protecting a PDF change how it looks?
Not at all. Encryption scrambles how the content is stored, not what it says — every page, font, image and link is byte-for-byte the same document once decrypted. The file size grows very slightly because of the encryption dictionary, and nothing else changes.