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 compresses each archive member independently, applying LZSS dictionary matching followed by Huffman coding of the resulting literals and match references.[1] Several method identifiers, such as -lh5- and -lh7-, denote different dictionary sizes and encoding parameters, and each file entry records its own method, original size, and CRC for integrity checking.[2]

History

Haruyasu Yoshizaki released the tool in 1988, initially as LHarc; it was renamed through LHx and LHA partly to avoid clashing with the MS-DOS LH (load-high) command.[1] The format and source were placed in the public domain, which encouraged numerous independent implementations.[1]

Legacy and Limitations

LHA was widely adopted in Japan and on the Amiga, and the Amiga's installation disks historically used it.[1] Today it is largely historical, and the multiplicity of header levels and method variants means some old archives are best handled by tools specifically aware of the format's quirks.[2]

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 | FileFormer

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

Good ratios for its era | FileFormer

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

Cross-platform implementations | FileFormer

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

Compact and fast | FileFormer

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

Disadvantages

Largely obsolete | FileFormer

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

Security concerns | FileFormer

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

Limited modern tooling | FileFormer

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 | FileFormer

LZH remained widely used in Japan into the 2000s and persists in older Japanese software distributions.

Retro computing | FileFormer

Amiga and DOS software collections, including some game installers, were distributed as LHA archives.

Digital preservation | FileFormer

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

Frequently Asked Questions

What is the difference between LHA and LZH?

They refer to the same thing. LHA is the name of the utility, and .lzh and .lha are the common extensions for the archives it produces.

Who created LHA?

It was created in 1988 by Haruyasu Yoshizaki, a Japanese developer, originally under the name LHarc.

What compression does LHA use?

It combines LZSS, a variant of LZ77 dictionary compression, with Huffman coding.

Is LHA still safe to use?

It is best treated as a legacy format. Some older decompressors have known vulnerabilities, so caution is advised with untrusted archives.

Why was LHA popular in Japan?

It was free, well documented, and handled Japanese-language software distribution well, so it remained common there into the 2000s.

References

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