Skip to content

WeChat Mini Game Package Size Checker ​

Find what's taking up space in your WeChat Mini Game's main package. Choose a built game folder to see its largest files, declared subpackages and configuration issues. Your project stays on your device, and you don't need an account.

中文版本

Inspect your built game ​

Export a WeChat Mini Game build from your engine. For Cocos Creator, select the generated build/wechatgame folder. For another engine or a custom JavaScript game, select the output directory containing game.json and game.js. If the folder contains several games, choose the relevant game.json in the checker.

The checker reads the subpackage declarations, counts files under each root, and shows the files left in the main package. Duplicate or overlapping roots produce issues to resolve before relying on the breakdown. Only filenames, sizes and the selected game.json are read. Game scripts are never executed. The downloadable report includes filenames, so review it before sharing.

Use the result to reduce your package ​

Start with the largest files. For textures, review dimensions and compression settings. Cinevva's KTX2 compressor can prepare variants, but confirm your engine and devices support the format before replacing assets. For GLB models, try the GLB optimizer.

For later scenes, follow your engine's subpackage or remote-asset workflow. Moving a directory also requires updating configuration and loading code. Test startup and scene transitions afterward.

Understand the estimate ​

The default budgets follow the Cocos 3.8 WeChat subpackage documentation, checked November 15, 2026: 4M main and 30M total. The calculator uses MiB, or 1,048,576 bytes. Both budgets are editable. Verify current limits in your WeChat DevTools environment.

This is a raw folder inventory. It does not apply DevTools compression, code transforms, engine-plugin accounting or packOptions exclusions. A small result does not establish runtime compatibility or publication approval. Verify the final package in DevTools and on real devices.

Try an early gameplay idea ​

Cinevva's experimental WeChat mode helps constrain a browser prototype toward the Mini Game environment. Export adaptation, DevTools validation and device testing remain separate work.

See the WeChat engine comparison and WeChat and Douyin publishing guide for more context.