Introduction
ARJ is an archiver for MS-DOS written by Robert K. Jung, first released in 1991. In the
early and mid-1990s it was one of the most used archivers on DOS, valued for its
compression and for splitting archives across floppy disks, and many shareware programs
and games of the time were shipped as .arj files. Split archives continue
in files named .a01, .a02 and so on. Jung published the header
layout and the source code of the free UNARJ extractor.
Structure
Every header starts with the bytes 60 EA and a 2-byte size of the basic
header that follows, then a CRC-32 of that header, then any extended headers, each with its
own CRC. Numbers are little-endian. Every field, flag and code is on the
headers and codes page.
0Main header60 EA, versions, host OS, flags, dates, archive name and commentvaries…File header60 EA, method, sizes, CRC-32, time, attributes, name and commentvaries…Compressed data for that filevaries…More files a header and data for eachrepeated…End60 EAwith a header size of 04 bytes
Method 0 stores a file; methods 1 to 3 use LZ77 with Huffman coding at different speeds, and method 4 is a faster, simpler variant.
Not described
Checked on 2026-11-13 against the 1994 technical note (ARJ 2.42b), the
unarc-rs parsers and ClamAV’s UNARJ-derived decoder.
Known, not yet covered
- Reference: the ARJ-SECURITY envelope and the ARJ-PROTECT recovery data, which open-source ARJ implements; the headers page only names their fields.
- Reference: password “garbling” (the encryption method that the encryption-version and password-modifier fields select), the self-extractor modules, and chapter and multi-volume handling beyond the flags; all are in the open-source ARJ source, which was not read.
Unknown
- Reference: the meaning of main header flag
80(ALTNAME), the bits of the second flags byte, and the encryption version values: no description was found.
Links
Software
- 7-Zip – free archiver that extracts ARJ archives (Windows)
- The Unarchiver – free extractor for many formats (macOS)
- ARJ and ARJ32 – Robert K. Jung’s original archivers (MS-DOS, Windows)
Reference
TECHNOTE.DOC– the header description that came with ARJ