Android package formats

Android apps reach you in more file types than just APK: split APKs, App Bundles, XAPK, APKM, APKS and OBB files. This page compares the Android package formats you're likely to meet: who makes each one, what's inside, whether a phone can install it as it is, and how to get an installable APK from it.

Have a file already? You can convert XAPK to APK on the homepage, or open the XAPK to see what's in it first.

Which file do I have? Drop any Android package here

or

Read on your device, never uploaded ·

Android package formats at a glance

FormatMade byWhat's insidePhone installs it directly?How to install or convert
.apkDevelopers, app storesOne complete app, or one part of a split appYes, if it's a complete appOpen it on the phone. APK analyzer checks it first
Split APKsGoogle Play, from an App BundleA base APK plus config APKs for CPU, screen and languageOnly all together, in one install sessionAPK merger joins them into one APK
.aabDevelopers, uploaded to Google PlayThe whole app in bundle form, not signed for installingNobundletool, or our AAB converter, builds one universal APK from it
.apks (bundletool)Developers, with bundletoolAPK sets in splits/, a toc.pb index, sometimes variantsNoAPKS to APK
.apks (SAI)The SAI installer app's backupsA base APK and splits, flatNoAPKS to APK converter
.xapkAPKPure and other download sitesAPKs, a manifest.json, sometimes OBB filesNoXAPK to APK converter or XAPK installer
.apkmAPKMirrorA base APK, split_config APKs and info.jsonNoTurn the .apkm into one APK
.obbGame developersGame data, in a format the game choosesNo, it's data, not an appCopy to Android/obb/<package>/, check it with the OBB extractor
.zipAnyoneAnythingNoLook 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 findIt'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 levelAPK
BundleConfig.pb at the top levelAAB
toc.pb at the top levelAPKS from bundletool
info.json next to APK filesAPKM
manifest.json next to APK filesXAPK
base.apk and splits, with no indexAPKS from SAI, or a hand-made split set
None of theseA 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:

FormatFileSizeNotes
AABapp.aab5.9 KBThe developer's upload, compressed, with no APK signatures
APKS (bundletool)split.apks379.9 KB2 variants (Android 6.0+ and Android 12L+), 15 APKs each
APKS (bundletool, universal mode)universal.apks17.8 KBOne universal APK of 17.5 KB inside
XAPKfull.xapk62.9 KB15 APKs and manifest.json, compressed
APKM layoutpacked by us192.5 KB15 APKs and info.json, stored without compression
APKS (SAI layout)packed by us192.3 KB15 APKs, stored without compression
APK, merged by this sitecom.example.splittest_1.0.apk62.0 KBOne 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

FromToTool
XAPKOne APK, plus OBB filesXAPK to APK converter
APKMOne APKAPKM to APK
APKSOne APKAPKS to APK
Loose split APKsOne APKAPK merger
APK (and splits, OBB)XAPKAPK to XAPK converter
XAPKZIPXAPK to zip
APKZIP, with the manifest decodedAPK to zip
AABAPKYes, 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.

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.