JAR Viewer & Java Decompiler (Class File Viewer, Bytecode, CFR) Pro Available
Open a .jar, .war, .ear, .aar or .class file in VS Code and see what is inside: packages, classes, resources and MANIFEST.MF, the Java version of every class, a javap-style bytecode listing and decompiled Java source. Decompiling uses the bundled CFR decompiler and the Java runtime already on your computer. Read-only, no network.
Packages and resources: the archive as a tree of packages, with a filter that finds a class or file among 50,000 entries as you type. Inner classes are dimmed under their outer class.
Overview: format, size, entry count, classes, packages, Main-Class, Start-Class, Created-By, module name, multi-release, and a chart of the Java versions the classes were compiled for (class file 52 is Java 8, 61 is Java 17, 65 is Java 21).
Java source: decompiled with CFR 0.152, with its inner classes. Copy it or open it in an editor tab.
Bytecode: a javap -c -p style listing written in JavaScript, with every opcode, tableswitch and lookupswitch, wide, resolved constants, exception tables, line numbers and local variables. It needs no Java.
Members: fields and methods as Java declarations (generic signatures included), with their descriptors, access flags and code size.
Constant pool: every entry with its tag, references and value, with a filter.
Class info: access flags, super class, interfaces, source file, inner classes, nest host, records, permitted subclasses, annotations and every attribute.
Resources: text files (properties, XML, JSON, SQL, services files) open as text; binary files show a hex preview.
ZOVO PRO AVAILABLEOne-time purchase · No subscription
Add Pro tools to JAR Viewer & Java Decompiler (Class File Viewer, Bytecode, CFR)
Export decompiled sources. Decompiles every class of a JAR with CFR and writes the .java files to a folder, with progress and a Cancel button.
Compare two JARs. Lists the classes added, removed and changed between two JARs, with the method and field signatures and the Java versions that changed.
Find in every JAR of a folder. Searches every JAR, WAR and EAR in a folder, and the JARs nested in them, for a class, method, field or string constant (plain text or /regex/).
Is JAR Viewer & Java Decompiler (Class File Viewer, Bytecode, CFR) free?
Yes. JAR Viewer & Java Decompiler (Class File Viewer, Bytecode, CFR) is free and MIT licensed.
How do I install JAR Viewer & Java Decompiler (Class File Viewer, Bytecode, CFR)?
Click "Install in VS Code" above, or search for zovo.zovo-jar-viewer in the Extensions view.
Marketplace README snippet (copy link for VS Code Marketplace)
See full docs & install options at [vscode.zovo.one/extensions/zovo-jar-viewer/](https://vscode.zovo.one/extensions/zovo-jar-viewer/), browse all Zovo VS Code extensions at [vscode.zovo.one](https://vscode.zovo.one/), or explore [Zovo Pro](https://vscode.zovo.one/pro/).
Hex viewer, binary viewer and hex editor for VS Code that opens files of any size (4 GB and more) in under a second. Insert and delete bytes, compare two files byte by byte, go to offset, find hex or text, a data inspector, copy as C array or base64. Free, works offline.
ELF viewer, PE viewer and DLL viewer for VS Code: open .so, .o, .exe, .dll, .sys and Mach-O .dylib files and read headers, sections, segments, imports, exports and symbols, with a hex view. Also an EXE viewer and Mach-O viewer for universal binaries. Read-only, no network, fast on 500 MB files.
ZIP viewer and archive viewer for ZIP, JAR, VSIX, TAR, TAR.GZ and GZ files in VS Code. Browse them without unpacking. Open entries in editor tabs, search names and extract safely.
Minidump viewer for Windows, Linux and macOS crash dumps (.dmp, .mdmp): the exception, the crashing thread's stack, modules with versions, threads with registers and raw stack memory. Nothing to install, nothing uploaded.
Opens linker map files (.map) from GNU ld, LLVM lld, IAR and Keil as FLASH and RAM usage bars, sortable tables of sections, object files and symbols, a treemap, and a compare of two builds that shows what grew. Reads 200 MB maps in a background thread. Free, no sign-in, works offline.
Intel HEX viewer and S-record viewer for VS Code: open .hex, .ihex, .srec, .s19, .s28, .s37 and .mot firmware images as a memory map with segments, gaps and overlaps, a hex view by address, a data inspector and every checksum checked line by line. Read-only, no network.