ToolsHub4u

Put a password on a PDF

Add an open password and, if you need them, restrictions on printing, copying and editing. The encryption happens in the tab; no password is sent anywhere.

  • Standard PDF encryption
  • Optional print and copy limits
  • Nothing uploaded
Ready PDF
1Enter
2Adjust
3Copy result

Protect PDF

1

Add the PDF

Drop your file here or choose from your device

PDF. Up to 100 MB. One file.

    2

    Password and permissions

    Required to open the document. Use a long, unique password.

    An owner password is used by some editors to change permissions. It is not a recovery key.

    Restrict

    These are permission flags in the PDF. Most readers honour them; a few desktop editors do not. The open password is the real control.

    Ready

    Files are processed here in the browser. Check the download before deleting the original.

    3

    Protected PDF

    A password on a PDF does one of two jobs: it stops the file from opening at all, or it leaves it readable while restricting what a reader can do with it. This tool can apply both at once. You set an open password, tick any restrictions you need, and get a new encrypted file called protected.pdf.

    The encryption is applied in the browser tab. The password and the document never travel to a server, which matters more here than anywhere else on the site: a password sent to a website is a password someone else has seen.

    The two passwords

    The open password is required, and must be at least 4 characters. It is what a reader asks for before showing a page. Longer is better, and a passphrase of four unrelated words beats a short scramble you cannot remember.

    The owner password is optional. Some desktop editors ask for it when you change permissions, which is useful when you hand the file to a colleague who needs to lift a restriction later. Leave it blank and the open password is reused. It is worth being clear about what it is not: it is not a recovery key, and it does not let you back into a file whose open password you have forgotten.

    There is no reset and no recovery. If the open password is lost, the file cannot be opened here or by most readers. Store it in a password manager, and keep an unprotected original somewhere safe until the protected copy has been tested.

    The six restrictions

    Tick any that apply. Each one is a permission flag written into the file:

    • Block printing
    • Block copying text and images
    • Block editing
    • Block comments and annotations
    • Block form filling
    • Block page assembly

    Permission flags are requests, not locks. Most readers honour them; a few desktop editors and plenty of online converters ignore them. Treat the open password as the real control and the flags as a clear signal of intent.

    A worked example

    A five-page report was protected with the password Tr4iler-2026, copying and editing blocked, printing left allowed. The tool reported Password protection applied, a 4.0 KB file, Printing: Allowed, Copying: Blocked and Editing: Blocked.

    The download was then opened with a PDF reader. Without a password it refused with a password prompt; with a wrong password it rejected the attempt; with the right password it opened all five pages. A second run with a 14-character password and no restrictions produced a 1.8 KB file with printing, copying and editing all allowed, which is the right choice when the only goal is to stop the file opening in the wrong hands.

    Before you protect a file

    Finish every other edit first. Once the file is encrypted, the other tools here cannot read it without the password, and some of them will refuse it outright with a message naming Unlock PDF. Compress, merge and number the document, then protect the final version.

    Protecting a scan does not make it searchable, and protecting a form does not fix its fields. The encryption wraps the document; it does not repair it.

    Limits

    One PDF of up to 100 MB per run. Passwords can be up to 64 characters. Short passwords are rejected with Use a password of at least 4 characters.; a mismatch between the two boxes gives The two passwords do not match.

    To take a password off a copy you own, use Unlock PDF. To decide whether a file needs a password at all, remember that encryption is the only control here that a reader cannot ignore; a watermark only labels the document.

    Questions

    Common questions

    Short answers about this tool and its limits.

    How do I password protect a PDF?

    Add the PDF, type an open password of at least 4 characters, repeat it, and tick any restrictions you need. Run the tool and download protected.pdf. The file will ask for the password the next time it is opened.

    What is the difference between the open and owner password?

    The open password is required to view the file. The owner password is optional and is used by some editors when changing permissions. It is not a recovery key and cannot reopen a file whose open password is lost.

    Can I recover a forgotten password?

    No. There is no reset, backdoor or recovery process. If the open password is lost, the file cannot be opened here or by most readers, so store it in a password manager and keep an unprotected original.

    Do the restrictions really stop copying and printing?

    Most readers honour them, but they are permission flags rather than locks, and a few desktop editors and online converters ignore them. The open password is the control that actually keeps people out.

    Is the password sent anywhere?

    No. The file is encrypted in the browser tab and the password stays in the page's memory. Nothing is sent to ToolsHub4u or any other service, and no account is needed.

    Can I protect several PDFs at once?

    No, one file per run. If several documents share the same password, protect them one after another and keep a note of which password was used for each.

    Why can I not compress or merge a protected PDF?

    Because an encrypted file cannot be read without its password. Remove the password from a copy you own with Unlock PDF, make the other changes, then protect the result again.

    What are the file limits?

    One PDF of up to 100 MB per run, with passwords of up to 64 characters and a minimum of 4. The output is always named protected.pdf.