pywxdump
微信信息获取工具
What it is and what it does
PyWxDump is a forensic and backup tool for WeChat that runs on Windows to extract account credentials (nickname, account name, phone, email, encryption key), decrypt the local SQLite databases, and provide unified viewing of chat history. It includes a web interface built on fastapi and uvicorn for remote access to chat logs, and can export conversations as HTML, CSV, or backup archives.
The package operates by reading WeChat process memory to locate encryption keys and database paths, then decrypting the databases using those keys. It combines multiple database types for a complete view of chat history. The tool is designed primarily for personal backup and archival of one's own WeChat data, though the disclaimer emphasizes it is for learning purposes only and must not be used for unauthorized access or privacy violation.
Use it for:
- Back up and archive your own WeChat chat history locally before reinstalling or upgrading WeChat
- Export WeChat conversations to HTML or CSV for record-keeping or compliance purposes
- View historical chat logs through a web interface on a local network without opening WeChat
- Analyze your own chat data (word clouds, message frequency) after decryption and parsing
- Recover or migrate chat history across devices by extracting and decrypting databases
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extracts WeChat account metadata, decrypts chat databases, and provides web-based viewing and export of chat history as HTML or CSV.
Yes, if you are on Windows and need to back up or export your own WeChat data. The package has low install friction and active community interest (9675 GitHub stars). However, the aging maintenance status and Windows-only practical support are concerns. The strict disclaimer and 24-hour usage window suggest this is a specialized forensic tool—install only if you understand the legal and ethical constraints and have a legitimate backup or archival need.
Install
pywxdump on PyPI
pip
pip install pywxdumpuv
uv add pywxdumppoetry
poetry add pywxdumpInstalling pywxdump
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last commit was 2025-10-20 but the package has not been updated since 2025-10-15. The 15 runtime dependencies include system-level libraries (pywin32, pyaudio) that may require additional setup on non-Windows platforms.
License in practice
MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute the package freely provided you retain the license notice.
Quickstart
pip install pywxdump
from pywxdump import PyWxDump
# Extract WeChat account info and decrypt databases
wxdump = PyWxDump()
info = wxdump.get_wx_info()
wxdump.decrypt_db(info['key'], info['db_path'])
Windows-only; depends on pywin32 and pymem for process memory access. Requires an active WeChat installation and currently logged-in session.
Verify before relying
- Whether the package works reliably on macOS or Linux despite classifier claiming OS independence
- Current stability of the 15 runtime dependencies, particularly pywin32 and pymem on modern Windows versions
- Whether the web UI (fastapi/uvicorn stack) is fully functional in version 3.1.46 or requires separate setup
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 15 — psutil, pycryptodomex, pywin32, pymem, silk-python, pyaudio, requests, pyahocorasick, lz4, blackboxprotobuf, lxml, dbutils, fastapi, uvicorn, python-dotenv |
| Maintenance | aging — 303 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 148,997/month — #11,008 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pywxdump-3.1.46-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
wechatpyWeChat SDK providing Python bindings for…
permissive · top 15,000 on PyPI
wecom-aibot-python-sdkA Python SDK for WeChat Work (企业微信) AI bot that…
permissive · top 15,000 on PyPI
pyiosbackupParses and decrypts iOS device backups,…
copyleft · top 15,000 on PyPI
pyinstxtractor-ngExtracts Python bytecode and resources from…
copyleft · top 15,000 on PyPI
django-dbbackupProvides Django management commands to backup…
permissive · top 15,000 on PyPI
mail-parser-replySplits incoming email messages into separate…
permissive · top 15,000 on PyPI
wechatpayv3SDK for integrating WeChat Pay API v3 into…
permissive · top 5,000 on PyPI
commonregexExtracts dates, times, emails, phone numbers,…
permissive · top 15,000 on PyPI
extract-msgExtracts email metadata (from, to, cc, date,…
copyleft · top 5,000 on PyPI
pywidevineImplements Widevine Content Decryption Module…
copyleft · top 15,000 on PyPI