How to Decompile a WAR File (Get the Java Source Back)

Decompile a Java WAR file to readable source — online with no install, or via CLI with CFR. Covers where the classes live and how WEB-INF is laid out.

Where the Code Lives in a WAR

Option 1: Decompile a WAR Online (No Install)

Option 2: Decompile a WAR With CFR (Command Line)

What You Get (and What You Don't)

Summary