Protect PDF — Add AES-256 Password Encryption
Add a password to a PDF with AES-256 encryption — locally in your browser, no upload, nothing stored.
Your PDF will be encrypted with AES-256 (PDF 2.0, revision 6) — the strongest standard PDF encryption, the same form current Acrobat versions write. Older RC4 and AES-128 options are deliberately not offered: they are weaker, and there is no good reason to pick them in 2026.
Drop a PDF here or click to choose one
Processed entirely in your browser — nothing is uploaded.
Quick answers
How do I password-protect a PDF for free, without uploading it?
Choose the PDF, set an open password and download the AES-256 encrypted copy — all in your browser.
The encryption is written by qpdf (WebAssembly) using AES-256 revision 6. Nothing is uploaded, and there is no password recovery, so store the password safely.
Should I set a separate owner password?
Only if you need to control permission flags separately from viewing.
Left empty, the owner password defaults to the open password, which is the secure default for 256-bit files. Permission restrictions are advisory — the open password is the real protection.
How to use
About this tool
There is no password recovery. If you forget the password, the file cannot be opened — by us or by this tool. Store it in a password manager before you share the file.
Two passwords, two jobs. The open password is what a reader must type to view the document — that is the one that truly protects the content. The owner password controls permission flags such as printing and copying. Those restrictions are advisory: compliant readers honour them, but they can be removed by anyone with the owner password or suitable software. Only the open password truly protects the content.
Everything runs locally. The encryption engine (qpdf compiled to WebAssembly) runs in your browser; the file and both passwords exist only in the tab’s memory and are never uploaded, logged or stored.
How it works
U
n
d
e
r
t
h
e
h
o
o
d
:
q
p
d
f
1
2
.
2
.
0
(
W
e
b
A
s
s
e
m
b
l
y
)
w
r
i
t
e
s
t
h
e
f
i
l
e
w
i
t
h
-
-
e
n
c
r
y
p
t
u
s
i
n
g
2
5
6
-
b
i
t
k
e
y
s
,
p
r
o
d
u
c
i
n
g
a
n
A
E
S
-
2
5
6
R
6
e
n
c
r
y
p
t
e
d
d
o
c
u
m
e
n
t
(
V
=
5
)
.
I
f
t
h
e
o
w
n
e
r
p
a
s
s
w
o
r
d
f
i
e
l
d
i
s
l
e
f
t
e
m
p
t
y
,
t
h
e
o
p
e
n
p
a
s
s
w
o
r
d
i
s
u
s
e
d
f
o
r
b
o
t
h
r
o
l
e
s
,
b
e
c
a
u
s
e
a
n
e
m
p
t
y
o
w
n
e
r
p
a
s
s
w
o
r
d
o
n
a
2
5
6
-
b
i
t
f
i
l
e
i
s
c
o
n
s
i
d
e
r
e
d
i
n
s
e
c
u
r
e
.
Worked examples
: You encrypt the PDF with a strong open password, send the file by email and pass the password through a separate channel.
: The client gets the open password to read it. You keep a different owner password so the permission flags stay under your control.
: The tool refuses and points you to Unlock PDF first — encrypting an encrypted file in place would stack passwords confusingly.
Frequently asked questions
How strong is AES-256 R6?
It is the current standard form of PDF password encryption (PDF 2.0), with a deliberately slow password-derivation step that makes guessing expensive. Its practical strength still depends on your password: a long, unique passphrase beats a short clever one.
What if I forget the password?
The file is unrecoverable. This is stated before you encrypt, not buried after: no backdoor exists, and this site keeps no copy of the file or the password that could help.
What is the difference between the open and owner passwords?
The open password gates viewing. The owner password gates the permission flags (printing, copying, editing). Permission flags are honoured by well-behaved readers but are not cryptographic protection on their own.
Is my file uploaded?
No. Encryption runs in your browser via WebAssembly. The file and passwords never leave the tab, and a fresh engine instance is used for each run.
Can I encrypt a PDF that already has a password?
Not directly. Remove the existing password with the Unlock PDF tool first, then protect the unlocked copy here with the new password.
First time embedding? Read the step-by-step guide →
More free tools
QR Code Generator
Turn any link or text into a scannable QR code in seconds.
Word Counter
Count words, characters, sentences and reading time as you type.
Percentage Calculator
Work out percentages, increases and discounts in one click.
Age Calculator
Find your exact age in years, months and days.
BMI Calculator
Check your Body Mass Index in seconds.
Tip Calculator
Split the bill and work out the tip in seconds.