Android package formats at a glance
| Format | Made by | What's inside | Phone installs it directly? | How to install or convert |
|---|---|---|---|---|
| .apk | Developers, app stores | One complete app, or one part of a split app | Yes, if it's a complete app | Open it on the phone. APK analyzer checks it first |
| Split APKs | Google Play, from an App Bundle | A base APK plus config APKs for CPU, screen and language | Only all together, in one install session | APK merger joins them into one APK |
| .aab | Developers, uploaded to Google Play | The whole app in bundle form, not signed for installing | No | bundletool, or our AAB converter, builds one universal APK from it |
| .apks (bundletool) | Developers, with bundletool | APK sets in splits/, a toc.pb index, sometimes variants | No | APKS to APK |
| .apks (SAI) | The SAI installer app's backups | A base APK and splits, flat | No | APKS to APK converter |
| .xapk | APKPure and other download sites | APKs, a manifest.json, sometimes OBB files | No | XAPK to APK converter or XAPK installer |
| .apkm | APKMirror | A base APK, split_config APKs and info.json | No | Turn the .apkm into one APK |
| .obb | Game developers | Game data, in a format the game chooses | No, it's data, not an app | Copy to Android/obb/<package>/, check it with the OBB extractor |
| .zip | Anyone | Anything | No | Look inside: an app may be packed in it |
Every one of these, apart from some OBB files, is a ZIP archive underneath. What tells them apart is the files inside.
APK, the installable file
APK stands for Android Package. It's the only format Android's own installer accepts as a single file. A complete APK holds the app's code (classes.dex), its compiled resources (resources.arsc and the res folder), its manifest, any native libraries and a signature.
Two kinds of APK look the same from outside:
- A complete APK, also called a universal or standalone APK, has everything the app needs for every phone. It installs on its own.
- A base APK from a split app has the code and the default resources, but its manifest says it needs splits. On its own it usually fails with "App not installed".
The APK analyzer tells the two apart. APKs can't be used on iPhones, Windows or Mac without an Android emulator.
Split APKs and app bundles (AAB)
Since 2021, new apps on Google Play have to be uploaded as Android App Bundles (.aab). The developer uploads one bundle. Google Play builds split APKs from it and sends each phone only the parts it needs:
- base.apk, the main part.
- Config splits for one CPU type (arm64-v8a, armeabi-v7a, x86_64), one screen density (such as xxhdpi) and the phone's languages.
- Feature modules and asset packs, if the app uses them, downloaded as needed.
Android has installed split APKs since Android 5.0, but only all together, in one install session, and only if they share a package name, version code and signing key. That's why copying split APKs to a phone one by one doesn't work.
The .aab itself never reaches phones. It's a publishing format, and it carries no APK signature a phone could check. Google's bundletool can turn an .aab into APKs, including one universal APK, but only the developer has the .aab. Users only ever get the split APKs, which is why merging them is the route open to everyone else. If you do have an .aab, you can convert the AAB into one APK in your browser.
Container formats from app stores (XAPK, APKM, APKS)
Download sites that offer split apps have to hand over several files at once, so each one packs them into a ZIP with its own extension and index file:
- XAPK comes from APKPure and other sites. Its index is manifest.json, and it's the only one of the three that can carry OBB game files, under
Android/obb/<package>/. Older XAPKs hold a single complete APK and an OBB. - APKM comes from APKMirror. Its index is info.json, and its splits are named split_config.*.apk.
- APKS has two sources: backups made by the SAI installer app, with no index, and APK sets built by Google's bundletool, with a binary toc.pb index.
None of these is an Android standard, and Android's installer can't open any of them. You install them with an installer app that understands the format, install the splits over USB, or merge them into one APK. Is APKM the same as APKS? Not quite. They hold the same kind of content, split APKs, but the index file differs, and so do the apps that read them.
Expansion files (OBB)
OBB files hold game data that's too big to ship in the APK: graphics, sound, levels. Google's rules allow two per app, a main and a patch file, each up to 2 GB, named like main.12.com.example.game.obb. They live in /sdcard/Android/obb/<package name>/, and the game reads them from there.
An OBB isn't an app, and installing one does nothing. It can be a ZIP, a FAT disk image or a game engine's own format, often encrypted. New apps on Google Play use asset packs instead, but many games from other sources still ship OBB files, usually inside an XAPK.
Which file do I have?
The extension isn't always right. Files get renamed, and some downloads lose their extension. The first bytes and the file list give the real answer:
| What you find | It's a |
|---|---|
| Doesn't start with "PK" (50 4B 03 04) | Not a ZIP: an OBB in FAT or engine format, or a damaged download |
| AndroidManifest.xml and resources.arsc (or classes.dex) at the top level | APK |
| BundleConfig.pb at the top level | AAB |
| toc.pb at the top level | APKS from bundletool |
| info.json next to APK files | APKM |
| manifest.json next to APK files | XAPK |
| base.apk and splits, with no index | APKS from SAI, or a hand-made split set |
| None of these | A plain ZIP |
Every tool on this site checks a file this way before it does anything. If an XAPK has been renamed to .apk, for example, it's still read as an XAPK, and the report says the extension was wrong.
Example: the same app in every format
We built one test app, com.example.splittest, into each format with Google's bundletool and our own scripts. It's tiny, but it shows how the formats compare:
| Format | File | Size | Notes |
|---|---|---|---|
| AAB | app.aab | 5.9 KB | The developer's upload, compressed, with no APK signatures |
| APKS (bundletool) | split.apks | 379.9 KB | 2 variants (Android 6.0+ and Android 12L+), 15 APKs each |
| APKS (bundletool, universal mode) | universal.apks | 17.8 KB | One universal APK of 17.5 KB inside |
| XAPK | full.xapk | 62.9 KB | 15 APKs and manifest.json, compressed |
| APKM layout | packed by us | 192.5 KB | 15 APKs and info.json, stored without compression |
| APKS (SAI layout) | packed by us | 192.3 KB | 15 APKs, stored without compression |
| APK, merged by this site | com.example.splittest_1.0.apk | 62.0 KB | One APK, signed v1 + v2 + v3 |
The APKM and SAI-style files are bigger only because we stored their APKs without compression. Real files from those sources vary.
Why is the merged APK bigger than bundletool's universal APK? Native libraries. bundletool compressed them in its universal APK. The app's manifest says extractNativeLibs="false", so our merge keeps them uncompressed, each starting on a 16 KB boundary, so Android can load them straight from the file. With this test app's tiny placeholder libraries, that padding is most of the difference. On a real app the libraries are large, and the gap is small next to the app's size.
Which formats you can convert, and to what
| From | To | Tool |
|---|---|---|
| XAPK | One APK, plus OBB files | XAPK to APK converter |
| APKM | One APK | APKM to APK |
| APKS | One APK | APKS to APK |
| Loose split APKs | One APK | APK merger |
| APK (and splits, OBB) | XAPK | APK to XAPK converter |
| XAPK | ZIP | XAPK to zip |
| APK | ZIP, with the manifest decoded | APK to zip |
| AAB | APK | Yes, as one universal APK with the modules marked for fusing; signed with a new key |
Every conversion that merges splits gives the APK a new signature, because the developer's key isn't available. The APK installs on any phone the app supports, but it can't update a copy installed from a store. Extracting a single complete APK keeps the original signature.
Which format should I download?
If you have a choice, pick by how you'll install:
- On the phone, with no extra app: a single APK, if the site offers one. If not, any of the bundles, converted here.
- With an installer app, keeping store updates: the bundle in that installer's format, such as XAPK for APKPure's app or APKM for APKMirror's.
- Games with big data: XAPK, since it's the only format that carries OBB files.
Whatever you download, check who signed it. A file from a third-party site should carry the same signature as the developer's own release.
All tools
Every tool runs in your browser. Your files are never uploaded.
Convert
Install
Inspect
Android package formats FAQ
Is an APK a zip file?
Yes. An APK is a ZIP archive with a fixed layout: a binary manifest, compiled code, resources and a signature. Rename one to .zip and any archive tool opens it, though some files inside are binary.
What is the difference between APK and AAB?
An APK installs on a phone. An AAB is the publishing format developers upload to Google Play, which turns it into split APKs for each phone. Phones can't install an AAB, and users don't receive one.
Can Android install an XAPK directly?
No. Android's installer only accepts APK files. Install an XAPK with an installer app, install its splits over USB, or convert it to one APK first.
Which format should I download?
A single APK is the simplest if the site has one. For split apps, any bundle format works: convert it to one APK, or use the matching installer app to keep store updates. For games with OBB data, pick XAPK.
Is APKM the same as APKS?
They hold the same kind of content, a base APK and split APKs, but they come from different places. APKM is APKMirror's format with an info.json index. APKS is used by SAI backups and by Google's bundletool, with different layouts.