Java Class File
Writableother
A file containing Java bytecode that can be executed on the Java virtual machine (JVM). A Java class file is usually generated by a Java compiler from a Java programming language source code file. Java is a high-level, class-based, object-oriented general-purpose programming language designed to have as few implementation dependencies as possible.
Identify it
| Extensions | .class |
|---|---|
| MIME types | application/javaapplication/java-byte-codeapplication/java-vmapplication/x-httpd-javaapplication/x-javaapplication/x-java-classapplication/x-java-vm |
| Signatures | cafebabe at byte 0 (Java Class File) |
| PRONOM | x-fmt/415 |
| Wikidata | Q2193155 |
Not sure your file is this? Identify it from its first bytes, in your browser.
Open it
- javacOpen source
- XRubyOpen source
- Apache TikaOpen source
- PhotoRecOpen source
Convert it
No conversion recorded. One of the tools above may export it; search for a chain.
Documentation
- kaitai grammar: https://github.com/kaitai-io/kaitai_struct_formats/blob/master/executable/java_class.ksy
Sources
From Kaitai Struct format gallery, PRONOM, Wikidata. Updated 2026-10-24.