How to convert APK to ZIP
- Add the APK. Drag it onto the box above, or tap the box and pick it.
- Look through the table. Every file in the APK is listed with its folder, size, packed size and whether it's compressed.
- Read the manifest. The decoded AndroidManifest.xml appears below the table as plain XML.
- Download the .zip, or save single files from the table.
Holding an .xapk rather than an APK? You can rewrap it as a .zip the same way, or use the homepage to turn it into an APK that installs. Nothing you add here is uploaded.
What's inside an APK
Unzip any APK and you'll find much the same layout:
| File or folder | What it holds | Readable as is? |
|---|---|---|
| AndroidManifest.xml | The app's identity: package name, version, Android range, permissions, components | No, it's binary XML (decoded here) |
| classes.dex, classes2.dex | The app's compiled code | No, it's Dalvik bytecode |
| resources.arsc | The table of every string, color, size and file reference the app uses | No, it's a binary table |
| res/ | Layouts, images, icons and XML files | Images yes, XML files are binary |
| assets/ | Raw files the app reads as they are: data, fonts, web pages | Usually yes |
lib/<abi>/ | Native code (.so files), one folder per CPU type | No, it's machine code |
| META-INF/ | The v1 signature files: MANIFEST.MF, a .SF file and a certificate block | MANIFEST.MF and .SF are text |
| kotlin/, other folders | Extra data from libraries the app uses | Varies |
The v2 and v3 signatures don't show up as files at all. They live in a signing block between the file data and the ZIP's index, where archive tools don't look.
Why some files aren't compressed
An archive tool would compress everything, but an APK deliberately stores some files as they are. Android reads these straight from the APK without unpacking them, which saves memory and time:
- resources.arsc is read every time the app looks up a string or image. Apps that target Android 11 or later must store it uncompressed on a 4-byte boundary, or Android refuses to install them.
- Native libraries (.so) are stored uncompressed when the manifest sets
extractNativeLibs="false". Android then loads them straight from the APK instead of copying them out. Each one starts on a memory page boundary: 4 KB, or 16 KB for phones that use 16 KB pages. - Some assets and media are stored because they're already compressed, or so the app can read them directly.
zipalign is the tool that puts these stored files on their boundaries. The APK to zip table shows each file's method, and the bars show how much of the APK is stored and how much is compressed.
Reading AndroidManifest.xml
Inside an APK, AndroidManifest.xml isn't text. The build tools compile it into Android's binary XML format: a string pool, a list of resource IDs, then each element as a numbered chunk. Opened in a text editor, it's mostly unreadable symbols.
The page decodes it back to XML, the way Google's aapt2 dump command does. In our tests, every element and value it showed matched aapt2's output. A few things look different from the source the developer wrote:
- Resource references show as IDs, such as
@0x7f080000, because the names are only stored in resources.arsc. That ID points to an entry there, often the app's name. - Numbers and true or false are typed values, written out as the build tools stored them.
- Build details are added, such as compileSdkVersion and platformBuildVersionCode.
To check which Android versions it supports and get the rest of the app's details as a report, use the APK analyzer.
Worked example: our test app's base APK
The base APK of our test app, com.example.splittest, is 12,824 bytes. Here's what the tool lists:
| File | Method | Packed | Unpacked |
|---|---|---|---|
| AndroidManifest.xml | Compressed | 767 bytes | 2,112 bytes |
| assets/data.txt | Stored | 13 bytes | 13 bytes |
| res/xml/config.xml | Compressed | 131 bytes | 260 bytes |
| res/xml/splits0.xml | Compressed | 274 bytes | 840 bytes |
| resources.arsc | Stored | 2,244 bytes | 2,244 bytes |
| META-INF/BNDLTOOL.SF | Compressed | 394 bytes | 597 bytes |
| META-INF/BNDLTOOL.RSA | Compressed | 1,035 bytes | 1,098 bytes |
| META-INF/MANIFEST.MF | Compressed | 310 bytes | 470 bytes |
resources.arsc is stored, as Android requires for an app that targets Android 15. The manifest shrinks to 36% of its size. The META-INF names show the app was signed by Google's bundletool. This test app has no code, so there's no classes.dex, and its native libraries are in its split APKs, not the base.
The decoded manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="7"
android:versionName="1.0"
android:compileSdkVersion="36"
android:compileSdkVersionCodename="16"
android:requiredSplitTypes="base__abi,base__density"
android:splitTypes=""
package="com.example.splittest"
platformBuildVersionCode="36"
platformBuildVersionName="16">
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="35" />
<application
android:theme="@0x7f090000"
android:label="@0x7f080000"
android:icon="@0x7f050001"
android:hasCode="false"
android:extractNativeLibs="false">
<meta-data android:name="custom.flag" android:value="kept" />
<meta-data android:name="com.android.vending.splits.required" android:value="true" />
<meta-data android:name="com.android.vending.splits" android:resource="@0x7f0a0001" />
</application>
</manifest>
Two lines give away that this is a split app's base: requiredSplitTypes asks for CPU and screen splits, and the com.android.vending.splits meta-data points to the list of splits. extractNativeLibs="false" is why the native libraries in its splits are stored uncompressed.
Editing files and zipping them back
You can change files in the unzipped APK, but zipping the folder back up won't give you an installable APK. Three things break:
- The signature. Any change makes the v1, v2 and v3 signatures invalid, and Android refuses an APK with a broken or missing signature.
- Alignment. Archive tools don't place stored files on 4-byte or page boundaries, and they may compress resources.arsc, which Android rejects.
- Binary files. You can't edit AndroidManifest.xml or resources.arsc as text. They need a tool that can rebuild binary XML.
The working route is: make the change, zip it, run zipalign, then sign it. The APK signer on this site aligns and signs in one step. Bear in mind that the result has a new signature, so it can't update the original app.
For the difference between this file and the bundles you download from app sites, see how XAPK and APK files differ. To unpack a whole XAPK with every file explained, extract the XAPK instead.
All tools
Every tool runs in your browser. Your files are never uploaded.
Convert
Install
Inspect
APK to zip FAQ
Can I open an APK like a ZIP?
Yes. An APK is a ZIP archive, so renaming it to .zip or using this page lets any archive tool open it. Some files inside, such as the manifest and the code, are binary and need decoding to read.
Why are some files inside the APK not compressed?
Android reads some files straight from the APK, which only works if they're stored as they are. resources.arsc and native libraries are the main ones, and apps that target Android 11 or later must store resources.arsc uncompressed.
Can I edit files and zip them back into an APK?
Only if you align and sign it afterwards. Zipping the folder back breaks the signature and the file alignment. Run zipalign and sign the APK, or use the APK signer here, which does both.
Is it safe to unzip an APK?
Yes. Unzipping only reads the files, and none of the app's code runs. The page doesn't upload the APK, and nothing is installed.