Skip to content
Runs on your deviceWorks offline

Password protect a PDF

Encrypt a document so it cannot be opened without the password, and choose what readers may do once it is open. This matters more than usual here: because encryption runs on your device, neither the file nor the password you choose is ever transmitted to anyone.

Your device

Or drop one anywhere on this page

Nothing uploaded · nothing stored

How to password protect a PDF

  1. 1

    Choose the PDF

    Drop in the document you want to encrypt.

  2. 2

    Set a password

    Enter and confirm the password. Its strength is assessed on your device as you type.

  3. 3

    Download the protected file

    The encrypted PDF is saved to your device and will ask for the password when opened.

Why use TryToPDF

  • AES-256 encryption applied locally in your browser
  • The password is never transmitted or stored anywhere
  • Restrict printing, copying, editing and form filling
  • Works with your internet disconnected

Where your file goes

Nowhere. This tool runs inside your browser, and the page is served with a policy that forbids it from sending your document anywhere. You can confirm that yourself: open your browser’s developer tools, watch the Network tab, and process a file.

Questions

Is my password sent to TryToPDF?
No, and it cannot be. Encryption happens inside your browser, and the tool page is configured so it cannot make network requests during processing. The password exists only in your device's memory while the file is being encrypted.
What happens if I forget the password?
The document cannot be opened. There is no recovery, no backdoor and no reset — that is what makes the encryption meaningful. Store the password somewhere safe before you send the file on.
How strong is the encryption?
AES-256 where the document format allows it. The real limit on security is the strength of your password, so choose a long one rather than a short complicated one.
What is the difference between the password and the permissions?
The password decides who can open the document at all, and is enforced by encryption. Permissions decide what someone who has already opened it may do — print, copy text, edit, fill forms. They are two separate controls and you can use either or both.
Can I stop people printing or copying my PDF?
You can ask them not to. PDF permissions are advisory: they are recorded in the document and honoured by mainstream readers such as Acrobat and Preview, but the PDF format has no way to enforce them, and software that ignores them exists. Treat permissions as a clear statement of intent, not as a security control. If a document must not be read by someone, use a password.
What is the difference between the two passwords?
The one you set first is required to open the document at all, and is enforced by encryption. The optional owner password is what makes the permission restrictions mean anything — without it, anyone who opens the file holds owner rights and can ignore them.
Can I remove the password later?
Yes, with Unlock PDF, as long as you have the password. Removing protection needs the password just as opening it does.
Will the protected file open on a phone or tablet?
Yes. AES-256 is the standard modern PDF encryption and every current reader supports it, on desktop and mobile alike.
Does encrypting change the document?
No. Pages, text, images, forms and annotations are all preserved exactly. Only the way the file is stored changes.