APK decompiler tools turn an Android app's DEX bytecode back into readable Java, and we ran jadx, apktool and dex2jar on one real APK to compare them. On 23 November 2026 we took Binary Eye 1.75.7, an MIT-licensed barcode scanner, in the build F-Droid distributes, and decompiled its 7.5 MB APK with jadx, apktool and dex2jar plus Vineflower, each taken from its project's official GitHub releases. Then we checked the output against the app's public source at the exact commit F-Droid built. jadx rebuilt 2,895 Java files and gave up on 26 methods. The dex2jar route gave up on 524. None of the tools touched the 12 native libraries, and R8 had renamed most classes before any of them got a look.

When the decompiled Java ends at native: the .so files in an APK's lib/ folder are ELF binaries, and no APK decompiler in this test reads them. Devirt's free browser check identifies file details and protection indicators for ELF, PE and Mach-O files up to 500 MiB, and the file stays on your device. It doesn't recover code. VM-protected binaries are what Devirt's devirtualization service works on, for files you own or are authorized to analyze.

What does an APK decompiler do?

An APK decompiler reads the Dalvik bytecode in an Android app's classes.dex and writes it back out as Java you can read. Most also decode the binary AndroidManifest.xml and the compiled resources in resources.arsc. An APK is a ZIP archive, and the Binary Eye one holds 926 entries:

  • classes.dex: one 2.98 MB DEX file with 3,039 class definitions and 21,750 method references.
  • res/ and resources.arsc: 824 resource entries (layouts, drawables, strings), stored in binary form.
  • AndroidManifest.xml: also binary, so you need a decoder to read it.
  • lib/: 12 native libraries, three for each of four CPU architectures.
  • assets/: two baseline-profile files and one data file.

The decompiler rebuilds source from the bytecode. It can't recover what the build threw away: comments, formatting, local variable names in a release build, and anything R8 renamed or deleted. The same limit applies to decompilation of native code, where the output is a plausible reconstruction rather than the original source.

apk decompiler pipeline

How we tested the APK decompilers

We used one sample, default flags (plus one --deobf run), and the app's own source as ground truth.

  • Sample: Binary Eye 1.75.7 (versionCode 182), downloaded from f-droid.org on 23 November 2026, SHA-256 6dd37373…cd3f. F-Droid's build recipe builds it from commit 9513ed3 of the BinaryEye repository and deletes the prebuilt zxing-cpp library from the source tree before building.
  • Why this app: it's open source (MIT), it ships a release build with minifyEnabled true and shrinkResources true, so R8 has done its work, and it carries native code.
  • Tools, each from its project's GitHub releases page: jadx 1.5.7, Apktool 3.0.3, dex2jar 2.4, Vineflower 1.12.0, and Bytecode Viewer 2.13.2. They ran on the Temurin 21 JRE, on Windows 11, with -Xmx4g.
  • Control run: release 2.4.39 of a community-maintained dex2jar fork (ThexXTURBOXx/dex2jar), to see whether the original project's age matters.
  • Scope: decode and decompile only. The APK was never installed or run, and nothing was rebuilt.

These are the commands, with paths shortened:

java -cp jadx-1.5.7-all.jar jadx.cli.JadxCLI -d out-jadx binaryeye.apk java -cp jadx-1.5.7-all.jar jadx.cli.JadxCLI --deobf -d out-jadx-deobf binaryeye.apk java -jar apktool_3.0.3.jar d -o out-apktool binaryeye.apk java -cp "dex-tools-v2.4/lib/*" com.googlecode.dex2jar.tools.Dex2jarCmd -o out.jar binaryeye.apk java -jar vineflower-1.12.0.jar out.jar out-vineflower 

A Node script then read every output file as text. It counted files, lines and each tool's own failure markers, and compared class names and string literals with the Kotlin source at commit 9513ed3.

APK decompilers compared: what each tool returned

Each APK decompiler returned a different slice of the same app. Times are wall-clock from our second run and moved by several seconds between runs.

Tool Java files Other output Methods it couldn't decompile Native .so decompiled Time
jadx 1.5.7 2,895 996 files under res/, readable manifest 26 0 of 12 11.0 s
apktool 3.0.3 0 3,039 smali files, 979 files under res/, readable manifest n/a (smali is a 1:1 disassembly) 0 of 12 15.2 s
dex2jar 2.4 + Vineflower 1.12.0 2,966 no resources (the jar holds classes only) 524 0 of 12 6.0 s + 21.4 s
dex2jar fork 2.4.39 (control) + Vineflower 2,966 same 524 0 of 12 5.9 s + 21.7 s
Bytecode Viewer 2.13.2 not run headless see below n/a n/a n/a

apk decompiler tool output

The failure counts aren't perfectly like for like, because each tool marks its own failures. When jadx gives up on a method, it replaces the body with the raw Dalvik instructions (or skips them for long methods) and a throw new UnsupportedOperationException("Method not decompiled: …") line. Vineflower prints "Couldn't be decompiled" once per method it can't handle. Those are the lines we counted.

jadx and JADX-GUI: readable Java from DEX

jadx is the APK decompiler most guides start with, and on Binary Eye it did the most work for the least setup. One command turned the DEX's 3,039 class definitions into 2,895 Java files (inner classes sit inside their outer class's file). It also wrote the decoded manifest and resources. JADX-GUI runs the same engine with a code browser, search and cross-references, so its output matches the CLI's.

jadx doesn't hide its doubts, which helps. It finished with 6 errors and left 2,126 JADX WARN comments across 444 files. Most of them are "Code duplicated" notes (1,505), and the rest flag type inference or restructuring that it wasn't sure of. The project's README says plainly that jadx can't decompile 100% of the code in most cases, and on this app the miss was 26 methods, 23 of them flagged "Code decompiled incorrectly" in the header comment.

The --deobf flag gives jadx's own names to identifiers shorter than 3 characters (the default) or longer than 64, and adds a renamed from: comment, 18,363 of them here. That makes the code easier to navigate, but it doesn't bring the developer's names back.

apktool: resources, manifest and smali

apktool doesn't produce Java. It decodes the resources and manifest to near-original XML and disassembles the DEX into smali, the assembly-like text format for Dalvik bytecode. On Binary Eye it wrote 3,039 smali files, one per class definition and about 1.7 million lines in total, plus 979 resource files and an apktool.yml with the SDK levels and version. It also copied the 12 .so files as they were.

Use apktool when the answer is in a layout, a string resource or the manifest, or when jadx's Java looks wrong and you want to see the exact instructions. apktool can also rebuild an app from its output, which this test didn't cover and this post doesn't walk through.

dex2jar + a Java decompiler: the older route

dex2jar converts DEX bytecode into a standard Java .jar, so any Java decompiler (JD-GUI, CFR, Procyon, Vineflower) can open it. It's the route older tutorials teach. On Binary Eye, dex2jar 2.4 converted all 3,039 classes in about 6 seconds with no error file. Vineflower 1.12.0 then decompiled the jar into 2,966 files, but 524 methods came back as "Couldn't be decompiled", spread across 219 files.

We wanted to know whether the age of dex2jar was the cause. The original project's last release dates from October 2023, so we reran the conversion with the maintained fork's 2.4.39 release (November 2026). The result was the same 524. So on this app, a newer dex2jar didn't change anything, and the old release isn't the reason for the gap with jadx. You also get no resources or manifest this way, so you'd need apktool alongside.

Bytecode Viewer: several decompilers in one window

Bytecode Viewer is a GUI that runs several decompilers side by side on the same class, so you can compare their output when one of them stumbles. In 2.13.2, -list shows eight CLI back-ends: Procyon, CFR, FernFlower, Krakatau, Krakatau-Bytecode, JD-GUI, Smali and ASMifier. Its headless mode doesn't decompile yet, though. In the 2.13.2 source, the command-line handler checks the -i, -o and -t options and then reaches a comment that reads //TODO decompiling happens here. So Bytecode Viewer has no row of numbers in our table. Treat it as an interactive second opinion, not a batch tool.

Online APK decompilers

An online APK decompiler runs the same kind of engine on someone else's server: you upload the APK and browse the output in a web page. That's convenient for an open-source or public app. The trade-off is that the whole file leaves your machine, including any API endpoints, keys or unreleased code compiled into it.

Before you upload, check three things:

  1. Does the site name the engine it runs, so you know which failure modes to expect?
  2. Does it state a file-size limit?
  3. Does it say how long it keeps uploads and the decompiled output?

The decompiler.com APK page we read on 23 November 2026 answered none of the three on the page itself. It links a privacy policy from the footer, which is where to look. For your own pre-release builds, running jadx locally takes one command and keeps the file on your disk.

What R8 and ProGuard do to decompiled code

