[WHAT ENCRYPTED MY FILE?]

Find out which program encrypted a file — and how to open it — in one drop.

Last updated

An encrypted file can only be opened by the program that encrypted it, with the right password or key. The hard part is usually knowing which program that was. Drop the file below: the identifier reads its signature and structure and tells you what it is and what to do next.

It runs entirely in your browser and reads only the beginning and end of the file. It never needs — and never asks for — a password.

[IDENTIFY A FILE]

Only the first 1 MB and the last 64 KB are read, inside your browser. Nothing is uploaded.

[WHAT IT RECOGNISES]

  • Encryption tools: CryptFile .enc, OpenSSL (Salted__), CryptoJS text, GnuPG / OpenPGP, age, AES Crypt, AxCrypt, Ansible Vault, Mozilla SOPS.
  • Protected documents and archives: password-protected Word, Excel and PowerPoint files, PDFs, ZIP (ZipCrypto and AES), 7-Zip and RAR.
  • Apps and devices: WhatsApp backups (crypt12, crypt14, crypt15), WeChat .dat images, KeePass databases, VPN app configs (HTTP Injector, HTTP Custom, NapsternetV, TLS Tunnel, Dark Tunnel), BitLocker and LUKS volumes, VeraCrypt containers.
  • Things that only look encrypted: DRM-protected video, ransomware-renamed files, Outlook winmail.dat, Base64 and UUencoded text, and ordinary files with the wrong extension.

[HOW IT WORKS]

Most file formats begin with a fixed signature: a few bytes that name the format, such as %PDF for a PDF or PK for a ZIP. Encryption tools do the same — OpenSSL writes Salted__, CryptFile writes ENCF. The identifier checks the first bytes against a list of known signatures, then looks inside the structure where needed: a ZIP's encryption flag, the EncryptedPackage stream of a protected Office file, the /Encrypt entry of a PDF.

When there is no signature, it measures how random the bytes are. Encrypted data is indistinguishable from random noise; documents, images and program data are not. Combined with the file name, that separates "encrypted by an app", "probably ransomware" and "just an unknown format".

[READING THE RESULT]

Each result starts with one of four verdicts. They mean different next steps:

Verdict What it means Next step
EncryptedA known tool's signature was found, or the bytes are random and the name points to a source.Open it in the program named, with its password or key. For CryptFile, OpenSSL and WeChat files, that can happen on this site.
Not encryptedAn ordinary format: an image, a video, gzip, plain text, winmail.dat. Often the extension is simply wrong.Rename it to the extension shown, or open it with the program suggested. No password is involved.
MaybeAn encoding such as Base64. Anyone can decode it; what is inside may or may not be encrypted.Decode it, then drop the decoded result here again.
UnknownNo known signature, and the content has structure that encrypted data would not have.Probably an app's private data format. Ask where the file came from; that is the program that opens it.

[CHECKING THE FIRST BYTES YOURSELF]

You can see the same evidence the identifier uses without any website. Show the first 16 bytes of the file:

# Windows (PowerShell)
Format-Hex -Path .ile.dat | Select-Object -First 1

# macOS and Linux
xxd file.dat | head -n 1
file file.dat

Then compare the start with this table of signatures the identifier checks:

File starts with It is
ENCFCryptFile.Online; decrypt it here
Salted__openssl enc or CryptoJS; decrypt it here
age-encryption.org/v1age; opens with age -d and the identity file or passphrase
-----BEGIN PGP MESSAGE-----GnuPG / OpenPGP; gpg -d
AES followed by 01–03AES Crypt (.aes)
03 D9 A2 9AKeePass database (.kdbx); opens in KeePass or KeePassXC
-FVE-FS- (at byte 3)A BitLocker volume image; needs the recovery key
LUKS BA BEA LUKS (Linux) encrypted volume; cryptsetup open
$ANSIBLE_VAULT;Ansible Vault; ansible-vault view
PK, 7z BC AF 27 1C, Rar!ZIP, 7-Zip or RAR archive, possibly password-protected
D0 CF 11 E0An old-style Office file, or a modern one saved with a password (the encrypted .docx is wrapped in this container)
%PDF-A PDF; protected if it contains an /Encrypt entry

No match and the bytes look like noise from the first one? That is the headerless case described above: VeraCrypt, an app's private vault, or ransomware. The file name and where it came from decide which.

[WHAT IT CANNOT DO]

It identifies files; it does not break encryption. If a file was encrypted with a password or key you do not have, no tool can open it — and a website that claims otherwise is not telling the truth. The one exception is WeChat .dat images, which are only scrambled with a one-byte key and can be converted back to a normal image right here.

Two limits on the identification itself. Files with no signature are judged on randomness, and a heavily compressed file (a video, a ZIP stored without its header) can look as random as encrypted data, so those results say "possibly". Formats defined by their extension alone, such as WhatsApp .crypt14 backups and VPN app configs, are recognised from the name, so a renamed file can mislead it.

[HOW TO IDENTIFY AN ENCRYPTED FILE]

Find out which program encrypted a file, in your browser.

  1. Drop the file. Drag the file onto the box above, or click to choose it. It is read locally and not uploaded.
  2. Read the result. The identifier shows whether the file is encrypted, which program most likely made it, and how sure it is.
  3. Open it with the right tool. Follow the steps shown for that format. Files encrypted with CryptFile.Online can be decrypted on this site.

[FREQUENTLY ASKED QUESTIONS]

Is my file uploaded?

No. The identifier reads the first megabyte and the last 64 KB of the file inside your browser. Nothing is sent to a server, which you can confirm in your browser's developer tools.

Can it decrypt my file?

It tells you what can. Files encrypted with CryptFile.Online can be decrypted here, and WeChat .dat images can be converted back to normal images here. Everything else needs the program that encrypted it and the right password or key.

How accurate is it?

Files with a signature, such as OpenSSL, GPG, protected Office documents, PDFs and archives, are identified with certainty. Files without one, such as VeraCrypt containers and app-encrypted media, are inferred from their randomness and name, and the result says so.

My file was encrypted by ransomware. Can you help?

The identifier flags ransomware-renamed files and links to No More Ransom and ID Ransomware, which identify the strain and offer free decryptors where researchers have found one.