.APK

APK File

Android Package
Ask a question
QUICK ANSWER

An APK file is the installation package for an Android app. On a phone you tap the file, allow "install unknown apps" for the app you opened it from, then confirm. APK cannot be converted to EXE, and sideloading skips Google Play scanning, so the source matters for safety.

Developer: Google (Android Open Source Project) Category: Executable Files Open standard MIME: application/vnd.android.package-archive
OPENS ON Windows macOS Linux Android
Related: .EXE · .VBS · .JAR · .EX4

On this page

19k+ extensions indexed
Last reviewed Jun 30, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the APK file format?

A file with an .apk extension contains a compressed archive with an application, game, or firmware for the Android system. APK packages are built on the ZIP/JAR container format, which means any standard archive tool can open and inspect their contents. Google Play originally imposed a 100 MB limit on .apk downloads, with up to two expansion files of up to 2 GB each for additional resources; since August 2021, Google Play requires new apps to be published as .AAB (Android App Bundles), which generate device-optimized split APKs at install time rather than shipping a single monolithic package.

Structure of APK file

Structure of APK files is based on the JAR archive - they may contain the following subfolders and files:

  • res - with a description of the resources in an uncompiled form,
  • lib - contains compiled sources and application libraries, divided according to different computing platforms (e.g., arm64-v8a, x86_64),
  • META-INF - with files containing information about the package, for instance the MANIFEST.MF file, or certificates,
  • assets - which contains various resources used by the app,
  • classes.dex - compiled Dalvik/ART bytecode executed by the Android runtime,
  • AndroidManifest.xml - binary-encoded manifest declaring the app's permissions, components, and SDK requirements,
  • resources.arsc - precompiled resource table mapping IDs to strings, layouts, and drawables.

Android Package files are used to create and distribute programs for mobile platforms operating on the Android system. The content of .apk files can be unpacked with most decompression programs supporting ZIP compression, or inspected by simply renaming the file to .zip. To maintain integrity, packages are protected by APK Signature Scheme v2/v3 (and v4 for incremental updates), with installation refused if the signature does not match. Installing .apk packages from outside the Play Store is not permitted by default - users must enable the Install unknown apps permission in Android settings, or push the package via adb install app.apk. Apps too large for a single .apk may be distributed as .XAPK, which bundles a base APK with one or more split APKs in a single archive.

Security & safety

RISK: HIGH

APK is the #1 Android malware vector: sideloading bypasses Google Play Protect scanning. Risk checklist for users: install only from trusted sources (Google Play, F-Droid, APKMirror - which verifies signatures against the developer's), check that requested permissions match the app's purpose, never install an APK that arrived unsolicited via chat/SMS ("smishing" campaigns), and compare the app's signature when updating. The rename-to-zip trick lets you inspect contents before installing.

Format details

