mofan6

Moect is a Windows Python (PyInstaller single-file exe) WeChat 4.x chat-history exporter. Direct local SQLite + IndexedDB parse, AES key auto-dumped from the running WeChat process, zero server contact. Exports friends and groups in HTML / JSON / TXT / Markdown.

v1.3.2
Published at
1d ago
935
Stars
19,197
Download
Synced at
8h ago

Latest release

v1.3.2Nov 25, 2026, 01:50 PM
Downloads slow? Switch the source anytime above

README

Project Overview

Moect by mofan6 is a Windows WeChat 4.x chat-history exporter and offline archiver — Python packaged as a single-file exe by PyInstaller. Core tech: parses local WeChat 4.x SQLite databases (MSG*.db sharded across multiple files) directly from disk plus IndexedDB decryption via an AES key automatically dumped from the running WeChat process. No contact with WeChat servers; nothing uploaded. Exports friends and groups, single or batch, to four formats: HTML, JSON, TXT, Markdown. README details the path layout (WeChat 4.x defaults to C:\Users{user}\Documents\WeChat Files{wxid}\Msg) and the AES key auto-locate logic (scans 0x0040-0x1000 of the WeChat process memory to find the AES key segment).

Item Value
Platform Windows (WeChat 4.x)
Language Python (PyInstaller single-file exe)
Output formats HTML / JSON / TXT / Markdown
Data source local WeChat SQLite sharded DB (MSG*.db)
License not declared

100% local WeChat 4.x chat export. Direct SQLite parse, no WeChat server contact.

Key Features

  • Local SQLite + IndexedDB parse: opens MSG0.db + MSG1.db + MSG2.db... sharded SQLite files directly from disk
  • AES key auto-locate: scans 0x0040-0x1000 of the WeChat process memory to find the AES key segment; also supports manual paste or HKCU\Software\Tencent\WeChat registry path
  • Friend + Group export: pick contacts and groups from a list, single or batch
  • Four output formats: HTML (timeline style + embedded images), JSON (raw structure), TXT, Markdown
  • Attachments: pulls images, voice, video, files from the local WeChat Files directory and embeds them
  • Auto rebuilds message index: scans all MSG*.db shards and merges a full timeline

Export Flow

  1. Launch Moect → auto-locate WeChat data directory
  2. Auto-dump WeChat process memory for AES key (or paste manually)
  3. List of friends/groups → pick targets → pick output format → pick output dir
  4. Export completes, open the output folder

Target Audience

  • Windows WeChat 4.x users wanting to back up chat history
  • People exporting before a phone swap or OS reinstall
  • Forensic needs to parse WeChat DB offline

Quick Start

  1. Download Moect.exe from Releases (PyInstaller single-file)
  2. Make sure WeChat 4.x is already running and logged in (memory dump needs the process)
  3. Run Moect as Administrator → auto-scans DB + dumps AES key
  4. Pick output directory → batch export → open the result

Core Advantages

  • 100% local: no WeChat server contact, nothing uploaded to any third party
  • Auto AES key dump: scans the WeChat process memory range 0x0040-0x1000
  • Four formats + attachments: styled HTML, raw JSON, plain TXT/MD, all media embedded

System Requirements

Item Requirement
OS Windows with WeChat 4.x logged in
Privilege admin (memory dump requires elevated)
WeChat 4.x (uses MSG*.db sharding)

Notes

  • Needs admin rights: dumping WeChat process memory requires elevation
  • WeChat must stay logged in: the process needs to exist for memory dump
  • Use forward slashes for paths: avoids JSON escape issues in the exporter

Release history

Sort