Protect PDF
Encrypt a PDF with a password using AES-256 — the strongest encryption the PDF standard offers. You can also block printing, copying text and editing, and set a separate owner password.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Drop a file here, or browse
Accepts: application/pdf
Files stay on your device.
Ctrl+V to paste an image
Options
Anyone opening the file needs this password. The field is not masked, so mind who can see your screen — and keep the password safe: it cannot be recovered.
Lets the owner change the permissions later. Leave it empty to use the same password as above.
Drop a file above to begin
Your file are processed on this device and never uploaded.
How it works
What comes back
Drop an unprotected PDF and give the password that should open it. The tool returns a copy of the file, named after the original with -protected.pdf appended, encrypted with AES-256 at PDF revision 6. Before handing it over it verifies that the result really carries an /Encrypt dictionary.
One password or two
The user password opens the file; the optional owner password lets its holder change the permissions later. Leave the owner field empty and both roles share one secret. Each password may be at most 127 bytes, the longest revision 6 reads — beyond that a reader can never match it.
The three permission switches
Allow printing, Allow copying text and images, and Allow editing all start enabled. Turning one off writes the matching restriction into the PDF, and the result card lists exactly what is now blocked. Accessibility extraction is never restricted, so screen readers keep working even when copying is off.
Read this before you protect anything
A forgotten password means a file that can never be opened again: it is the only key and it is stored nowhere. An already-protected PDF is refused rather than re-encrypted, files over 100 MB are rejected, and the flags are a request to the reader, not cryptographic enforcement.
The encryption engine runs in your browser
qpdf is compiled to WebAssembly and executed in this tab, so the PDF and both passwords stay on your machine. Nothing is uploaded, the page contacts no server, and it works offline once loaded.
Questions
What happens if I forget the password?
The file cannot be opened again. The password is the only key and it is not stored anywhere — there is no recovery service and no back door. Keep it somewhere safe before you delete the original.
Which encryption is used?
AES-256 with revision 6 of the PDF standard (the same scheme current Acrobat versions use), applied by qpdf compiled to WebAssembly.
Does my PDF or my password leave my device?
No. The file is read in this tab, encrypted by WebAssembly on your own machine, and the result is handed back to you. Nothing is uploaded and the page makes no network requests.
Can I protect a PDF that is already password-protected?
No. This tool refuses an already-encrypted file instead of quietly re-encrypting it and replacing a password you may still need. Open it with its current password (and remove that protection) first.
Do PDF readers really respect the printing and copying limits?
Mainstream readers honour them, but they are a request to the reader rather than cryptographic protection: anyone who can open the file with the user password can still print the screen. Use them to signal intent, not to make content unextractable.
Related tools
See categorySign PDF
Draw, type or upload a signature, place it on a page and flatten it into the PDF.
View / Edit PDF Metadata
Inspect document properties or update PDF title, author, subject, keywords and more.
Compress PDF
Shrink a PDF by re-encoding its images and rebuilding the file, with before/after size.
Add Page Numbers
Stamp page numbers onto a PDF in the position and format you choose.