Java decompiler that turns class, jar, and zip inputs into source, bundled with IntelliJ IDEA and runnable from the command line.
Overview
Fernflower is an analytical decompiler that recovers Java source from compiled bytecode. JetBrains maintains it as part of the IntelliJ Community stack, where it powers Java source views when debugging or browsing class files without originals.
The same engine runs standalone from the command line: you pass files or directories containing .class, .zip, or .jar archives plus a destination folder, with many switches controlling output style, generic signature handling, identifier renaming, lambda lowering, logging, and processing time limits. Optional library inputs prefixed with -e= supply external class context for relationship analysis and renaming.
Renaming mode can replace ambiguous or obfuscated identifiers using built-in rules or a user-supplied IIdentifierRenamer implementation referenced via -urc. IntelliJ-specific annotations such as @NotNull can influence decompiled output when enabled.
Releases are published through the IntelliJ Community repository. Licensing is Apache 2.0.
Key features
- Decompile class jar and zip inputs
- Recursive directory scanning
- Configurable decompiler option flags
- Obfuscated identifier renaming mode
- Custom IIdentifierRenamer hook
- IntelliJ IDEA bundled integration
- Command-line stand-alone execution
- Lambda and generics handling toggles
Use cases
- Inspecting third-party jar internals
- Recovering sources during debugging
- Batch decompilation to a folder
- Reverse engineering obfuscated bytecode