WhatsApp Encrypted Database File
3.8 | 1394 Votes
What is a CRYPT12 file?
A CRYPT12 file is an encrypted database created by WhatsApp Messenger, an Android messenger application. It contains a 256-bit AES encrypted database of messages sent and received through the app.
The .crypt12 extension is appended to a .DB file to create a .DB.CRYPT12 file, which is an encrypted database that WhatsApp uses to back up a user's messages. Throughout WhatsApp's existence, the app has used different algorithms to encrypt users' messages. WhatsApp users may encounter .CRYPT7, .CRYPT8, .CRYPT10, or .crypt12 files, all of which are encrypted message backups.
If you want to decrypt a CRYPT12 database and view the message history it contains, you must first locate your WhatsApp key file, which stores your CRYPT12 file's encryption key. Your key file is stored in the following location: /data/data/com.whatsapp/files/key.
CRYPT12 database files are located on the SD card of Android devices with WhatsApp Messenger installed. You can find your CRYPT12 file (or other WhatsApp encrypted database file) in the following directory: /sdcard/WhatsApp/Databases.
You may find multiple CRYPT12 database files in the Databases folder, with YYYY-MM-DD dates included in their filenames. WhatsApp creates new backup files periodically; the dates in these files' filenames represent when they were created.
Most of these dated backup files can be deleted to free up space on your SD card, without affecting your WhatsApp messages. However, you should always keep the most recently dated one or two CRYPT12 files, in case you need to restore your WhatsApp message history.
NOTE: Only the Android version of WhatsApp Messenger creates CRYPT12 files. The iOS and desktop versions of WhatsApp messenger do not create CRYPT12 files.
Common CRYPT12 Filenames
msgstore.db.crypt12 - Name of the file that contains your encrypted message history.
msgstore-YYYY-MM-DD.db.crypt12 - Name of a recent WhatsApp message backup file. The YYYY-MM-DD indicates the date the backup was created.
How to open a CRYPT12 file
You can use a CRYPT12 file to migrate or restore your WhatsApp message history on an Android device. To do so, you must rename your most recent CRYPT12 file to msgstore.db.crypt12 before reinstalling WhatsApp and, when prompted, manually restoring your message history.