Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JAR Viewer and DecompilerNew to Visual Studio Code? Get it now.
JAR Viewer and Decompiler

JAR Viewer and Decompiler

Sean McShane

|
15,549 installs
| (2) | Free
Browse and display decompiled contents of Java JAR files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

jar-viewer-and-decompiler

Features

This extension allows you to browse the contents of Java JAR files within Visual Studio Code. To launch this extension, right click on a .jar file in the VSCode explorer and select "Open With JAR Viewer and Decompiler".

Java class files in the JARs can be decompiled. Decompiling class files requires CFR to be available. Do NOT use this extension to decompile class files which you do not have legal rights to do so.

Extension preview

Additional Features

  • Search for Java packages within JAR using regular expressions
  • Display internal type signatures via right click on .class files within JAR

Requirements

  • VSCode version 1.88.0 or newer.
  • To view the decompiled contents of Java class files within JARs, the CFR decompiler JAR file needs to be downloaded and the path provided to the cfrPath setting. CFR can be downloaded here.
  • To view the decompiled contents of Java class files and print type signatures, Java must be on your PATH.

Extension Settings

This extension contributes the following settings:

  • jar-viewer-and-decompiler.cfrPath: Path to the CFR decompiler JAR file. This is required for decompiling class files.
  • jar-viewer-and-decompiler.cfrOutputSize: CFR decompiler maximum output buffer size. Specified in kilobytes (KB). Default: 250

Known Issues

  • JAR files within JAR files can not be viewed.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft