What is LHA? LZH Compression and Archive Format Explained

LHA (also called LZH) is a freeware archive format created by Haruyasu Yoshizaki in 1988, combining LZSS and Huffman coding, long popular in Japan.

Free online file converter tool. Works in Chrome Firefox Safari Edge Opera and other modern browsers on Windows macOS Linux Android and iOS. No software installation or sign-up required. All conversions run directly in your browser, so your files never leave your device. Free to use with no account needed.

Archive

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:

Year Created1988
CompressionArchive / compression
Primary UseLegacy file compression

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

DeveloperHaruyasu Yoshizaki[1]
File Extension.lzh, .lha[1]
MIME Typeapplication/x-lzh-compressed[1]
Released1988[1]
TypeCompressed archive[1]

LHA vs Other Archive Formats

FeatureLHAZIPRAR
Compression algorithmLZSS + Huffman[1]DEFLATEProprietary
Open/proprietaryOpen / freeware[2]OpenProprietary
EraLate 1980s[1]19891993
Current useLegacyWidespreadCommon
Best forRetro / Amiga filesGeneral sharingMulti-volume archives

LHA is now largely legacy, while ZIP and RAR remain in active everyday use.

Advantages & Disadvantages

Advantages

Free and open

LHA was released as freeware with documented internals, encouraging wide adoption and reimplementation.

Good ratios for its era

Its LZSS plus Huffman approach delivered competitive compression on 1980s and 1990s hardware.

Cross-platform implementations

Versions and clones exist for DOS, Amiga, Unix, and other systems.

Compact and fast

The utility was lightweight enough to run well on the limited machines of its time.

Disadvantages

Largely obsolete

It has been displaced by ZIP, 7z, and other formats outside of legacy and archival contexts.

Security concerns

Older LHA decompressors have a history of vulnerabilities, and the format is no longer actively maintained.

Limited modern tooling

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 Free

How 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

Windows, macOS, LinuxFree (GPL)

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.

Key features
  • High compression ratio for LHA files
  • Supports multiple archive formats
  • File encryption with AES-256
  • Command line version for automation
  • Integration with Windows Explorer
Strengths
  • Completely free with no ads
  • Robust compression capabilities
  • Widely trusted and used
Limitations
  • 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

Windows, macOS, LinuxFree trial / One-time $29.00

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.

Key features
  • Create LHA archives with ease
  • Repair damaged archives
  • Multi-volume archive support
  • Advanced compression settings
  • Integration with Windows context menu
Strengths
  • Robust feature set for file management
  • Excellent compression algorithms
  • User-friendly interface
Limitations
  • 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

Windows, LinuxFree (GPL)

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.

Key features
  • Multi-format archive support
  • Secure file deletion options
  • Batch processing capabilities
  • Customizable user interface
  • File encryption and password protection
Strengths
  • Open-source and regularly updated
  • User-friendly with customization options
  • Strong security features
Limitations
  • 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

Windows, macOSFree / Paid

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.

Key features
  • High-speed compression and extraction
  • Multi-core compression support
  • Drag-and-drop functionality
  • Context menu integration
  • Password protection for archives
Strengths
  • Fast performance with large files
  • Modern and intuitive interface
  • Supports a wide range of formats
Limitations
  • 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 →

References

  1. LHA (file format) - Wikipedia
  2. LHA - Just Solve the File Format Problem