Back to Journal
Developer Tools 7 min read

How to Export WeChat Voice Messages on a Mac

WeChat for Mac has no save button for voice messages, and the best-known export tools have been taken down. We built a free tool that records each message as it plays, without touching WeChat's encrypted database.

Key Takeaways

  • To export WeChat voice messages on a Mac, run the free wxvoice tool, play each message in WeChat, and press Ctrl-C. You get one M4A and one WAV file per message.
  • Two widely used export tools, chatlog and PyWxDump, removed all their code on October 20, 2025 after letters from WeChat. A third, wechat-decrypt, was blocked on GitHub in July 2026 after a DMCA notice from Tencent.
  • Those tools extracted the key to WeChat's encrypted database. wxvoice never opens the database: it records only WeChat's own sound through macOS.
  • In our test of 20 messages, every exported file was within 0.52 seconds of the length WeChat shows, with no dropouts.
  • It records in real time, so a 60-second message takes 60 seconds. It needs macOS 13 or later and does not run on Windows or phones.

WeChat for Mac has no button to save a voice message as an audio file. The way that works now is to record each message while it plays. We built a free command-line tool that does this, wxvoice. It records only WeChat's sound and saves each message as its own M4A and WAV file.

If you followed an older guide and ended up at a deleted repository or a “cannot get key” error, the next section explains why. If you only want your files, go to the five steps.

Why do most WeChat voice export tools no longer work?

WeChat 4 keeps its messages, including the audio of voice messages, in an encrypted database on your computer. Most export tools worked by finding the key to that database. That approach has failed in two ways.

The key became harder to find. The maintainer of chatlog explained that WeChat for Mac versions after 4.0.3.80 no longer keep the key in memory for long, so the tool could not read it.

The tools were taken down. Tencent, which owns WeChat, has been sending legal notices to the projects and to GitHub. In its July 2026 notice, it said that extracting the database keys bypasses its access controls. GitHub applied that one notice to a network of 2,352 repositories.

MethodStatus on December 3, 2026
chatlogAll code removed on October 20, 2025, after a letter from WeChat
PyWxDumpAll code removed on October 20, 2025, after a lawyer's letter from WeChat
wechat-decryptBlocked by GitHub in July 2026 after Tencent's DMCA notice
Other Mac decryption tools, such as wechat-export-macosSome are still online. This one asks you to re-sign the WeChat app, and to do it again after every WeChat update
Recording all of the Mac's soundWorks, but any other app that makes a sound ends up in the recording
wxvoiceWorks in our test on WeChat 4.2.0, with no key and no changes to WeChat

How does wxvoice get around the problem?

It leaves the database alone. WeChat already decrypts a voice message when you play it, so wxvoice records what comes out. Because it does not depend on the database key or format, a change to either one does not break it.

  1. It listens to one app. macOS has a built-in framework, ScreenCaptureKit, that can capture audio on macOS 13 and later. wxvoice asks it for WeChat's sound only, so music or notifications from other apps are not recorded.
  2. It finds the gaps. When WeChat is not playing anything, the recording is exact digital silence. A person pausing mid-sentence still leaves faint background noise. That difference tells wxvoice where one message ends.
  3. It cuts the recording. One second of exact silence separates two messages. Each message is saved as its own file, numbered in the order you played it.

How do you export WeChat voice messages on a Mac?

You need macOS 13 or later, WeChat for Mac signed in, and the voice messages visible in a chat. You will use the Terminal app for a few commands.

1. Build wxvoice

If you do not have Apple's command line tools, run xcode-select --install first. Then run:

git clone https://github.com/basedlsg/wechat-voice-export.git
cd wechat-voice-export
swift build -c release

2. Allow audio recording

.build/release/wxvoice doctor

If permission is missing, open System Settings > Privacy & Security > Screen & System Audio Recording and turn on your terminal app. Quit and reopen the terminal, or the change does not take effect. Then go back to the folder with cd wechat-voice-export.

3. Start recording into a new folder

.build/release/wxvoice record ~/Desktop/wechat-voice

4. Play each message in WeChat

Click the first voice message. Wait until the terminal prints a line such as clip 1 done: 44.0 s, then click the next one. If you click early, WeChat can cut off the message that is still playing.

5. Press Ctrl-C

Your files are in the folder you chose. A name like 01_44s.m4a means the first message you played, 44 seconds long. That is the length WeChat shows next to the message, so you can match each file to its message.

How accurate are the exported files?

We exported 20 voice messages from one chat, between 3 and 60 seconds long. Every file was within 0.52 seconds of the length WeChat shows, and none had a dropout. That run used an earlier build of the same recording code. We then checked the published build with two live messages and got the same lengths.

All of this was on one Apple Silicon Mac with macOS 26.2 and WeChat 4.2.0. We have not tested Intel Macs, other WeChat versions, or group chats.

What are the limits?

  • It runs in real time. Ten minutes of messages take at least ten minutes, and they play out loud. For thousands of messages, this is slow.
  • It saves only what you can play. If a message was deleted or never reached your Mac, wxvoice cannot recover it.
  • It does not save dates or sender names. Keep a short note of which chat each folder came from.
  • Other WeChat sounds are recorded too. Sounds under half a second are ignored. Longer ones become extra files you can delete.

What can you do with the files?

Keep them as a backup, send them to someone outside WeChat, or put them through a transcription tool to get searchable text. If you want to build speech into a product, our guide to building an AI voice agent covers what comes after the audio file.

The code and full documentation are on GitHub: basedlsg/wechat-voice-export.

Keep Reading

Frequently Asked Questions

Can I export WeChat voice messages as MP3?

wxvoice saves M4A and WAV files, not MP3. M4A plays on Macs, iPhones, Android phones and Windows. If you need MP3, convert the WAV file with any audio converter.

Do I need a decryption key to save WeChat voice messages?

Not with wxvoice. It records the sound WeChat plays, so it does not need the database key, and you do not have to re-sign WeChat, downgrade it, or turn off macOS System Integrity Protection.

Does this work for WeChat on iPhone, Android or Windows?

No. wxvoice runs on macOS 13 or later and records WeChat for Mac. Messages you received on your phone can be exported only if they also appear and play in WeChat on your Mac.

How long does it take to export WeChat voice messages?

As long as the messages take to play, plus your clicking. WeChat voice messages are at most 60 seconds long, so 20 of them take 20 minutes or less of playback.

Do the exported files keep the date and sender?

No. Files are numbered in the order you played them, with the length in the name, such as 01_44s.m4a. WeChat's chat window does not show a send time for every message, so wxvoice cannot record one.

Are my WeChat messages uploaded anywhere?

No. wxvoice makes no network connection, and every file stays on your Mac. The source code is public on GitHub, so you can check this yourself.

Free Tools

Game Changer Labs

Tell us what you're building — book a free scoping call.

Pick a time that works and walk us through your project — 30 minutes, straight to the point. You leave with a concrete plan, timeline, and cost. No sales pitch — if we're not the right fit, we'll say so.

Get new playbooks by email

Occasional, no-fluff field notes on building production AI — new guides and tools, straight to your inbox. Unsubscribe anytime.

Published: December 3, 2026Game Changer Labs