Toolvito

Flutter App Size Analyzer

Choose your built app (.apk, .aab or .ipa) or the size-analysis JSON that flutter build --analyze-size leaves. The page shows how big each part is: your compiled Dart code, the Flutter engine, the assets, the native libraries of each processor type and the platform parts, or your Dart code by package. The file is read in your browser and never uploaded.

Analyse a Flutter app

How to see what makes your app big

  1. Build a release app (flutter build apk, appbundle or ipa), and add --analyze-size if you want the Dart code by package.
  2. Choose the .apk, .aab or .ipa, or the *-code-size-analysis_*.json file; or press one of the sample buttons.
  3. Read the parts, the native code per ABI, the assets and the largest files, or the Dart packages. Download the lists as CSV.

What the parts are

  • Android: lib/<ABI>/libapp.so holds your compiled Dart code (the size analysis calls it “Dart AOT”) and lib/<ABI>/libflutter.so the Flutter engine; assets/flutter_assets/ holds fonts, images, shaders and the assets of packages; classes.dex the Android code; res/ and resources.arsc the Android resources.
  • An .aab keeps the same parts under base/ (and other modules).
  • iOS: the page groups Frameworks/App.framework, Frameworks/Flutter.framework and App.framework/flutter_assets/ of Payload/<app>.app.
  • Unpacked sizes are the files’ sizes; packed sizes are what they take inside the ZIP.

Make the app smaller

  • The Flutter documentation suggests building release versions with --split-debug-info, removing unused resources, keeping resources imported from libraries to a minimum, and compressing PNG and JPEG files.

Limits you should know

  • The size people download from a store can differ from the size of the package.
  • The page does not open libapp.so itself; for the Dart code by package, use the --analyze-size JSON.

Related tools