Why convert CRYPT to DB?
Converting .crypt to .db exposes the raw SQLite chat database, letting you inspect, search, or archive your chat history outside of WhatsApp using any SQLite browser. This is useful after switching phones or losing WhatsApp account access when you need direct access to the data.
How to convert CRYPT to DB
wa-crypt-tools OPEN-SOURCE
Install via pip (pip install wa-crypt-tools) and run wadecrypt --keyfile key msgstore.db.crypt14 msgstore.db; for crypt15 with a password, use --password "yourpassword" in place of --keyfile.
WhatsApp FREE
If you only need your chats back rather than the raw database, reinstall WhatsApp with the same phone number, place the .crypt file in WhatsApp/Databases/, and tap Restore - no key handling required.
About these formats
A .crypt file is WhatsApp's encrypted backup of your chat database. You cannot open it directly. The correct way to use it is to reinstall WhatsApp on a phone with the same phone number and…
Open .CRYPT details →A .db file is almost always a SQLite database - the single-file format used by Android apps, browsers, and desktop programs to store their data. Open it with the free DB Browser for SQLite…
Open .DB details →Quality & what to watch
- The decryption key is mandatory: for crypt12/crypt14 it is at
/data/data/com.whatsapp/files/keyon a rooted Android device; for crypt15 you need your 64-digit key or the password set when enabling E2E backup. - If you lose your crypt15 key or password, the backup is unrecoverable - WhatsApp does not hold a copy on any server.
- The decrypted
msgstore.dbis a standard SQLite 3 file that any SQLite browser can open to read themessagesandchattables.
Frequently asked questions
Can I open the decrypted `.db` file in a regular database viewer?
msgstore.db is a standard SQLite 3 file that any SQLite browser can open to read the messages and chat tables.