Whether it is safe to unlock PDF online depends on what happens to the file: Unlock PDF sends the PDF and your password to our server, where qpdf decrypts it.
The uploaded PDF, the unlocked copy and the job record are deleted automatically, usually about an hour after upload, at most about two.
Unlock PDFIs It Safe to Unlock PDF Online With PDF-File.com?
The password reaches qpdf as a plain argument with no shell in between, so nothing typed into the field can run commands on the server.
Every job gets its own folder in the server's temporary directory, named after your upload's random id.
The qpdf manual calls qpdf, the program Unlock PDF runs, a program and C++ library for structural, content-preserving transformations on PDF files. qpdf manual: What is qpdf?
When Your Unlocked PDF Is Deleted
On top of that, an hourly sweep clears job folders and raw uploads older than an hour, which catches files left behind after a server restart.
Download the unlocked PDF right after the results screen appears.

Safer Options for Sensitive Files
qpdf's --password option supplies the password for opening encrypted, password-protected files on your own computer too. qpdf manual: command-line options
Run qpdf --password=yourpassword --decrypt locked.pdf unlocked.pdf on your own computer to keep the file offline.
Keep highly sensitive files, such as medical or legal records, on your own device and decrypt them there.
Per the qpdf manual, a PDF locked with 256-bit AES and a strong password is about as secure as encrypting it with gpg or openssl. qpdf manual: PDF encryption
Check the Unlocked File Before You Share It
Open the downloaded PDF and confirm it opens without a password prompt.
Send the unlocked copy only to people who need it, or lock it again with Protect PDF.
Continue with Unlock PDF Wrong Password Error: Causes and How to Retry or Unlock PDF Without Knowing Password: What You Can Do.
Frequently Asked Questions about Is It Safe to Unlock PDF Online? What Happens to Your File
Does PDF-File.com keep my unlocked PDF?
Only until the automatic cleanup, which removes it within about two hours of upload.
Is it safer to remove a PDF password offline?
Use qpdf on your own computer when a file must never leave your device.
Why does Unlock PDF need my password at all?
Without it, qpdf has no key to decrypt the file, and Unlock PDF doesn't try to guess one.
Should I email the password with the file?
Send the password through a different channel than the file, such as a phone call or text message.