[WHAT ENCRYPTED MY FILE?]

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

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".

[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.

[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.