UNunveilr

unveilr

An open-source command-line decompiler for WeChat mini-program .wxapkg packages that auto-decrypts, merges subpackages, parses the latest APP_V3/APP_V4 formats and restores readable source via Babel AST.

Input📄File</>Code
Output</>Code
Updated: 2026-09-11 open-source (r3x5ur/zihuwang)
Download / Access
Web N/A
Windows N/A
macOS N/A
iOS N/A
Android N/A
Huawei N/A
Linux N/A
github.com/zihuwang/unveilr
UNunveilr
unveilr
An open-source command-line decompiler for WeChat mini-program .wxapkg packages that auto-decrypts, merges subpackages, parses the latest APP_V3/APP_V4 formats and restores readable source via Babel AST.
Get StartedLearn More

Try it now

GPT-4o
Full Playground →

What is unveilr?

unveilr is a popular open-source WeChat mini-program reverse-engineering (decompilation) command-line tool, maintained from the original r3x5ur project. It reads compiled .wxapkg packages and restores the original project structure — JavaScript, WXML, WXSS and JSON. The new version automatically decrypts packages (on Windows it can extract the wxAppId from the file path), merges split subpackages, supports the latest APP_V3/APP_V4/APP_SUBPACKAGE_V2 package formats and APP_PLUGIN_V1 plugins, and uses @babel/core to parse the syntax tree for precise source extraction instead of regular expressions; a Thread.js worker pool speeds up CPU-heavy parsing. It installs via a prebuilt binary or `npm i unveilr -g`, runs on Windows/macOS/Linux, accepts single files, multiple files or whole directories, and offers flags for formatting, output path, search depth and extract-only mode. It is intended for learning, security research and analyzing mini-programs you own or are authorized to test; the project explicitly requires compliance with cybersecurity law.

4.5
Rating
Free
Pricing
4+
Platforms
0
Saves

Pros

  • Keeps up with the newest WeChat package formats.
  • Auto decrypt and subpackage merge remove manual steps.
  • AST extraction restores cleaner, more readable code.
  • Cross-platform with simple npm or binary install.
  • Free and open source with an active community.

Cons

  • Command-line only, with a learning curve for non-developers.
  • AST parsing is CPU-intensive on large packages.
  • Output is reconstructed code, not the exact original source.
  • Must be used only on authorized programs for legal compliance.

Compare with Alternatives

FeatureunveilrwedecodeKillWxapkgwxapkg
Rating0.00.00.00.0
PricingFreeFreeFreeFree
Starting From
API
Free Tier
Mobile App
View full comparison →

Who is it for

M

Mini-program developers

Learn architecture by studying how other apps structure their code.

S

Security researchers

Audit a mini-program you are authorized to test for weaknesses.

B

Bug recovery

Restore source from a compiled package when original code was lost.

J

JS reverse engineers

Analyze encryption, routing and API logic for crawler research.

E

Educators

Teach mini-program compilation principles and internals.

Developer
open-source (r3x5ur/zihuwang)
Platforms
Web N/A
Windows N/A
macOS N/A
iOS N/A
Android N/A
Huawei N/A
Linux N/A
Languages
中文, English
Updated
2026-09-11

FAQ

It decrypts and decompiles WeChat .wxapkg packages back into readable JS/WXML/WXSS/JSON source.