R8 is the optimizer that Android release builds use in place of ProGuard. It removes unused code, inlines and merges classes, and renames classes, fields and methods to short names, according to Android's R8 documentation. Since Android Gradle Plugin 9.1 it also moves renamed classes into the unnamed top-level package by default, and Binary Eye builds with plugin version 9.5.0. In decompiled output, that looks like this:

  • 2,635 of 2,895 jadx files sit in one root package that jadx calls defpackage, with names like a0, i01 and x00. That covers the app's own code and its libraries (AndroidX, Kotlin) alike.
  • 20 of 72 class, object and interface names from the app's Kotlin source survived. All 20 are classes Android finds by name through the manifest or layouts (13 activities, 4 custom views, a preference, a tile service and the Application class), so R8 has to keep them.
  • 66 files from one library (de.tsenger.vdstools) kept their names, because the project's proguard-rules.pro keeps that package.
  • 255 of 256 plain string literals of eight or more characters from the source were still readable in jadx's output. R8 renames identifiers, not strings.
  • No source file names: in 2,326 files, including all 20 kept app classes, jadx's "compiled from" line reads r8-map-id-72af1350… instead of a .kt file name. The only real file name left is DebugProbes.kt, from the Kotlin coroutines library. The mapping file that links those names back isn't in the APK, so the original names can't be recovered from it.

apk decompiler r8 survival

The pattern is the useful part. The app's structure and strings stay readable, and its names mostly don't. Renaming is the mildest form of code obfuscation, and it slows reading without hiding logic. Commercial Android protectors go further, with techniques such as data encryption, control-flow obfuscation and code virtualization. Those change what any decompiler can show, and this test didn't include them.

Where every APK decompiler stops: native .so libraries

Every APK decompiler in this test stops at native code. Binary Eye ships three native libraries, each compiled for arm64-v8a (AArch64), armeabi-v7a (32-bit ARM), x86 and x86_64. That's 12 ELF files. The biggest library is the barcode engine, libzxingcpp_android.so, at 1.15 MB for 32-bit ARM up to 1.61 MB for x86. jadx and apktool copied them, and dex2jar ignored them. In jadx's Java, the trail ends at 3 System.loadLibrary calls and 13 native method declarations, each a signature with no body. The method that reads a barcode from a bitmap is one of them.

Reading that code takes a native disassembler or decompiler, such as Ghidra, IDA or Binary Ninja, opened on the .so for one architecture. It's the same problem as reading a Windows binary. The Buttondown post on how to decompile an EXE covers the tools and what they return. If the native library is packed or virtualized, a decompiler shows the protection's machinery rather than the app's logic, so it pays to identify a packer or protector before you pick a tool.

Which APK decompiler should you use?

jadx is the best APK decompiler for reading an app's code, and apktool is the one for its resources, manifest and smali. On Binary Eye, jadx 1.5.7 decompiled 3,039 classes in about 11 seconds and gave up on 26 methods, while dex2jar + Vineflower gave up on 524 and returned no resources. Choose by the job:

You want to... Use
Read the app's logic, search it, follow calls jadx / JADX-GUI
Read layouts, strings, the manifest; check exact bytecode apktool
Compare decompilers on one tricky method Bytecode Viewer (GUI)
Take a quick look at a public app without installing anything an online decompiler, after the three checks above
Read lib/*.so native code Ghidra, IDA or Binary Ninja

FAQ

Can you decompile an APK back to its original source code?

No. You get readable code that does the same thing, not the source the developer wrote. On an R8-minified release like Binary Eye, about nine in ten decompiled files carry generated names, comments and local names are gone, and some methods don't decompile at all. Strings, resources and the manifest come back almost intact.

Is it legal to decompile an APK?

It depends on where you are, the app's license and what you do with the result, and this isn't legal advice. Decompiling your own app or an open-source one such as Binary Eye (MIT) is the clear case. Laws such as article 6 of the EU Software Directive and section 1201(f) of the US DMCA also make room for reverse engineering for interoperability, with conditions. Repackaging or redistributing someone else's app is a different matter.

Can jadx open AAB, XAPK or split APKs?

Yes. The jadx README lists .aab, .apks, .apkm and .xapk alongside .apk, .dex, .jar and .aar as supported inputs.

Does jadx need Java?

Yes. The jadx README asks for 64-bit Java 11 or later. The with-jre Windows download bundles its own runtime. We ran the plain build on Temurin 21.

Method and limits: one app (Binary Eye 1.75.7, F-Droid build), one machine, tool versions as listed, run on 23 November 2026. Counts for a different app, or a different jadx release, will differ. We logged every tool's release tag and SHA-256, and the counting script reads the output as plain text, so the same test is easy to repeat on another APK you're allowed to analyze.