Guides
APK vs AAB for a Website App: Which File Goes Where, and the Signing Trap (2026)
Upload the AAB to Google Play and keep the APK for direct installs. The trap is signing: an APK signed with your own key may not be able to update the version Google Play delivers. Checked November 2026.
An APK is the file you install on an Android phone. An AAB (Android App Bundle) is the publishing format Google Play requires for new apps, and Google Play uses it to build and sign the APKs that people download. For an app built from your website, upload the AAB to Google Play and use the APK only to install directly, for example on test phones or from a download page. The catch is signing. An APK signed with your own key and the version Google Play delivers can carry different certificates, and Android only accepts an update signed with the same certificate as the installed app. This guide was checked against Google's Android App Bundle and app signing documentation in November 2026.
AAB required for new apps
Aug 2021
per Google's Android Developers documentation
Keys in Play App Signing
2
an upload key and an app signing key
Compressed download limit
4 GB
for the APKs a user downloads
What is the difference between an APK and an AAB?
| APK | AAB | |
|---|---|---|
| What it is | An installable package for a phone | A publishing format with all your compiled code and resources; Google Play generates the APKs from it |
| Who builds the final installable files | You | Google Play, for each device configuration |
| How it is signed | With a key you hold | With your upload key; Google Play signs the APKs users receive with the app signing key it manages |
| Required for a new app on Google Play? | No | Yes, since August 2021 |
| Best use for a website app | Installing directly, such as on test phones | Uploading to Play Console |
Google says serving per-device APKs means users download only the code and resources their device needs. The compressed download for an app must stay under 4 GB, and we would expect an app built from a website to be nowhere near that.
Which file do you upload to Google Play?
The AAB. When you publish to Google Play for the first time you also configure Play App Signing: you sign the bundle with an upload key, and Google signs the APKs that reach users with the app signing key. Google notes that if you let it generate the app signing key, the key you sign your first release with becomes your upload key. If you lose an upload key, Play Console lets you request a reset; our upload key reset guide walks through it, and our publishing guide shows where the upload step sits among the rest of Play Console.
When do you still need the APK?
- Test phones. Install the APK directly to check the app before you involve Play Console.
- A handover. Give a client or colleague a build outside Google Play.
- A download page on your own site, for people who will not use Google Play.
Share the full APK, not pieces of one. Google notes that partial installs of sideloaded apps that are missing required split APKs fail on all Google-certified devices and on Android 10 and higher. Direct APK distribution also interacts with Android developer verification, and our developer verification guide explains how it treats each distribution path.
Why can an APK from your site fail to update the Google Play version?
Android compares the certificate of an update with the certificate of the installed app and allows the update only if they match. Google says that if you sign a new version with a different certificate, you must give the app a different package name, and users then install it as a completely new app. With Play App Signing, the key you sign with locally is your upload key, and Google Play signs the delivered APKs with a different app signing key. In our reading, that means an APK you sign with your upload key and the build Google Play delivers carry different certificates, so a phone that has one cannot be updated by the other without a reinstall.
Google's advice for using the same signing key across multiple stores is to provide your own signing key when you configure Play App Signing, rather than letting Google generate one. That choice is easiest to make before your first release.
- 1
Decide where else the app will live
Direct downloads, a client handover or another store all mean the same app may be installed from two sources.
- 2
Choose the signing key setup
If those channels will share users, provide your own app signing key when you configure Play App Signing, as Google advises.
- 3
Ask who holds each key
If a converter or agency builds your app, ask which key signs the APK, which key signs the AAB, and who stores them.
- 4
Check the fingerprints
Play Console's App signing page shows the certificate fingerprints for both keys. Our App Links guide explains which fingerprint your website links need.
- 5
Test an update path
Install the build you plan to share, then install the Google Play version on the same phone. If Android refuses, the certificates differ. This is our suggested check, not a step Google documents.
Frequently asked questions
- Can I upload an APK to Google Play?
- Not for a new app. Google's documentation says new apps have been required to publish with an Android App Bundle since August 2021. Check your Play Console if your app is older, because the rules differ for apps created earlier.
- Can I install an AAB directly on my phone?
- No. An AAB is a publishing format: Google Play generates the APKs from it. For a direct install, use an APK. Google also notes that partial installs of sideloaded split APKs fail on Android 10 and higher, so do not copy individual split files.
- Is an AAB smaller than an APK?
- Google says Play uses the bundle to serve optimized APKs for each device configuration, so users download only the code and resources their device needs, which gives smaller downloads than a single universal package.
- Which key signs my AAB?
- With Play App Signing you sign the bundle with an upload key. Google then signs the APKs that users receive with the app signing key it manages. You can see the certificate fingerprints for both on the App signing page in Play Console.
- Can I use the same signing key for Google Play and my own APK downloads?
- Google says that if you want the same signing key across multiple stores, provide your own signing key when you configure Play App Signing instead of having Google generate one.
- What if I lose my upload key?
- With Play App Signing you can request an upload key reset in Play Console, because Google holds the app signing key. Without Play App Signing, losing the signing key means you cannot publish updates to the existing app.