Bytecode Viewer vs CFR
Bytecode Viewer
bytecodeviewer.comCFR
benf.orgSide by side
| Figure | Bytecode Viewer | CFR |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Decompiler Software | 8.1 (#8) | 8.3 (#5) |
| Purpose | Bytecode Viewer is a desktop application for analyzing and decompiling Java bytecode to help developers inspect and debug compiled code. | CFR is a Java decompiler that converts Java class files back into Java source. |
| Support | The project directs users to GitHub issues for bugs and provides a discussion forum and Discord link. | The maker invites users to email reports of problems and directs bug reports to the GitHub issue tracker. |
Plans
In their own words
Bytecode Viewer
Bytecode Viewer is a free desktop application for inspecting and decompiling Java bytecode, with tools for Java and Android reverse engineering. It opens Class, Jar, XAPK, APK, DEX, WAR, and JSP files, along with image and text resources. Six included Java decompilers are Krakatau, CFR, Procyon, FernFlower, JADX, and JD-GUI. The application also has three bytecode disassemblers, including Krakatau and Smali/BakSmali assemblers, plus Dex2Jar, Enjarify, and APKTool.jar integrations for Android-related files and resources. Users can edit and compile Java and bytecode, run advanced static searches, and use Java or JavaScript plugins with loaded class files. Export options include runnable Jar, Zip, APK, and decompiled files as Zip. It runs on Linux, macOS, and Windows and requires Java 8 or greater. The project is open source under GPL v3 Copyleft. Version 2.13.2 is marked in development; its command-line interface is not functional, and v2.12 is recommended for CLI use.
CFR
CFR is a free Java decompiler that reconstructs Java source from Java class files. It can process individual named classes, classes found on a classpath, or a whole JAR, and the command-line tool can place output in a chosen directory with the --outputdir option. Decompilation behavior can be adjusted through command-line options or an options file. The maker says CFR handles many features from Java 9, 12, and 14, and it can attempt class files from other JVM languages; those are rendered as Java rather than their original language. CFR is written in Java 6 and is said to run wherever Java 6 does. It is available as a downloadable JAR, through Maven, and from GitHub. The FAQ notes an API from version 0.135, and the project repository identifies the license as MIT. CFR handles bytecode rather than native code. Its maker also notes that some inputs fall into edge cases where output may be poor. There are no paid plans or usage limits stated.