Created by RTB Ruhan
A clean, modern tool to export your WeChat chat history. Completely standalone - no wxdump needed!
This tool reads from your LIVE WeChat PC data - NOT from WeChat's "Backup" feature!
| ❌ This does NOT work | ✅ This DOES work |
|---|---|
| WeChat's "Backup to PC" files | Live chat data while WeChat is running |
BackupFiles folder |
Msg folder with MSG0.db, MicroMsg.db etc. |
| Phone backup data | PC synced messages |
Your messages must be synced to your PC version of WeChat to be exported.
Download and install WeChat version 3.9.12.15 (this specific older version is required).
Default install location:
C:\Program Files (x86)\Tencent\WeChat\WeChat.exe
- Open WeChat 3.9.12.15
- Log in with your account
- Wait for messages to sync - you should see your chat history appear
- Close WeChat completely (this saves pending messages to the database)
- Reopen WeChat and keep it running
⚠️ Important: WeChat stores new messages in a temporary file (WAL). Closing WeChat forces it to save everything to the main database, which we can then decrypt.
cd UsChats
pip install -r requirements.txt
python app.pyOr double-click START.bat
The tool will automatically:
- ✅ Detect WeChat is running
- ✅ Extract the decryption key from memory
- ✅ Decrypt your chat databases
- ✅ Show your conversations!
WeChat stores your chat data in these locations:
C:\Users\YOUR_USERNAME\Documents\WeChat Files\YOUR_WXID\Msg\
Check WeChat Settings → Files → File Location
WeChat Files/
└── wxid_xxxxxxxxx/ <- Your WeChat ID
├── Msg/ <- Chat databases (what we read!)
│ ├── Multi/
│ │ └── MSG0.db <- Main message database
│ ├── MicroMsg.db <- Contacts & settings
│ └── ...
├── FileStorage/ <- Media files
└── BackupFiles/ <- Phone backups (NOT supported)
Your WeChat PC hasn't synced any messages yet.
- Open WeChat on your phone
- Make sure PC WeChat shows your chat history
- The messages must appear in PC WeChat to be exported
The BackupFiles folder contains encrypted phone backup data in a different format. This tool reads the LIVE database files, not backup files.
Only if you sync them to PC WeChat first. Open the chat on your phone, and it will sync to PC.
| Feature | Description |
|---|---|
| 🔓 Built-in Decryption | Extracts key automatically - no wxdump needed! |
| 💬 Chat Browser | WhatsApp-like interface with search |
| 📄 TXT Export | Plain text format |
| 📋 JSON Export | Structured data for analysis |
| 🌐 HTML Export | Beautiful web page view |
| 📊 CSV Export | Spreadsheet format |
| 🖼️ Media Support | View images, play audio/video |
| Version | Status |
|---|---|
| 3.9.12.15 | ✅ Fully Supported |
| 3.9.12.17 | ✅ Supported |
| 3.9.11.x | ✅ Supported |
| 3.9.10.x | ✅ Supported |
| 3.9.9.x | ✅ Supported |
| 3.9.8.x | ✅ Supported |
| 3.9.7.x | ✅ Supported |
| 3.9.6.x | ✅ Supported |
| 3.9.5.x | ✅ Supported |
- All processing happens locally on your computer
- No data is sent to any server
- Your decryption key is stored locally in
config.json - Export files stay in the
exports/folder
MIT License - Free to use and modify.
Made with ❤️ by RTB Ruhan