IntelliJ IDEA
 
Get IntelliJ IDEA

Java bytecode decompiler

Last modified: 11 February 2024

IntelliJ IDEA features the Java bytecode decompiler that shows you compiled bytecode as if it were human-readable Java code. The decompiler is enabled by default.

Open a compiled .class file in the editor.

If it's the first time that you're opening a compiled file, the IDE prompts you to agree to the specified terms and conditions in the JetBrains Decompiler dialog. If you click Accept, the dialog will not be displayed in the future, and the appropriate code will be automatically decompiled.

JetBrains Decompiler dialog

After that the IDE will show you the human-readable Java code without actually converting .class files into .java files.

The yellow notification panel above the editor informs you that you’re reading a decompiled file.

A compiled file in the editor that has been automatically decompiled by IDE