Follow these steps to extract all your WhatsApp data, including messages, in a secure and comprehensive way.
This guide is intended to help you access your own data only. Unauthorized access to data that does not belong to you may violate privacy laws and terms of service. Use this guide responsibly.
- Open WhatsApp on an Android phone that contains all the messages you want to extract.
- Go to Backup Settings:
- Navigate to
Settings -> Chats -> Chat backup
(path may vary in future versions of WhatsApp).
- Navigate to
- Manage End-to-End Encrypted Backup:
- If backup encryption is disabled, proceed to Step 4.
- If encryption with a password is enabled, disable it and proceed to Step 4.
- If encryption with a 64-digit encryption key is enabled and you don’t know the key, disable it and proceed to Step 4.
- If encryption with a 64-digit encryption key is enabled and you know the key, proceed to Step 5.
- Enable Backup Encryption:
- Choose to use a 64-digit encryption key.
- After the key is generated, take note of it, as it will be needed later.
- Download ADB:
- Download the Android Debug Bridge (ADB) tool from its official website on your PC.
- Enable USB Debugging:
- On your Android phone, enable USB debugging in the Developer Options.
- Note: Each phone may require different steps to enable USB debugging; refer to your device’s documentation or search online for specific instructions.
- Connect the phone to your PC via USB.
- Extract WhatsApp Data Using ADB:
- Execute the following commands in a terminal or command prompt:
adb pull /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Databases ./Databases adb pull /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Backups ./Backups
- Execute the following commands in a terminal or command prompt:
- Decrypt the Encrypted Files:
- Use the encrypted
.crypt15
files and the 64-digit encryption key with the tool wa-crypt-tools. - Example command:
wadecrypt <64digitkey> msgstore.db.crypt15 msgstore.db
- Use the encrypted
- View the Decrypted Database:
- The decrypted
.db
files can be opened and viewed using any SQLite explorer. - Investigate the database design to navigate the decrypted results. The structure is straightforward, and table names are descriptive.
- The decrypted
- This guide assumes basic familiarity with terminal commands and ADB setup.
- Handle the 64-digit encryption key and decrypted data carefully to ensure your privacy and security.
Thanks this is usefull