LogoTools
Runs entirely in your browser - nothing is uploaded

Some files should not open for whoever finds them: a contract going out by email, a set of accounts, a medical letter, a scan of an ID document. This tool adds an open password to a PDF using AES-256 encryption, the current standard in the PDF specification, and lets you flag printing, copying and editing as blocked.

The work is done by qpdf, compiled to WebAssembly and running inside your browser. Neither the file nor the passwords you type leave your device. Nothing is uploaded, and there is no account or server that could keep a copy.

The two passwords

The open password is the one a reader asks for before showing the document. It is required, and it is the only thing standing between the file and anyone who has it, so pick something you would not mind being the only defence.

The owner password is optional and does a different job: it lifts the restrictions set by the switches below it. Leave it empty and the open password does both jobs. Set a separate one when you want people to read the file but not to remove the printing or copying block, and keep that owner password to yourself.

What the restriction switches do, and what they do not

Block printing, block copying and block editing set permission flags inside the encrypted file. Readers such as Acrobat, Preview, Chrome and Edge check them and grey out the matching commands. That is useful against casual copying and accidental printing.

It is not a lock. The flags are a request the viewer agrees to honour; the encryption protects the content from being read without a password, not from being printed once it is open. Anyone with the owner password can clear the flags, and a viewer written to ignore them will. If the content must never be printed, do not send it.

Always AES-256

The tool encrypts with 256-bit AES every time and offers no weaker option. The older RC4 modes in the PDF specification are broken, and 128-bit AES is deprecated in the current version of the standard. Every mainstream reader in current use opens AES-256 files.

One consequence to know before you click: there is no recovery. A PDF locked with a mistyped password cannot be opened by this site or by anything else without the password. The switch to show the passwords while typing exists for that reason; use it, and keep the original unlocked file somewhere safe.

What stays the same

Pages, text, fonts, images, bookmarks and form fields are preserved. qpdf encrypts the streams and strings inside the document without redrawing anything, so the protected copy looks identical when opened and text remains selectable unless you blocked copying.

The output is named after the input with -protected added, and its size is close to the original. The first run in a session fetches the qpdf engine, around 1.3 MB, from this site; the button says so while it loads, and later runs start at once.

Frequently asked questions

Is the PDF or the password sent to a server?

No. Encryption happens in your browser, using qpdf compiled to WebAssembly and served from this site. The file is read from your disk, encrypted in memory and handed back as a download. Neither the file nor the password is transmitted.

What encryption does this use?

AES with a 256-bit key, the strongest mode the PDF specification defines. There is no option for RC4 or 128-bit AES, since both are weaker and neither is needed by any current reader.

Can I stop people printing or copying without a password to open the file?

Not with this tool. It always sets an open password. Restrictions on a freely openable file are also weak in practice, because the flags depend entirely on the viewer choosing to honour them.

Do the printing and copying blocks really prevent it?

They prevent it in readers that respect the permission flags, which includes the common ones. They do not prevent it in software that ignores the flags, and anyone holding the owner password can remove them. Treat them as a deterrent, not a guarantee.

I forgot the password I set. Can it be recovered?

No. AES-256 has no back door and this site keeps nothing. Use the original unlocked file if you still have it; otherwise the protected copy cannot be opened.

Why set a separate owner password?

So that people who can read the file cannot lift its restrictions. With one password for both, anyone who can open the PDF can also remove the printing or copying block with a tool like the Unlock PDF tool on this site.

Will the protected file open on a phone or in a browser?

Yes. iOS, Android, Chrome, Edge, Firefox and Preview all open AES-256 encrypted PDFs and prompt for the password. Very old readers from before that mode existed may not, but those are rare now.