JADX logo

JADX

Decompile Android APKs and DEX files into readable Java-like source, with a CLI and a GUI for following the code. Free, open source.

Overview

JADX is a decompiler for Android DEX and APK files. It helps analysts navigate application code, inspect resources and understand implementation details, but decompiled output may be incomplete or misleading when obfuscation is present.

Key features

DEX/APK decompilation; GUI and CLI; resource decoding; code navigation and search.

Install & first run


# Kali / Debian
sudo apt install jadx

# macOS
brew install jadx

# Any OS: grab the release ZIP from https://github.com/skylot/jadx/releases

# Decompile an APK to readable Java sources
jadx -d out/ app.apk

# Open the GUI instead
jadx-gui app.apk

--no-res skips resources when you only want the code, and --deobf renames obfuscated classes to something readable. Docs: https://github.com/skylot/jadx

Real-world example

Inspect your own APK for hard-coded endpoints, insecure logic and exposed configuration, then confirm findings against runtime behavior.

Common questions

Is decompiled code identical to the original source?

No. Names and structure may be lost through compilation, optimization or obfuscation.

What if the app is obfuscated?

Run with --deobf to rename classes to readable placeholders, then follow the manifest and string constants. Obfuscation slows reading, it does not hide behaviour.

APK or DEX?

Both. An APK unpacks automatically; a bare classes.dex works too. Split APKs can be merged first with apkeep or a similar tool.

Why do some decompiled files fail?

Some methods defeat the decompiler and stay as smali. Read the smali, or try --show-bad-code to see what jadx produced.

Frida

Dynamic instrumentation toolkit: hook functions, dump keys and trace calls in running mobile and desktop apps. Free, open source.

Mobile Security Framework (MobSF)

Static and dynamic analysis for Android APK/AAB and iOS IPA: permissions, secrets, network config and runtime behaviour. Free, runs in Docker.


Keep exploring: browse every assessment phase in the Pentest Hub.

Authorized testing only — only ever test systems you own or have explicit written permission to assess.