# Bytecode decompiler

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.

The bytecode decompiler used is [Fernflower](https://github.com/jetBrains/fernflower).

Procedure: Enable the Java Bytecode Decompiler plugin

This functionality relies on the   plugin, which  is bundled and enabled in IntelliJ IDEA   by default. If the relevant features are not available, make sure that you did not disable the plugin.

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Plugins`.

2. Open the Installed tab, find the Java Bytecode Decompiler plugin, and select the checkbox next to the plugin name.

Procedure: View decompiled code

1. Open a compiled `.class` file in the editor.

If it is the first time that you are 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](https://resources.jetbrains.com/help/img/idea/2026.2/jb-decompiler-dialog.png)

> **Tip:**
> If you change your mind and want the JetBrains Decompiler dialog to appear again, disable the Java Bytecode Decompiler plugin in settings and open any compiled file in the editor.

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

The notification panel above the editor informs you that you are reading a decompiled file.

![A compiled file in the editor that IDE has decompiled](https://resources.jetbrains.com/help/img/idea/2026.2/decompiled-class.png)

> **Tip:**
> The decompiler can also debug your code, so you can use [breakpoints](using-breakpoints.html) anywhere in the decompiled code.

## See also

### Related

[Look Inside Compiled Code
with Java Bytecode Decompiler](https://blog.jetbrains.com/idea/2020/03/java-bytecode-decompiler/) in the IntelliJ IDEA blog

