Update February 2016:

www.javadecompilers.com lists JAD as being:

the most popular Java decompiler, but primarily of this age only. Written in C++, so very fast.
Outdated, unsupported and does not decompile correctly Java 5 and later

So your mileage may vary with recent jdk (7, 8).

The same site list other tools.

And javadecompiler, as noted by Salvador Valencia in the comments (Sept 2017), offers a SaaS where you upload the .class file to the cloud and it returns you the decompiled code.


Original answer: Oct. 2008

  • The final release of JSR 176, defining the major features of J2SE 5.0 (Java SE 5), has been published on September 30, 2004.
  • The lastest Java version supported by JAD, the famous Java decompiler written by Mr. Pavel Kouznetsov, is JDK 1.3.
  • Most of the Java decompilers downloadable today from the Internet, such as “DJ Java Decompiler” or “Cavaj Java Decompiler”, are powered by JAD: they can not display Java 5 sources.

Java Decompiler (Yet another Fast Java decompiler) has:

  • Explicit support for decompiling and analyzing Java 5+ “.class” files.
  • A nice GUI:

It works with compilers from JDK 1.1.8 up to JDK 1.7.0, and others (Jikes, JRockit, etc.).

It features an online live demo version that is actually fully functional! You can just drop a jar file on the page and see the decompiled source code without installing anything.

Answer from VonC on Stack Overflow
🌐
Java Decompiler
java-decompiler.github.io
Java Decompiler
The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions.
🌐
Java Decompilers
javadecompilers.com
Java decompiler online
This free and open-source decompiler is available here: http://www.benf.org/other/cfr/ Author: Lee Benfield Regularly updated, CFR is able to decompile all the modern Java features:
Discussions

Looking for a Java decompiler
I've had a good experience with this one: http://jd.benow.ca/ EDIT: You decompile the .class file, which is a compiled .java file. A .jar file may contain .java files as well. More on reddit.com
🌐 r/java
49
28
June 13, 2017
decompiler - How do I "decompile" Java class files? - Stack Overflow
What program can I use to decompile a class file? Will I actually get Java code, or is it just JVM assembly code? On Java performance questions on this site I often see responses from people who h... More on stackoverflow.com
🌐 stackoverflow.com
Java Decompiler Gui
You might want to think of a unique name, since there already is a very popular decompiler with the "Java Decompiler GUI" name; https://github.com/java-decompiler/jd-gui More on reddit.com
🌐 r/java
12
31
October 2, 2023
does decompiling a .jar file execute it?
Title. I have no experience in it, I'm trying to find RATS inside of jar files, and I need to decompile it. I don't want to run the risk of executing… More on reddit.com
🌐 r/java
11
0
July 19, 2022
🌐
Jdec
jdec.app
JDec - Java Decompiler Online
JDec is a online Java decompiler that provides a fast way to decompile JAR files. Instant access to the files, no need to wait. Also supports downloading decompiled java code.
🌐
GitHub
github.com › mstrobel › procyon › wiki › Java-Decompiler
Java Decompiler · mstrobel/procyon Wiki
October 27, 2019 - Procyon is a suite of Java metaprogramming tools, including a rich reflection API, a LINQ-inspired expression tree API for runtime code generation, and a Java decompiler. - mstrobel/procyon
Author: mstrobel
🌐
Reddit
reddit.com › r/java › looking for a java decompiler
r/java on Reddit: Looking for a Java decompiler
June 13, 2017 -

I have a couple of .jar games on my disk. I want to decompile the bytecode back to the readable .java format.

What are my options? Google wasn't very helpful, throwing old sites at me with broken download links.

I just want to learn - I played the game lots of times so I know what it does, now I want to know how it does it.

EDIT: Thanks to everyone who replied, the post stays so that others can use. I decided to use jd-gui, but it's good to know many Java IDEs have plugins to do this too (I use Netbeans and I couldn't find a decompiler plugin for it)

🌐
Benf
benf.org › other › cfr
CFR - yet another java decompiler.
CFR will decompile modern Java features - up to and including much of Java 9, 12 & 14, but is written entirely in Java 6, so will work anywhere!
Find elsewhere
🌐
Javainuse
javainuse.com › decomp
Java Decompiler Online
A Java decompiler is a specialized tool that reconstructs Java source code from compiled bytecode (.class files).
Top answer
1 of 16
588

Update February 2016:

www.javadecompilers.com lists JAD as being:

the most popular Java decompiler, but primarily of this age only. Written in C++, so very fast.
Outdated, unsupported and does not decompile correctly Java 5 and later

