# wechat-dump

> Open-source Python tool that parses WeChat message databases from a rooted Android phone and renders chats to HTML.

Source: https://osinttools.io/tools/wechat-dump/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** File
- **Category:** Data capturing
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI (Linux, macOS, Windows with Bash)
- **Website:** https://github.com/ppwwyyxx/wechat-dump
- **GitHub:** ppwwyyxx/wechat-dump, 2,032 stars · Python · GPL-3.0 · last commit 2026-02-23
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

wechat-dump reads the WeChat message database and media folders pulled from a rooted Android phone and turns them into readable output. It can dump the text of every chat, list chats, produce message statistics and render a conversation into a self-contained HTML file with images, voice messages, emojis and video.

Examiners use it when they have lawful access to a device and need to review or preserve its WeChat history outside the app. Decrypting the EnMicroMsg.db database is a separate step that the project deliberately does not document, so it suits people already comfortable with mobile forensics.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- Pulls the database and media over adb
- Dumps text of every chat
- Renders chats to self-contained HTML
- Includes voice, images, emojis and video
- Message statistics scripts
- Base for custom analysis scripts

## Pros

- Free and open source (GPL-3.0)
- Widely used and maintained, verified against recent WeChat versions
- Keeps media alongside text in the HTML output

## Cons

- Needs a rooted Android phone
- Database decryption is left to the user
- Command-line setup with several dependencies

## When to use it

- Use it when you have lawful access to an Android phone and need to export its WeChat chats.
- Use it when you want WeChat history in a format other analysis tools can read.

## Quick start

Clone and install dependencies:

```
git clone https://github.com/ppwwyyxx/wechat-dump
cd wechat-dump
pip install -r requirements.txt
./dump-msg.py decoded.db output_dir
```

## Alternatives

- [Lookyloo](https://osinttools.io/tools/lookyloo/): Open-source web capture tool from CIRCL that records a page with every redirect and loaded resource as a navigable tree. (Open source · URL, File · active · 791 GitHub stars)
- [Firecrawl MCP](https://osinttools.io/tools/firecrawl-mcp/): Firecrawl's official MCP server for scraping, crawling, mapping and searching the web, with a keyless hosted tier. (Open source · URL, Domain, Name, File · active · 7,926 GitHub stars)
- [X-osint](https://osinttools.io/tools/x-osint/): Menu-driven Python toolkit for Linux and Termux covering IP, email, phone, VIN, DNS, subdomain and metadata lookups. (Open source · IP address, Email, Phone number, Domain, Image, File · depends · 2,929 GitHub stars)
- [AI Voice Detector](https://osinttools.io/tools/ai-voice-detector/): Web detector that scores whether speech in an audio clip is AI-generated, segment by segment, with a free tier and an API. (Freemium · File · passive)
- [ALEAPP](https://osinttools.io/tools/aleapp/): Open-source parser that turns an Android extraction into HTML, TSV, timeline and KML reports of messages, app data and logs. (Open source · File · passive · 1,055 GitHub stars)
- [APKLeaks](https://osinttools.io/tools/apkleaks/): Python CLI that decompiles an Android APK with jadx and scans it for URLs, endpoints and hardcoded secrets. (Open source · File · passive · 6,404 GitHub stars)

All alternatives to wechat-dump in one table: https://osinttools.io/tools/wechat-dump/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