in a nutshell
FULL NAMEAndroid Packageaka Android Application Package, APK file
DEVELOPERGoogle (Android Open Source Project)since 2008 (Android 1.0)
MIME TYPEapplication/vnd.android.package-archive
TYPEZIP-based application package (binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
Identical to any ZIP archive; distinguish by internal AndroidManifest.xml + classes.dex

Programs that open APK files

Windows3 apps
7-Zip Open-source Right-click → Open archive - inspects APK contents without installing (it's a ZIP).
BlueStacks Free Drag & drop the APK onto the BlueStacks window; the app appears on its home screen.
Android Studio (emulator) Open-source Create a virtual device, then drag the APK onto the running emulator window.
macOS1 app
Android Studio (emulator) Open-source Create a virtual device, then drag the APK onto the emulator window.
Linux2 apps
Waydroid Open-source waydroid app install app.apk (container-based Android, near-native speed).
Android Studio (emulator) Open-source Drag the APK onto a running virtual device.
Android2 apps
Files by Google Free Tap the APK, allow 'install unknown apps' for Files when prompted, confirm install.
APKMirror Installer Freemium Use for split bundles (.apks/.xapk/.apkm) that the system installer rejects.

Technical details

deep spec
EncodingBinary
Byte orderLittle-endian
ContainerZIP archive (also valid as JAR)
CompressionDEFLATE per entry; alignment-sensitive entries stored uncompressed (STORED method) and zipaligned
Signing / integrityAPK Signature Scheme v2/v3 (block inserted before ZIP central directory); v4 for incremental on-device updates; install refused on signature mismatch
Magic bytes50 4B 03 04 - standard ZIP "PK" local-file header at offset 0; distinguished from plain ZIP by presence of AndroidManifest.xml and classes.dex
Internal filesAndroidManifest.xml, classes.dex (+ classes2.dex …), resources.arsc, res/, lib/, assets/, META-INF/
BytecodeDalvik Executable (DEX) in classes.dex - compiled from Java/Kotlin source, executed by ART (Android Runtime)
Alignmentzipalign enforces 4-byte boundary for uncompressed entries; Android 15+ targets 16 KB page alignment
Manifest formatBinary-encoded XML (AXML) declaring package name, permissions, Activity/Service/Provider components, minSdkVersion, targetSdkVersion
Native lib layoutlib/<ABI>/ subdirectory per architecture: arm64-v8a, armeabi-v7a, x86, x86_64
Resource tableresources.arsc - flat binary file mapping integer resource IDs to strings, layouts, drawables, and configuration variants
Typical size2 MB - 1.5 GB; base app APKs commonly 5-100 MB; games with bundled assets reach the upper range
MIME typeapplication/vnd.android.package-archive
PlatformAndroid (native); runnable on Windows, Linux, macOS via emulators (BlueStacks, Android Studio AVD, Waydroid)
Released2008 (Android 1.0)
Latest versionAPK Signature Scheme v3 (Android 9, 2018); v4 incremental (Android 11, 2020)
Open standardYes · royalty-free
Specificationsource.android.com

APK conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with APK files. Be specific - include your system and software version.
No account needed · answers usually within a day
U
Ulises3 d agoUNANSWERED
Que hacer si es apk nose puede descarga en mi dispositivo
Waiting for an answer
M
Microsoft SwiftKey AI5 d agoUNANSWERED
Microsoft SwiftKey AI
Waiting for an answer
T
TomekJul 2026QUESTION
How do I open an APK on Windows 11 without an emulator?
A
androiddevJul 2026ANSWER
Use an emulator like BlueStacks, or unzip it to inspect the contents.

Frequently asked questions

Can I convert an APK file to EXE?
No - APK contains Android bytecode, EXE contains Windows machine code. Run the APK in an Android emulator on Windows instead, or look for the app's native Windows version.
How do I install an APK on my Android phone?
Open the file in your file manager, allow 'install unknown apps' for that file manager when prompted, then confirm. On Android 8+ the permission is granted per-app, not globally.
Why won't my APK install?
Most common causes: the 'install unknown apps' permission is blocked, the APK targets a newer Android version than yours, the CPU architecture doesn't match (arm64 vs x86), or it's a split bundle (.apks/.xapk) needing a dedicated installer.
Are APK files legal to download?
Downloading free apps from mirrors is generally legal; downloading paid apps for free is piracy. Distribution terms aside, always prefer official sources for safety.
What's the difference between APK and AAB?
AAB is the publishing format developers upload to Google Play; the store builds optimized APKs from it. You can't install an AAB directly - bundletool converts it to APKs.
Is it safe to install APK files?
Only as safe as the source. Sideloading skips Play Protect, so stick to reputable sources, check permissions, and be suspicious of APKs sent via messages.

References

1Microsoft - Windows Subsystem for Android end of supportlearn.microsoft.com
2Android Developers - Application fundamentalsdeveloper.android.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.PARTPartial Download File
5.MDMarkdown Document
6.EXEWindows Executable (Portable Executable)
7.BINCD/DVD Disc Image (BIN/CUE)
8.DATProgram Data File (generic)
9.RPMSGRestricted Permission Message
10.M4AMPEG-4 Audio File

Related extensions

.EXEWindows Executable (Portable Executable)
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)
.AIRAdobe AIR Application Installer Package

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z