wxappUnpacker
The original 2018 open-source WeChat wxapkg unpacker (Node.js): a foundational classic that split compiled packages back into wxml/wxss/js/json — best for learning the principles, with modern tools recommended for current packages.
Try it now
GPT-4oWhat is wxappUnpacker?
wxappUnpacker is the pioneering Node.js tool from 2018 that first popularized WeChat mini-program 'decompilation'. Through separate scripts (wuWxapkg, wuJs, wuWxml, wuWxss, wuConfig) it unpacks a .wxapkg and restores compiled/mixed files back into standalone JS, WXML, WXSS and JSON, beautifying JS with Uglify-ES; packages can be pulled from an Android device via adb. It depends on esprima, css-tree, cssbeautify, vm2 and uglify-es. Because it was written for a specific 2018 compiler version and relies heavily on string matching, the author documents clear limits: compressed JS loses original variable names, WXML escaping is not fully handled, and projects built with ES6-to-ES5 may not restore correctly. It remains valuable for understanding the unpacking principles and legacy packages, while current-format packages are better handled by unveilr/wedecode/Gwxapkg.
Pros
- Best free reference for learning how wxapkg unpacking works.
- Small, readable 100% JavaScript codebase.
- Modular scripts make each stage transparent.
- No binary, runs anywhere Node.js runs.
- Documents its own limitations honestly.
Cons
- Dates to 2018 and targets an old compiler version.
- String-matching based; breaks on many modern packages.
- Minified variable names and some WXML cannot be restored.
- No releases and largely unmaintained; use modern tools for current apps.
Compare with Alternatives
| Feature | wxappUnpacker | wedecode | KillWxapkg | unveilr |
|---|---|---|---|---|
| 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
Learners
Study the classic principles of wxapkg unpacking.
Legacy maintainers
Restore old mini-programs built around 2018 formats.
Curious developers
See how compiled WXML/WXSS were split back out.
Tool authors
Use it as a reference to build a modern unpacker.
Researchers
Compare historical and current package formats.