In this tutorial I will guide you how to decompile apk to source code in just one click.
APK file is compressed form of java classes, XML and several other files. As an android developer you may require to decompile apk file to get actual source code. Like if you saw an app with awesome design and you want to know how to implement that design in your project. We use reverse engineering process to get the source code.
There are several tools available on the internet like dex2jar, apktool, etc. that will help you to convert apk to soruce code. But for that you have to run several commands and follow lengthy process.
Also Read:Â 5 Best Java Decompilers
Luckily I found a great online apk decompiler tool www.javadecompilers.com. This tool uses an open sources APK and DEX decompiler known as jadx. It will help you to obtain source code from apk file in just one click.
How to Decompile APK to Source Code
1. First of all go the below link.
http://www.javadecompilers.com/apk
2. Now select the apk file by Choose File option and then click on Upload and Decompile button.
3. It will take time to decompile depending upon the size of the file.
4. After decompilation process finished, click on Save button to download the source code.
You can also watch below video tutorial.
Isn’t it very simple? Yes off course. This tool will let you decompile any apk file, if still you are facing any issue then you can find the general long method at below link.
http://stackoverflow.com/questions/3593420/is-there-a-way-to-get-the-source-code-from-an-apk-file
Comment below if you are facing any problem. If you found this tutorial useful then please take your few seconds to share it.
Thanks a lot bhai , i am sure this will help me more than any tutorial that i watch. Keep up this good work 😀
my pleasure bro, keep visiting 🙂
Thanks for this. After I’ve made the changes, how can I compile it (turn it back into an apk)? Is there such a “one click” site similar to it.
No, I don’t think so.
so what’s the point of all of these if you can’t recompile it back? If you can get the apk resources, manifest file, and decompiled all the java files, so why can’t we get the apk back?
It is helpful in case you want to see source code of an app and then get an idea to make app in your way.
so does this mean that we can build on top of the existing apk (before uncompiled)?
You can turn back to apk by android studio
How do you import it into android studio? I haven’t been able to.
You can use apktool (but this is not online, sorry!)
Regards,
Andrew
i can get some problem when i want to re build or compile the source code
The server is down. DAMN
if i have a jadx file .then how to import these code in android studio
Dear admin,
Can we compile application if application uses PRO Guard ?
Hi! I am the author of the javadecompilers.com tool.
You cannot imagine how pleased I am by your tutorial (and the article bring me a lot of traffic :0))
I just wanted to add that I added a new feature to my webservice: http://www.javadecompilers.com/apktool
It is based on the apktool (https://ibotpeaches.github.io/Apktool/) and able to decode resources from an apk to original form.
You may download apk application of your choice and use this website to extract and research assets and the manifest file.
Some limitations, obviously, exist due to the service ‘online nature’: you may extract and research assets and the manifest file, but it is impossible to recompile the application at the moment…
Still, this is a no-hassle way to ‘open’ the android application, so I hope some people would find it useful.
With very best regards and thank you again!
Andrew
how to open it in android studio
i also want open it in android studio. Did you get any idea about recombile the app. please, inform me to how to do that. i am witing for any one knows that . Help Me
your site is not working. It only shows Job status: Waiting in a queue and stucks at there
I followed your android chat app tutorial It works great(TNX). but I need a code to show only phone contacts that have app installed(just like whatsapp) I have tried all I can but not working. please help thank you.
good tutorial but I want to edit this now in the android studio. so how I’ll open it in android studio and edit it. please guide me.
thanks
what if i want decompile in c++ source code. Is that posible?
Bro I want to read native application code so is there any way to read code. It’s working properly for java and kotlin applications but it’s not working for native application so please suggest a way to see the code.
It is not working properly