How to Decompile a JAR in IntelliJ IDEA

Learn how to open and decompile JAR files inside IntelliJ IDEA, plus when online tools are faster.

How IntelliJ Decompiles JARs

Method 1: Add JAR as a Project Library

Method 2: Open the JAR Directly (Without a Project)

Navigation Tips for Decompiled JARs

Attach Source JARs (Better than Decompiling)

When to Use IntelliJ vs an Online Tool

IntelliJ's Decompiler Accuracy

FAQ