So your mileage may vary with recent jdk (7, 8).

The same site list other tools.

And javadecompiler, as noted by Salvador Valencia in the comments (Sept 2017), offers a SaaS where you upload the .class file to the cloud and it returns you the decompiled code.


Original answer: Oct. 2008

  • The final release of JSR 176, defining the major features of J2SE 5.0 (Java SE 5), has been published on September 30, 2004.
  • The lastest Java version supported by JAD, the famous Java decompiler written by Mr. Pavel Kouznetsov, is JDK 1.3.
  • Most of the Java decompilers downloadable today from the Internet, such as “DJ Java Decompiler” or “Cavaj Java Decompiler”, are powered by JAD: they can not display Java 5 sources.

Java Decompiler (Yet another Fast Java decompiler) has:

  • Explicit support for decompiling and analyzing Java 5+ “.class” files.
  • A nice GUI:

It works with compilers from JDK 1.1.8 up to JDK 1.7.0, and others (Jikes, JRockit, etc.).

It features an online live demo version that is actually fully functional! You can just drop a jar file on the page and see the decompiled source code without installing anything.

2 of 16
101

There are a few decompilers out there... A quick search yields:

  1. Procyon: open-source (Apache 2) and actively developed
  2. Krakatau: open-source (GPLv3) and actively developed
  3. CFR: open-source (MIT) and actively developed
  4. JAD
  5. DJ Java Decompiler
  6. Mocha

And many more.

These produce Java code. Java comes with something that lets you see JVM byte code (javap).

🌐
JetBrains
plugins.jetbrains.com › plugin › 7100-java-decompiler
Java Decompiler Plugin for JetBrains IDEs | JetBrains Marketplace
June 6, 2021 - Decompile any 'class' file in jars or not inside IntelliJ IDEA. Supports bytecode from Java 1 to Java 12.
Rating: 3.7 ​ - ​ 21 votes
🌐
Wikipedia
en.wikipedia.org › wiki › JD_Decompiler
JD Decompiler - Wikipedia
February 24, 2026 - JD supports most versions of Java ... 1.2.2, Eclipse Java Compiler and Apache Harmony and is thus often used where formerly the popular JAD was operated. In 2011, Alex Kosinsky initiated a variant of JD-Eclipse which supports the alignment of decompiled code by the line numbers ...
🌐
GitHub
github.com › java-decompiler
Java Decompiler · GitHub
JD-Core is a JAVA decompiler written in JAVA.
🌐
SourceForge
sourceforge.net › home › open source software › software development › compilers › decompilers
Best Open Source Java Decompilers for Windows
Fernflower is an open-source Java decompiler originally developed by JetBrains that takes compiled Java bytecode and reconstructs readable source code, helping developers understand, debug, and recover lost Java code from .class files.
🌐
DigitalOcean
digitalocean.com › community › tutorials › java-compiler
Java Decompiler Explained: How It Works, Tools, and Use Cases | DigitalOcean
June 18, 2025 - Learn how a Java compiler works, explore top compiler tools, and understand Java bytecode. A complete guide for beginners and experienced developers.
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Decompiler for Java - Visual Studio Marketplace
Extension for Visual Studio Code - Adds a decompiler for the Java Language Support extension.
🌐
JAR Tools
jar.tools
JAR Tools — Online Java Decompiler, JAR Editor & Viewer
Browse JAR archives and decompile Java class files directly in your browser.
🌐
TechVidvan
techvidvan.com › tutorials › java-decompilers
Best Java Decompilers You Must Know - TechVidvan
June 19, 2020 - Learn what are java decompilers & how to decompile java program, Top decompilers in java - JAD, DJ Java, JDProject, Procyon, JBVD, Cavaj, AndroChef, CFR
🌐
Java Decompilers
javadecompilers.com › jad
JAD Decompiler Download ✓
Reliable mirror ✓ Download JAD decompiler here. Versions for ✓ Windows ✓ Mac OS ✓ Linux ✓ EVERYTHING!
🌐
GitHub
github.com › sotasan › decompiler
GitHub - sotasan/decompiler: Java Decompiler GUI · GitHub
A GUI application for browsing Java archives with the decompiler of your choice.
Author: sotasan
🌐
ITU Online
ituonline.com › tech-definitions › what-is-a-java-decompiler
What Is a Java Decompiler? – ITU Online IT Training
June 30, 2026 - A Java decompiler is a tool that converts compiled Java bytecode in .class files back into readable Java source code, enabling developers to recover lost code, analyze third-party applications, or perform security audits; it works by parsing bytecode instructions and reconstructing high-level ...