wedecode
A fully automated, cross-platform WeChat wxapkg decompiler that restores both mini-programs and mini-games, including subpackage and plugin code, back into a clean source tree.
Try it now
GPT-4oWhat is wedecode?
wedecode is a full-automation source-code restoration and online security-audit tool for compiled WeChat .wxapkg packages. It supports both mini-programs and mini-games, restores JS, WXML, WXSS, WXS and JSON, and intelligently analyzes dependencies between the main package, subpackages and plugins to compile them together; if a subpackage file is missing it generates a default template so the project still opens. It auto-decrypts, beautifies output code, preserves rpx/px units and extracts media assets, then rebuilds the original directory structure so the result can be imported into WeChat DevTools. Built on Node.js, it runs on Windows, macOS and Linux and installs globally with `npm i wedecode -g`, offering simple CLI flags for input, output and cleanup. It is meant for code audit, learning and analyzing programs you own or are authorized to test.
Pros
- One command runs the whole decrypt-and-restore pipeline.
- Handles modern subpackage and plugin projects.
- Output imports cleanly into WeChat DevTools.
- Cross-platform and actively maintained.
- Free and open source.
Cons
- Command-line based; beginners need basic terminal skills.
- Restored names are reconstructed, not original minified names.
- Heavily obfuscated code may not fully recover.
- Authorized-use only for legal compliance.
Compare with Alternatives
| Feature | wedecode | KillWxapkg | unveilr | wxappUnpacker |
|---|---|---|---|---|
| Rating | 0.0 | 0.0 | 0.0 | 0.0 |
| Pricing | Free | Free | Free | Free |
| Starting From | — | — | — | — |
| API | — | — | — | — |
| Free Tier | — | — | — | — |
| Mobile App | — | — | — | — |
Who is it for
Security auditors
Audit an authorized mini-program's frontend and endpoints.
Developers
Study subpackage architecture and recover lost source.
Mini-game makers
Decompile and learn from mini-game package structure.
Learners
Understand how compiled wxapkg maps back to source.
QA teams
Verify what code and assets ship inside a release package.