XAPK vs APK

An APK is the one file Android can install: the app itself, signed by its developer. An XAPK is a ZIP archive from a download site that carries one or more APKs, a manifest.json and sometimes OBB game data. In the XAPK vs APK question, the practical difference is simple: an APK installs with a tap, while an XAPK needs an installer app, a computer, or converting to an APK first.

XAPK vs APK at a glance

APKXAPK
What it isAndroid's own app packageA ZIP archive around APKs
Who makes itThe app's developer, or an app storeDownload sites such as APKPure
What's insideCode, resources, manifest, signatureOne or more APKs, manifest.json, maybe OBB files
Android installs it directly?YesNo
Signed?Yes, by the developerThe archive isn't; the APKs inside are
Can hold game data (OBB)?NoYes
Official Android format?YesNo
Typical useEvery app, at install timeSplit apps and big games from download sites

What an APK is

APK stands for Android Package. It's a ZIP file with a fixed layout: the app's compiled code (classes.dex), its resources, a binary AndroidManifest.xml that says what the app is and what it needs, and a signature from the developer. Android checks the signature on every install and update, and only lets an update through if it's signed by the same key.

An APK can be a complete app, or one part of a split app. A complete APK installs by itself. A part, such as a base APK, only works with its splits.

What an XAPK is

An XAPK is a container. Download sites started using it because modern apps no longer fit in one APK: Google Play delivers most apps as split APKs, and big games keep data in OBB files outside the APK. An XAPK packs all of those into one download, with a manifest.json listing what's inside.

Android's installer doesn't understand that wrapper. You need an XAPK installer app, an install from a computer, or a converter. Our guide covers what an XAPK file is and where it comes from.

The same app as XAPK and APK

To compare XAPK vs APK with real files, we built one test app, com.example.splittest, and packaged it three ways. It has 15 APKs: a base, 3 CPU splits, 7 screen-density splits and 4 language splits.

FileSizeInstalls with a tap?Signature
full.xapk: 15 APKs + manifest.json, compressed62.9 KBNoDeveloper's (on each APK)
Merged APK from our converter62.0 KBYesNew key from the browser
Universal APK from Google's bundletool17.5 KBYesDeveloper's
Merged APK for one phone (arm64-v8a, xxhdpi)27.3 KBYesNew key from the browser

A few things stand out:

  • The XAPK and the merged APK are close in size, because both hold every part for every phone.
  • The universal APK is smaller because bundletool compressed the app's native libraries. Our merge keeps them uncompressed and aligned to 16 KB, as the app's manifest asks with extractNativeLibs="false", so Android can load them straight from the APK. The test app's libraries are tiny placeholders, so that padding is most of the gap. On a real app, the libraries are large and the difference is small.
  • A merged APK for one phone is less than half the size, because it drops the CPU types and screen sizes that phone doesn't use.
  • Only the developer can make the universal APK, because bundletool builds it from the app bundle, which only the developer has.

Which is better, XAPK or APK?

Neither, in general. It depends on what the app is and how you'll install it:

  • If the developer offers a single APK, that's the simplest choice. It installs with a tap and keeps the developer's signature.
  • If the app is split, there's no single APK from the developer to download. The XAPK keeps the developer's signature on every part, so it's the better pick if you want store updates to keep working. You'll need an installer app or a computer to install it.
  • If you just want it to install with a tap, convert the XAPK to an APK. You lose the developer's signature, but the app works the same.
  • For games with big data, XAPK is the only one of the two that carries the OBB files.

Signatures and updates

This is the difference people notice later. Android allows an app to be updated only by an APK signed with the same key.

  • An XAPK installed as a split install keeps the developer's signature on every part. Later versions of the app, from the same store or the developer, install over it as updates.
  • A converted APK has a new signature, because merging splits means signing the result again, and nobody but the developer has their key. It can't update a store copy, and a store copy can't update it. Update it by converting the newer XAPK in the same browser, so the key matches.
  • An XAPK holding one complete APK is the exception. Extracting it changes nothing, so the APK keeps the developer's signature.

Installing each one

The install steps show the gap most clearly.

An APK:

  1. Download it, or copy it to the phone.
  2. Tap it in Files or Downloads.
  3. Allow the app you opened it from to install unknown apps, if Android asks.
  4. Tap Install.

An XAPK:

  1. Pick a route: an installer app, an install from a computer, or a converter.
  2. With an installer app, open the app and choose the XAPK. With a computer, connect the phone over USB with debugging on. With a converter, convert first, then follow the APK steps.
  3. If the XAPK has OBB files, make sure they end up in Android/obb/<package name>/. Installer apps and computer installs do this for you.

Our guide on how to install XAPK files covers each route step by step, with the errors you might hit.

How to tell which one you have

The file name usually tells you, but not always. Files get renamed, and some downloads lose their extension. Two quick checks:

  • Look inside. Both are ZIP archives, so rename a copy to .zip and open it. An APK has AndroidManifest.xml and resources.arsc at the top level. An XAPK has manifest.json next to one or more .apk files.
  • Check the size against the site. An XAPK with OBB data is often hundreds of megabytes, far more than the app itself.

The converter does the same check automatically. If an XAPK has been renamed to .apk, it still reads it as an XAPK and says the extension was wrong.

Is one safer than the other?

No. The XAPK wrapper is just a ZIP and can't do anything by itself, and an APK is only as safe as its developer. What matters in both cases is where the file came from and who signed the APKs. An XAPK from a site that checks signatures can be safer than an APK from a random link. Check the signer either way.

Converting between XAPK and APK

All three directions are possible:

  • XAPK to APK. Convert XAPK to APK on our homepage. A single APK inside is extracted as it is; split APKs are merged and signed.
  • APK to XAPK. Pack an APK, its splits and any OBB into one XAPK, with a manifest.json written for you.
  • APK to ZIP. An APK already is a ZIP, so you can save the APK as a zip to look inside it, with the binary manifest decoded.

Renaming an XAPK to .apk doesn't convert it. Android sees a ZIP of APKs, not an APK, and rejects it as an invalid package.

Where AAB fits

You'll also see AAB, the Android App Bundle. It's the format developers upload to Google Play, and it's what split APKs are built from. Phones never install an AAB, and users don't get one. A developer who has the .aab can build one installable file from it with the AAB to APK tool. Of the three, only the APK is something Android installs:

FormatWho uses itInstalls on a phone?
AABDevelopers, uploading to Google PlayNo
APKEvery Android phoneYes
XAPKDownload sites, passing apps to usersNo, needs help

Our format comparison table covers APKM and APKS too. For how the parts of a split app fit together, read our guide to split APKs.

XAPK vs APK FAQ

Which is better, XAPK or APK?

A single APK is simpler when the developer offers one. For split apps there's no single APK from the developer, so the XAPK keeps the original signature, and converting it gives you an APK that installs with a tap.

Can I install XAPK on Android?

Not with Android's own installer. Use an XAPK installer app, install the parts from a computer over USB, or convert the XAPK to one APK and install that.

Is an XAPK bigger than an APK?

Usually, because it carries every split for every phone, and sometimes game data. The APK your phone actually needs, holding only its own CPU type and screen size, is often much smaller.

Can I rename an XAPK to APK?

No. Renaming doesn't change the contents, and Android rejects it. Rename it to .zip if you only want to look inside, or convert it to get a real APK.