[HOW TO OPEN A .CRYPT FILE]

Almost always a WhatsApp chat backup — and the key is not inside it.

Last updated

A file named like msgstore.db.crypt14 or msgstore-2024-05-01.1.db.crypt15 is a WhatsApp chat backup. The number is the version of WhatsApp's backup encryption. The file is an encrypted SQLite database holding your messages; the key that opens it is stored separately, which is why no online tool can open the file by itself.

[THE SUPPORTED WAY: RESTORE IT IN WHATSAPP]

  1. Copy the backup into Android/media/com.whatsapp/WhatsApp/Databases/ on the phone (older Android versions: WhatsApp/Databases/), named msgstore.db.crypt14 (or 15).
  2. Install WhatsApp and verify the same phone number the backup was made with.
  3. Tap Restore when WhatsApp offers it. For an end-to-end encrypted backup it will ask for your backup password or 64-digit key.

This is the only method that needs no technical steps, and the only one that works without the key file.

[CHOOSING WHICH BACKUP GETS RESTORED]

The Databases folder usually holds several files. WhatsApp makes a local backup every night (by default around 2 a.m.) and keeps roughly the last week of them:

File What it is
msgstore.db.crypt14The most recent backup. This is the one WhatsApp offers to restore.
msgstore-2024-05-01.1.db.crypt14An older daily backup, named by date.
Backups/ folder (next to Databases)Smaller encrypted extras such as chat settings and stickers. Not your messages.

To restore an older day (for example, before chats were deleted), move the current msgstore.db.crypt14 somewhere safe, rename the dated file to msgstore.db.crypt14, then reinstall WhatsApp and restore. Messages received after that date will not be in it.

Photos, videos and voice notes are not inside the .crypt file. On a local backup they sit unencrypted in WhatsApp/Media, beside Databases. When moving to a new phone, copy the whole WhatsApp folder, not only the backup file.

[GOOGLE DRIVE BACKUP OR LOCAL BACKUP]

Under WhatsApp → Settings → Chats → Chat backup you can see when the last local backup and the last Google account backup were made (menu names vary a little between versions). The two behave differently:

  • Google Drive backup: restored automatically when the phone is signed in to the same Google account and you verify the same number. You never see a .crypt file.
  • Local backup: the .crypt file in the phone's storage. Restored only when WhatsApp finds it in the Databases folder during setup.

If both exist, WhatsApp generally offers the Google Drive backup first. To restore the local file instead, choose not to restore from Google, or set up the phone without that Google account, so that WhatsApp falls back to the local backup. Make sure you have a copy of the local file before you try anything, because a skipped restore can be overwritten by the next night's backup.

[WHERE THE KEY IS]

  • crypt12 and crypt14: the key is a small file at /data/data/com.whatsapp/files/key on the phone that made the backup. Android only lets WhatsApp read it, so getting it requires a rooted phone. WhatsApp also holds it on its servers, tied to your number, which is how a normal restore works.
  • crypt15 (end-to-end encrypted backups): the key is the 64-digit key you were shown when you turned on encrypted backups, or it is unlocked by the password you chose. If both are lost, nobody — including WhatsApp — can open the backup.

[READING IT ON A COMPUTER, WITH THE KEY]

If you have the key, the open-source wa-crypt-tools decrypts crypt12, crypt14 and crypt15 backups into an ordinary SQLite database that any SQLite browser opens. It runs on your own computer, so the backup and the key stay with you.

Only do this with your own backups. Reading someone else's chat history without permission is illegal in most countries.

[BEWARE OF "CRYPT14 DECRYPT ONLINE" SITES]

A site that offers to decrypt a .crypt file you upload — without asking for the key — cannot do what it claims: the key is not in the file. At best it fails; at worst it keeps a copy of your entire chat history, or asks for payment and delivers nothing.

If a .crypt file appeared next to your own documents with a ransom note, it is not a WhatsApp backup: see how to decrypt encrypted files for what to do about ransomware.

[FREQUENTLY ASKED QUESTIONS]

Can I open a .crypt14 file without the key?

Only by restoring it in WhatsApp on the same phone number, which retrieves the key from WhatsApp. Outside WhatsApp, the file cannot be decrypted without the key.

What is the difference between crypt12, crypt14 and crypt15?

They are successive versions of WhatsApp's backup format. crypt12 and crypt14 use a key stored on the phone and on WhatsApp's servers; crypt15 is used for end-to-end encrypted backups, whose key only you hold.

Why does WhatsApp say no backup was found?

The usual causes are: the file is in the wrong folder (it must be in Android/media/com.whatsapp/WhatsApp/Databases on recent Android versions), the name is not exactly msgstore.db.crypt14 or crypt15, a different phone number was verified, or WhatsApp was given storage permission only after it had already looked. Fix the location and name, then uninstall and reinstall WhatsApp so it looks again.

Can I read a WhatsApp backup on an iPhone?

No. iPhone WhatsApp backs up to iCloud in a different format and cannot restore Android .crypt files directly. WhatsApp's own chat transfer feature moves history between Android and iPhone.

Can CryptFile.Online open .crypt files?

No. It decrypts files encrypted with CryptFile.Online and OpenSSL. For a .crypt file, use WhatsApp's restore or, with your key, a local tool such as wa-crypt-tools.