JarEditor

March 29, 2026 Β· View on GitHub

English | δΈ­ζ–‡

πŸ«™ Browse, decompile, edit, and rebuild JAR files β€” right inside VS Code. No unzipping, no command line, just open and edit.

This extension is based on VSCode. If you are using JetBrains, check out my other project: https://github.com/Liubsyy/JarEditor

JarEditor main view

✨ Features

FeatureDescription
πŸ“¦ BrowseExplore JAR contents in the Explorer sidebar β€” just like a file tree
β˜• DecompileOpen .class entries as readable Java source code via CFR
✏️ EditModify text resources and Java source directly, no extraction needed
πŸ”¨ RecompileSave edited .class source and compile it back automatically
πŸ†• AddCreate files, directories, or empty .class entries via right-click
πŸ—‘οΈ DeleteRemove individual files or entire directories from the archive
πŸš€ Build JarMerge all edits back into the original JAR with a single click

πŸ“– Usage

  1. Open a workspace containing one or more .jar files.

  2. Expand the JarEditor view in the Explorer sidebar to browse the archive tree.

  3. Click any entry to open it β€” text files open directly, .class files open as decompiled Java source.

  4. Edit the content, click Save (.class files are compiled automatically), then click Build Jar to write all changes back into the original JAR. JarEditor demo

  5. Use Add / Delete from the right-click context menu as needed.

    JarEditor add and delete

πŸ“¦ Installation & Running

1. Install from VSCode Marketplace

Search for JarEditor in the Extensions panel and click Install.

2. Build from Source

npm install
npm run build

Open this project in VS Code and press F5 to launch an Extension Development Host.


πŸ“„ License

Released under the Apache License 2.0.


πŸ’¬ Communication & Feedback

Join QQ group 724877463, or submit issues for discussion and feedback.