What is LHA? LZH Compression and Archive Format Explained
A 1980s freeware compression format and utility once popular in Japan and DOS gaming.
Last updated:
What is LHA?
LHA is a freeware compression utility and the associated archive file format created in 1988 by Haruyasu Yoshizaki. Archives produced by it commonly carry the .lzh or .lha extension, and the format is often referred to simply as LZH.
The tool was originally named LHarc and went through several renames before settling on LHA to avoid conflicting with the MS-DOS 'LH' load-high command. Its compression combines a variant of the LZ77 dictionary method known as LZSS with Huffman coding to reduce the size of the encoded output.
How LHA Works
LHA, and the .lzh files it produces, is a combined archiver and compressor from the late 1980s. Unlike the Unix pattern of separating packaging from compression, LHA does both at once: it stores multiple files in one archive and compresses each of them, keeping filenames, sizes, timestamps, and a per-file checksum in a header ahead of each entry.
Its compression is a variant of the LZSS dictionary method combined with Huffman coding, a design conceptually similar to the LZ77-plus-Huffman approach that DEFLATE later popularized. The encoder finds repeated byte sequences and replaces them with back-references, then Huffman-codes the result so common symbols use fewer bits. Several method identifiers such as -lh5- mark which variant compressed a given entry.
Because each file is compressed independently and preceded by its own header, an LHA archive can list and extract individual members without processing the whole file, similar to how ZIP works. Each entry carries a CRC so the extractor can verify the data decompressed correctly, giving reasonable protection against corruption for the era.
The format is compact and the decompressor is simple and fast, which mattered enormously on the memory-constrained home computers of its time. That efficiency is exactly why it was chosen for so much software distribution in the years before ZIP became dominant.
History and Standardization
LHA was created by Haruyasu Yoshizaki in Japan in the late 1980s, evolving from an earlier tool called LHarc. It was released as free software, which encouraged rapid adoption at a time when many competing archivers were shareware or commercial.
The format became extremely popular in Japan, where it was for years the de facto standard for distributing software and files, and it saw heavy use on the Amiga and MS-DOS platforms internationally. Much retro and doujin software from that period is still distributed as .lzh.
LHA was never blessed by a formal standards body; it is defined by its original implementations and widely reverse-engineered documentation. As ZIP took over globally through the 1990s, LHA faded from mainstream use, but its long dominance in Japan means the format is still supported by most full-featured archive utilities today.
LHA Compared to ZIP and Modern Archivers
LHA and ZIP are close cousins: both are all-in-one archivers that compress each file individually, keep per-file headers, and allow single-file extraction. ZIP ultimately won on reach, driven by its integration into DOS and Windows tooling and its open specification, while LHA's stronghold stayed regional.
On compression ratio the two are broadly comparable for their generation, since both rest on LZ dictionary matching plus Huffman coding. Modern archivers using LZMA or Zstandard compress considerably tighter than either, so LHA today is chosen for compatibility with old archives rather than for efficiency.
The practical reason to understand LHA now is preservation: a large body of vintage Japanese, Amiga, and DOS software survives only as .lzh. Because most cross-platform archive tools can still open the format, that content remains accessible, but for new archives ZIP or a modern high-ratio format is the sensible choice.
MKV Technical Specifications
LHA vs Other Archive Formats
| Feature | LHA | ZIP | RAR |
|---|---|---|---|
| Compression algorithm | LZSS + Huffman[1] | DEFLATE | Proprietary |
| Open/proprietary | Open / freeware[2] | Open | Proprietary |
| Era | Late 1980s[1] | 1989 | 1993 |
| Current use | Legacy | Widespread | Common |
| Best for | Retro / Amiga files | General sharing | Multi-volume archives |
LHA is now largely legacy, while ZIP and RAR remain in active everyday use.
Advantages & Disadvantages
Advantages
LHA was released as freeware with documented internals, encouraging wide adoption and reimplementation.
Its LZSS plus Huffman approach delivered competitive compression on 1980s and 1990s hardware.
Versions and clones exist for DOS, Amiga, Unix, and other systems.
The utility was lightweight enough to run well on the limited machines of its time.
Disadvantages
It has been displaced by ZIP, 7z, and other formats outside of legacy and archival contexts.
Older LHA decompressors have a history of vulnerabilities, and the format is no longer actively maintained.
Native support is uncommon in current operating systems and requires dedicated utilities.
Common Use Cases
LHA is now encountered mainly in legacy and regional archival settings.
Japanese legacy archives
LZH remained widely used in Japan into the 2000s and persists in older Japanese software distributions.
Retro computing
Amiga and DOS software collections, including some game installers, were distributed as LHA archives.
Digital preservation
Archivists decompress historical LZH files to recover vintage software and documents.
Convert LHA Files Free
Use our free online archive converter to convert LHA and other formats - no signup, no watermarks.
Try Archive Converter FreeHow to open a LHA file
LHA files, commonly associated with LZH compression, are often handled by a variety of software tools that cater to different user needs. Professional software tends to offer advanced features for batch processing and integration with other formats, while free and open-source options provide basic functionality for casual users. Browser-based tools are convenient for quick access without installation, and built-in utilities may suffice for users who need minimal interaction with LHA files.
When choosing software for LHA, key decision factors include feature fidelity, whether the tool is more suited for viewing or editing, and the cost model. Users should consider their platform compatibility, any export needs they may have, and whether converting LHA files to another format is a more practical solution for their workflow.
7-Zip 21.07
7-Zip is a free and open-source file archiver that supports LHA files among many other formats. It provides a straightforward interface for extracting and creating LHA archives with high fidelity.
- High compression ratio for LHA files
- Supports multiple archive formats
- File encryption with AES-256
- Command line version for automation
- Integration with Windows Explorer
- Completely free with no ads
- Robust compression capabilities
- Widely trusted and used
- Limited support for editing LHA files
- User interface may seem dated
Exports to: ZIP, TAR, GZ, BZ2, XZ
Best for: Choose 7-Zip for a powerful, free tool that excels in compression and extraction of LHA files.
Visit 7-Zip →WinRAR 6.21
WinRAR is a popular file compression tool that supports LHA files, allowing users to extract and create archives with ease. It offers a user-friendly interface and a range of features for managing compressed files.
- Create LHA archives with ease
- Repair damaged archives
- Multi-volume archive support
- Advanced compression settings
- Integration with Windows context menu
- Robust feature set for file management
- Excellent compression algorithms
- User-friendly interface
- Paid software after trial period
- Limited free features compared to competitors
Exports to: ZIP, TAR, GZ, ACE, ISO
Best for: Select WinRAR if you need a comprehensive tool for managing LHA files with advanced features and a polished interface.
Visit WinRAR →PeaZip 8.7.0
PeaZip is a free file archiver that supports a wide range of formats, including LHA. It offers a clean interface and a variety of features for both extracting and creating LHA files.
- Multi-format archive support
- Secure file deletion options
- Batch processing capabilities
- Customizable user interface
- File encryption and password protection
- Open-source and regularly updated
- User-friendly with customization options
- Strong security features
- Performance can lag with large files
- Less known than other major tools
Exports to: ZIP, TAR, 7Z, ARC, GZ
Best for: PeaZip is ideal for users seeking a free, open-source solution with strong security features for handling LHA files.
Visit PeaZip →Bandizip 7.25
Bandizip is a fast and lightweight archiving tool that supports LHA files, offering a modern interface and efficient performance. It allows users to create and extract LHA archives easily.
- High-speed compression and extraction
- Multi-core compression support
- Drag-and-drop functionality
- Context menu integration
- Password protection for archives
- Fast performance with large files
- Modern and intuitive interface
- Supports a wide range of formats
- Some features locked behind paid version
- Limited Linux support
Exports to: ZIP, 7Z, TAR, GZ, RAR
Best for: Choose Bandizip for a fast, user-friendly tool that efficiently handles LHA files with a modern interface.
Visit Bandizip →