Java Decompiler Plugin For Notepad |link|
The decompiled Java code will appear in the NppExec console, or you can script it to open in a new tab. 2. Python Scripting Integration
Standard Notepad++ (v8.x as of 2025) does not include a built-in Java decompiler. However, Notepad++ is highly extensible via:
Now, with any .class or .jar file open, hit (or your assigned hotkey) → decompiled Java appears in a new tab. java decompiler plugin for notepad
While standalone decompilers like JD-GUI, CFR, Procyon, and FernFlower exist, integrating a decompiler directly into Notepad++—a fast, tabbed, syntax-highlighting text editor—offers convenience and a unified workflow.
Before diving into plugins, let’s clarify the technology. The decompiled Java code will appear in the
Using a Java decompiler plugin for Notepad++ offers several benefits:
decompiler_path = "C:/tools/cfr.jar" current_file = notepad.getCurrentFilename() if current_file.endswith(".class"): output_dir = os.path.dirname(current_file) cmd = f"java -jar decompiler_path current_file --outputdir output_dir" subprocess.run(cmd, shell=True) decompiled_java = current_file.replace(".class", ".java") notepad.open(decompiled_java) However, Notepad++ is highly extensible via: Now, with any
To build your own "plugin" experience, you will need to download one of these industry-standard decompiler jars to use with your NppExec script: Can you add java .class file decompiler plugin?
In this article, we'll explore the world of Java decompilation, discuss the benefits of using a decompiler plugin, and provide a step-by-step guide on how to integrate and use a Java decompiler plugin with Notepad++.