How To Decompile The Android APK File To A JAR File Using DEX2JAR And JD-GUI In Your Windows Machine

  • Download the dex2jar zip file from and extract it after completion of the downloading.
  • Open the extracted dex2jar zip file and access the command prompt from the same path.
  • Copy your apk file to extracted dex2jar zip folder.
  • Type d2j-dex2jar “test.apk” (Instead of test.apk type your apk file name) in the command prompt and press enter.
  • Once after completion dex2jar (apk file).
  • Download JD-GUI from
  • Open the JD-GUI and drag the dex2jar (apk file) into JD-GUI.

You’re done.

So, We have decompiled the android APK file to a JAR file using DEX2JAR and JD-GUI.

Happy Hacking!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store