preloader
post-thumb

Last Update: April 27, 2026


BYauthor-thumberic

|Loading...

Keywords

WeChat stores your message history in a local SQLite database encrypted with SQLCipher. To read your own messages with any third-party tool — including backup utilities or search apps — you first need the encryption key that WeChat uses to lock that database.

Getting that key used to mean running commands in a terminal, attaching debuggers, or following fragile step-by-step guides that broke with every WeChat update. WetraceTool wraps the underlying wetrace hook into a simple four-step wizard. You click through the steps, log in to WeChat when prompted, and the key appears on screen ready to copy.

What you need

  • Windows 10 or 11 (64-bit)
  • WeChat (国际版) or Weixin (微信) installed
  • WetraceTool — download the latest WetraceTool-Setup-*.exe installer from here.

Step 0 — Run the installer

Double-click the installer and follow the prompts. After the installation, search up "WetraceTool", the run it. Because WetraceTool needs to attach to the WeChat process, Windows will show a User Account Control dialog asking for elevated permissions. Click Yes to continue.

Windows UAC prompt asking permission to run WetraceTool.exe

This is expected — the tool cannot capture the key without administrator-level access to the running WeChat process.

Step 1 — Start WeChat

Once WetraceTool opens you will see the four-step wizard on the left and the current step's instructions on the right.

WetraceTool step 1 — Start WeChat, showing Launch WeChat button and "Waiting for WeChat to start" status pill

Click Launch WeChat to start WeChat automatically, or just open WeChat yourself — the app polls for it in the background and will advance to the next step the moment it detects WeChat is running.

Step 2 — Get to the WeChat login screen

For the key capture to work, WeChat must be sitting at the login screen (showing a QR code or an account avatar with a "Log in" button) at the moment you sign in. If you are already logged in, you need to log out first.

WetraceTool step 2 — Log out of WeChat, with numbered instructions and a Continue button

The app gives you the exact steps:

  1. Click the profile / avatar icon in the bottom-left corner of WeChat
  2. Go to Settings → My Account → Log out
  3. Confirm the log out

Once you can see the QR code or the login button in WeChat, click I can see the login screen — Continue ✓ in WetraceTool.

Step 3 — Extract the key

This is the active capture step. WetraceTool starts the background hook service and then waits for you to log in to WeChat. You have 60 seconds from the moment you click Start.

WetraceTool step 3 — Extract Encryption Key, showing a 00:41 countdown timer and a "Start — I'm ready to log in" button

When the Start — I'm ready to log in button becomes active (it will briefly show "Starting background service…" while the hook initialises), click it and then immediately switch to WeChat and log in. WeChat may reopen a login window — that is normal and expected. Just sign in as you normally would; the key is captured automatically the instant WeChat unlocks its database.

Tip: Have WeChat's QR code scaner (Discover -> Scan) ready on your phone before clicking Start so you don't lose time.

Step 4 — Copy your key

If the capture succeeded, the wizard advances to the final screen showing your encryption key and, where it can be detected automatically, the path to your WeChat message database.

WetraceTool step 4 — Key Extracted, showing a redacted encryption key field with a "Copy Key" button and a database path field with a "Copy" button

Click Copy Key to copy the encryption key to your clipboard. If the database path was detected, you can copy that too with the Copy button beneath it. Both values are what you will need to open your WeChat database with a tool like decrypt_sync or any SQLCipher-aware client.

You can close WetraceTool once you have copied what you need.

Troubleshooting

Timer runs out with no key captured Make sure you log in to WeChat after clicking Start, not before. The hook only listens from the moment you click Start.

"Starting background service…" button never becomes active WetraceTool needs elevated permissions to attach to the WeChat process. Close the app, right-click the shortcut, and choose Run as administrator.

WeChat is not detected automatically Open Task Manager and check whether Weixin.exe or WeChat.exe is listed under running processes. If neither appears, WeChat may not have launched correctly — try starting it manually.

Key extraction fails with a connection error The background hook service failed to start or was blocked. Close WetraceTool, reopen it as Administrator, and work through the steps again from the beginning.

Comments (0)

Leave a Comment
Your email won't be published. We'll only use it to notify you of replies to your comment.
Loading comments...
Previous Article
post-thumb

Oct 03, 2021

Setting up Ingress for a Web Service in a Kubernetes Cluster with NGINX Ingress Controller

A simple tutorial that helps configure ingress for a web service inside a kubernetes cluster using NGINX Ingress Controller

Next Article
post-thumb

Apr 14, 2026

Managing Windows Made Easy with Cygwin and Claude

Stop fighting with Windows GUIs. With Cygwin, an SSH daemon, and Claude Code, you can manage any Windows machine from the command line — uninstalling software, cleaning the registry, killing startup entries — just by asking.

agico

We transform visions into reality. We specializes in crafting digital experiences that captivate, engage, and innovate. With a fusion of creativity and expertise, we bring your ideas to life, one pixel at a time. Let's build the future together.

Copyright ©  2026  TYO Lab