.LZH

LZH File

LHA / LZH Compressed Archive
Ask a question
QUICK ANSWER

An LZH file is a compressed archive created with LHA (formerly LHarc), a format that dominated software distribution in Japan and on the Amiga through the 1990s. On Windows, open it with 7-Zip or PeaZip; on macOS, use The Unarchiver or Keka; on Linux, use lhasa or p7zip. The format is legacy now - extract the contents and repack as ZIP or 7z for modern use.

Developer: Haruyasu Yoshizaki (Yoshi) - original LHarc/LHA; format later maintained by the community Category: Compressed Files Open standard MIME: application/x-lzh-compressed
OPENS ON Windows macOS Linux
Related: .RAR · .ZIP · .Z01 · .7Z

On this page

19k+ extensions indexed
Last reviewed Jul 6, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the LZH file format?

LZH files contain file archives compressed using LZSS (a Lempel-Ziv variant) combined with Huffman encoding, developed by Haruyasu Yoshizaki in 1988 under the name LHarc. This compression method lets users effectively conserve disk space, and the format became extremely popular in Japan and among Amiga users throughout the 1990s. The Japanese version of Windows 7 included a built-in tool for managing LZH files, while Windows XP offered one as an optional feature.

A single LZH archive can contain:

  • files of any format, including executable files,
  • folder structures,
  • stand-alone programs along with configuration files.

The .lha and .lzh extensions are interchangeable - they refer to the same format and tool lineage (LHarc → LHA). LZH archives may use various compression methods, defined in each file's header by a method tag such as -lh0- (store), -lh5-, -lh6-, or -lh7-. The -lh5- method was the most widely used and is still the one best supported by modern extractors.

LZH was once the dominant archive format for Japanese software distribution and the Amiga BBS scene. It is now considered legacy, having been superseded by ZIP, 7z, and RAR for general-purpose archiving. Native encryption is not supported; a CRC-16 checksum in each file's header allows integrity verification on extraction.

Security & safety

RISK: MEDIUM

LZH archives carry no native encryption and can hold any payload, so treat an unsolicited .lzh like any unknown archive - scan it before extracting and don't run unknown executables from old downloads. A specific historical concern: the widely-used Windows UNLHA32.DLL decompressor had security vulnerabilities, which led Japan's IPA to recommend retiring LZH for new use. Use a current extractor (7-Zip, PeaZip, lhasa) rather than ancient LHA tools.

Format details

in a nutshell
FULL NAMELHA / LZH Compressed Archiveaka LHarc archive, LHA archive
DEVELOPERHaruyasu Yoshizaki (Yoshi) - original LHarc/LHA; format later maintained by the communitysince 1988 (LHarc); LHA/LZH widely used through the 1990s
MIME TYPEapplication/x-lzh-compressed
TYPECompressed archive (LZSS + Huffman coding)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
020304
HEX
2D6C68
ASCII
-lh
An LZH/LHA header begins with a method tag like "-lh0-", "-lh5-", "-lh7-" or "-lz5-" starting at byte offset 2 (bytes 0-1 are the header size and checksum). The "-lh"/"-lz" marker at offset 2 is the reliable identifier; the digit after "-lh" indicates the compression method.

Programs that open LZH files

Windows3 apps
WinRAR Paid Double-click the archive and Extract. WinRAR lists LZH/LHA among supported formats.
7-Zip Open-source Right-click the .lzh > 7-Zip > Extract Here. 7-Zip reads LZH/LHA natively.
PeaZip Open-source Open the .lzh and click Extract. Free, no bundled adware.
macOS2 apps
The Unarchiver Free Set The Unarchiver as the opener and double-click the .lzh to extract. Handles LZH/LHA and many legacy formats.
Keka Free Drag the .lzh onto Keka to extract; modern, actively maintained macOS archiver.
Linux2 apps
lhasa / lha Open-source Install lhasa (a maintained LHA implementation), then 'lha x file.lzh' or 'lhasa x file.lzh'.
PeaZip / p7zip Open-source PeaZip GUI or '7z x file.lzh' on the command line extracts LZH archives.

Technical details

deep spec
Compression algorithmLZSS (dictionary-based Lempel-Ziv variant) combined with static or adaptive Huffman coding
Compression methods-lh0- (store/uncompressed), -lh1-, -lh4-, -lh5-, -lh6-, -lh7-; the method tag is stored in each file's individual header
File signatureMethod tag bytes at offset 2 (e.g., -lh or -lz); bytes 0-1 are the header size and checksum - the signature is not at offset 0
EncodingBinary, little-endian
Per-file header structureContains method tag, original and compressed size, CRC-16 checksum, modification timestamp, and filename
Header levelsLevel 0, 1, and 2 (and 3) - define the layout of header fields and maximum filename length
IntegrityCRC-16 per archived file stored in its header; most extraction tools verify the checksum on decompression
EncryptionNone - LZH has no native encryption; archives cannot be password-protected
MIME typeapplication/x-lzh-compressed
Interchangeable extensions.lzh and .lha refer to the same format and tool lineage; both extensions are in common use
Typical archive sizeA few KB to tens of MB; reflects 1990s software distribution for Japanese shareware and Amiga BBS distributions
Platform originMS-DOS and PC-98 (Japan); also heavily used on Amiga and Sharp X68000; extractors now available on all major operating systems
Entry limitNo fixed hard limit per archive; bounded by 32-bit offset fields in older header levels, which constrain individual file sizes
Most widely used method-lh5- (14-bit sliding window, adaptive Huffman) - the de-facto standard method and the one best supported by modern extractors
Released1988 (LHarc); LHA/LZH widely used through the 1990s
Latest versionLHA 2.x method set (-lh5-/-lh6-/-lh7-); format frozen, no active development
Open standardYes · royalty-free
Specificationweb.archive.org

LZH conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with LZH files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about LZH files.

Frequently asked questions

What is an LZH file?
A compressed archive made with the LHA/LHarc tool, popular in Japan and on the Amiga in the 1990s. .lzh and .lha are the same format. It's now legacy - open it to extract the files, then use ZIP/7z going forward.
How do I open an .lzh file on Windows?
Use 7-Zip or PeaZip (both free): right-click the file and choose Extract. WinRAR also supports it. There's no need for the original LHA tool.
How do I open .lzh on a Mac?
Install The Unarchiver or Keka (both free), set it as the opener, and double-click the .lzh to extract its contents.
Is .lzh the same as .lha?
Yes - they're the same LHA archive format and tool lineage. The two extensions are interchangeable; some platforms favored .lha (Amiga) and others .lzh (DOS/Japan).
Are LZH files safe to open?
The format is passive, but old LZH decompressors (notably UNLHA32 on Windows) had vulnerabilities, so use a modern extractor like 7-Zip and scan unknown archives before opening. Don't run unfamiliar executables from vintage downloads.
How do I convert LZH to ZIP?
Extract the .lzh with 7-Zip/PeaZip/The Unarchiver, then add the extracted files to a new ZIP. There's no one-click transcode - it's extract, then recompress.

References

1Library of Congress - LHA/LZH (LZH) archive formatwww.loc.gov
2Lhasa - maintained LHA/LZH decompressor (Simon Howard)fragglet.github.io

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.RARRAR Archive (Roshal ARchive)
.ZIPZIP Archive
.Z01Split ZIP Archive - First Part
.7Z7-Zip Archive
.001Split / multi-volume archive - first part (.001)
.ZIRenamed / Truncated ZIP Archive

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z