Apktool
Apktool is an open-source tool for reverse engineering Android APK files. It is open source under the Apache-2.0 license. It runs on Linux, macOS, and Windows.
Updated
- Pricing
- Open Source
- License
- Apache-2.0
- Platforms
- Linux, macOS, Windows
- Category
- Mobile Security Software
What Is Apktool?
Apktool is an open-source tool for reverse engineering Android APK files. It decodes APK resources to nearly original form, disassembles DEX bytecode to smali, and can rebuild decoded resources back into an APK for modification and analysis.
Use Cases
Decoding and rebuilding Android APKs, resource analysis, and smali code inspection.
Strengths and Limitations
Strengths
- +Decodes APK resources (manifest, XML, images) to nearly original form.
- +Rebuilds decoded resources back into a valid APK (re-signing required after rebuilding).
- +Handles smali disassembly and reassembly for bytecode-level modification.
Limitations
- -Produces smali (bytecode) rather than Java source code; use jadx for decompilation.
- -Apktool builds unsigned APKs; a modified APK is no longer signed and must be re-signed.
Defensive Use
Analyzing Android application resources, inspecting manifest configurations, and verifying app hardening.
Apktool Alternatives
3 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| drozer Security assessment framework for Android that interacts with the runtime, IPC endpoints, and OS as an installed app to find exposed components. | BSD-3-Clause | Android, Linux, macOS, Windows | Open Source |
| jadx Command-line and GUI decompiler for converting Android DEX files and APK packages back into readable Java source code for analysis. | Apache-2.0 | Linux, macOS, Windows | Open Source |
| MobSF Automated mobile application security assessment framework combining static and dynamic analysis for Android, iOS, and Windows (APPX) binaries. | GPL-3.0-only | Linux, macOS, Windows | Open Source |
Frequently Asked Questions
What is Apktool?→
Apktool is an open-source tool for reverse engineering Android APK files. It decodes APK resources to nearly original form, disassembles DEX bytecode to smali, and can rebuild decoded resources back into an APK for modification and analysis.
What is Apktool used for?→
Decoding and rebuilding Android APKs, resource analysis, and smali code inspection.
What are the strengths of Apktool?→
- +Decodes APK resources (manifest, XML, images) to nearly original form.
- +Rebuilds decoded resources back into a valid APK (re-signing required after rebuilding).
- +Handles smali disassembly and reassembly for bytecode-level modification.
What are the limitations of Apktool?→
- +Produces smali (bytecode) rather than Java source code; use jadx for decompilation.
- +Apktool builds unsigned APKs; a modified APK is no longer signed and must be re-signed.
How is Apktool used defensively?→
Analyzing Android application resources, inspecting manifest configurations, and verifying app hardening.