Developer and Text Tools

How to Inspect a JAR, WAR or AAR: Manifest, Java Version and Classes

Find out which Java version a jar needs, read its manifest and Maven coordinates, open nested jars and see class outlines, all in the browser.

Saizul Amin
Saizul Amin19 Nov 2026 · 4 min read
How to Inspect a JAR, WAR or AAR: Manifest, Java Version and Classes

How to Inspect a JAR, WAR or AAR: Manifest, Java Version and Classes

Sooner or later every Java developer meets a jar they need to look into. A service fails with UnsupportedClassVersionError, a fat jar contains a different library version than the build file says, a WAR will not deploy, or an Android library declares permissions nobody expected. The JAR, WAR and AAR File Inspector opens these archives in the browser and answers those questions without unzipping anything by hand.

They are all ZIP files

JAR, WAR, EAR and AAR are ZIP archives with conventions. A JAR has META-INF/MANIFEST.MF and compiled .class files. A WAR adds WEB-INF/web.xml, WEB-INF/classes and libraries in WEB-INF/lib. A Spring Boot executable jar puts its own classes in BOOT-INF/classes and dependencies in BOOT-INF/lib. An Android AAR holds a text AndroidManifest.xml, a classes.jar, resources and R.txt. The inspector recognises each layout and shows the relevant parts.

Which Java version does it need?

Every class file begins with a version number. Major version 52 is Java 8, 55 is Java 11, 61 is Java 17 and 65 is Java 21. If a single class was compiled for a newer version than the running JVM, loading it fails with UnsupportedClassVersionError. The overview counts classes by version across the whole archive, so a line such as "Java 8: 1,020, Java 17: 3" immediately shows the odd ones out. Multi-release jars, which keep extra classes under META-INF/versions, are counted as well.

Reading the manifest and coordinates

The manifest tells you the entry point (Main-Class, or Start-Class for Spring Boot), the module name, who built it and with which JDK, and whether it is a multi-release jar. Maven builds also leave pom.properties files with the groupId, artifactId and version, which the overview lists; this is the quickest way to see the real version of a shaded or repackaged library. Service provider files under META-INF/services and signature files are shown too.

Nested jars

WARs, Spring Boot jars and AARs contain other jars. They appear under Nested archives with their size. Press Open and the inner jar is inspected in the same way, with a breadcrumb row to climb back out. Checking which version of a vulnerable library is bundled three levels deep takes seconds.

Class outlines

The Classes tab lists every class. Choose one to see an outline: package, modifiers, superclass and interfaces, fields with their constant values, constructors and methods with parameter types and declared exceptions. Records, enums, interfaces and annotations are shown in their own style. You can hide private members to see the public API only, or include synthetic members generated by the compiler. Save one outline, all outlines as a ZIP, or a CSV listing every class with its kind and Java version.

An outline is not decompiled source. Method bodies stay as bytecode and generic parameters appear as the raw signature string. For checking an API, a version or what a library exposes, the outline is usually all you need.

A quick troubleshooting routine

When a deployment breaks, open the archive and check three things in order. First the Java versions line, to rule out a runtime that is too old. Then the manifest, to confirm the entry point and class path are what the start script expects. Finally the Maven coordinates and nested archives, to find duplicate or unexpected library versions that could cause NoSuchMethodError or ClassCastException at run time. The Files tab helps with the rest: search for a resource such as application.yml or log4j2.xml, view it and save it.

Web and Android specifics

For a WAR, the web.xml view lists servlets with their URL patterns, filters, listeners and welcome files. For an AAR, the Android view shows the package, minSdk and targetSdk, requested permissions and declared components such as activities, services and providers.

Privacy and limits

Archives are read inside the browser tab and no Java code runs. Signatures of signed jars are listed but not verified. Obfuscated code keeps its obfuscated names. Android APK files can be browsed as ZIP archives but their DEX bytecode is not read; the site has a separate APK manifest viewer for those.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages