APK vs AAB vs XAPK: Android App File Formats Explained
What APK, AAB, split APK and XAPK files are, which ones your phone can install directly, and what to check before you open an unfamiliar app package.
If you download Android apps from outside the Play Store, you will soon run into more than one file type. Some sites offer a plain APK, developers talk about AAB files, and others hand you something called XAPK, APKS or APKM. They all contain an app, but they are not interchangeable, and knowing the difference saves you from confusing errors.
This guide explains each format in plain language, what your phone can open on its own, and how to stay careful with the less common ones.
APK: the file Android actually installs
APK stands for Android Package. It is the format Android's built-in installer understands. An APK is a compressed archive that holds the app's code, its resources such as images and translations, a manifest that lists the permissions it requests, and a digital signature from whoever built it.
When you tap an APK in your file manager, Android checks the signature, shows you the app name, and asks you to confirm the installation. If the same app is already installed, the new APK must carry the same signature, or Android will refuse to update it. That rule is why a modified app cannot quietly replace the original from the Play Store.
A single APK that contains everything for every type of phone is often called a universal APK. It is convenient, but it can be larger than necessary because it includes code and graphics your phone will never use.
AAB: a publishing format, not an install file
AAB stands for Android App Bundle. Developers upload it to Google Play, and Google Play has required it for new apps since 2021. An AAB is not meant to be installed directly, and your phone cannot open one by tapping it.
Instead, Google Play takes the bundle and generates a set of APKs tailored to each device: one base APK plus smaller split APKs for your screen density, your language and your processor type. Your phone only downloads the pieces it needs, which is why apps from the store are often smaller than a universal APK of the same version.
If you ever see an AAB offered as a download for ordinary users, treat that as a sign that the site does not understand what it is distributing.
Split APKs, XAPK, APKS and APKM
Because store apps are delivered in pieces, copying one from a phone often produces several APK files instead of one. Third-party sites package these pieces into a single container so they are easier to download:
- XAPK is a container format created by third-party download sites, not by Google. It is essentially a zip archive that may hold a base APK with split APKs, or an APK with an extra data file (OBB) for large games.
- APKS and APKM are similar containers used by other tools and sites.
Android's built-in installer does not understand any of these containers. To install one, you need a separate installer app that unpacks the archive and installs the parts together. That adds a step, and every extra app you give the Install unknown apps permission to is another thing to trust.
Which format should you choose?
When you have a choice, the simplest option is usually the safest:
- Prefer the Play Store for any app that is available there, because it delivers optimised split APKs and updates automatically.
- Prefer a single APK when you install an app from outside the store, because Android can verify and install it without extra tools.
- Use a container file only when necessary, for example when an app is only published that way, and only with an installer from a source you can verify.
- Check the details either way: the version number, the minimum Android version, and the processor type the file was built for.
Common errors and what they mean
- "App not installed" often means a signature conflict with an app already on your phone, or a build for a different processor or Android version.
- "There was a problem parsing the package" usually points to an incomplete download, a file your Android version is too old for, or a container file that was opened as if it were an APK.
- The file opens as a zip in your file manager: it is probably an XAPK or similar container, not a normal APK.
Key takeaways
- APK is the only format Android installs directly.
- AAB is what developers upload to Google Play; users should never need one.
- XAPK, APKS and APKM are third-party containers that need a separate installer app.
- A single APK from a source you trust is the simplest route outside the Play Store.