React Native Asset Size Analyzer
Choose your built app (.apk, .aab or .ipa) or your project’s assets folder. The page lists every image, font and sound or video file with its size and pixel size, finds copies of the same file, and checks that @2x and @3x images (iOS) and drawable densities (Android) have the sizes their scale needs. The files are read in your browser and never uploaded.
Measure the assets
How to find the assets that make your app big
- Choose the .apk, .aab or .ipa, or the folder with your images, or press “Try the sample app”.
- Read the copies and the images at the wrong size first, then the largest assets.
- Download the list as CSV to keep track.
What is checked
- Copies: files with exactly the same bytes (the same SHA-256) in more than one place; all but one could go.
- iOS scales: name.png, name@2x.png and name@3x.png should be 1, 2 and 3 times the same size. React Native’s Images guide says the bundler copies every required image with each @2x and @3x variant into the iOS app as loose files, and that with RCTUseAssetCatalog set to true in Info.plist they go into an asset catalog and only the scale a device needs ships. The page reads Info.plist and says which way your app does it.
- Android densities: images in res/drawable-<density> and mipmap-<density> should follow the ratio 3:4:6:8:12:16 of ldpi, mdpi, hdpi, xhdpi, xxhdpi and xxxhdpi (Android documentation); nodpi images are not compared.
- Pixel sizes are read from the PNG, JPEG, GIF and WebP headers; the images are not decoded.
Limits you should know
- The page does not know at what size your app shows an image, so it cannot tell whether an image is larger than the screen needs; it compares the scales of one image with each other.
- Images inside an asset catalog (Assets.car) are not opened. Only the first 5000 assets are measured.