Extract LZH, 7z, RAR and ZIP Files Free

Windows 11 and macOS cannot open .lzh, and Windows 11 (24H2) opens 7z and RAR but not password-protected ones. This page extracts them all free, with nothing to install. ZIPs whose Japanese file names come out as 縺ッ縺セ are read with the right encoding. Everything runs in your browser; your files and passwords never leave your device.

Your files stay safe — processed entirely in your browser. Nothing is uploaded.

Drop an LZH, ZIP, 7z or RAR here

or click to choose — .lzh / .lha / .zip / .7z / .rar, with or without a password

Extracted in your browser; nothing is uploaded.


What LZH is, and why Windows stopped opening it

LZH (.lzh / .lha) was the standard archive format in Japan through the 1990s and 2000s, and it still turns up: downloads from public offices, older business partners, old CD-ROMs. Japanese editions of Windows 7 through Windows 10 (up to the 2016 Anniversary Update, version 1607) opened it out of the box; the 2017 Creators Update (version 1703) removed that, so on Windows 10 / 11 today a double-click only asks which app to use. macOS never opened it natively.

The author of UNLHA32.DLL, the library behind most Windows LZH tools, announced its end in 2010 and asked people to stop using the format, so new LZH files are rare. The ones that arrive still have to be opened. This page extracts them in your browser and lets you save the files as they are, or repack them into a ZIP that opens on Windows and macOS alike.

It opens 7z and RAR as well, and archives with a password: ZIP (AES-256 or the older ZipCrypto), 7z and RAR. Windows 11 version 24H2 extracts 7z and RAR in File Explorer, but Microsoft says it does not handle encrypted archives and points to 7-Zip or WinRAR; here you type the password and the files come out, with nothing to install.

1

Drop the file

Choose a .lzh / .lha, .7z, .rar or .zip. The listing (names, sizes, dates) appears at once; nothing is extracted yet. If the archive has a password, you are asked for it first.

2

Check the file names

LZH names are read as Shift_JIS, and 7z and RAR names as the archive records them. For ZIPs the encoding is detected; if names still look wrong, pick another from the list and they are re-read.

3

Save what you need

Save files one at a time, or use "Save all as ZIP". The ZIP records its names as UTF-8, so they read correctly on Windows and macOS.

4

The original stays as it is

Everything happens in the browser and the archive is not modified; neither the file nor its password is sent anywhere. The files you save carry no password. Old LZH methods such as -lh1- and archives split into parts (.part1.rar, .7z.001) are not supported.

The LZH extractor after an archive is dropped: the Japanese file names are listed correctly, with sizes, dates and save buttons.
Screenshot Japanese file names come out intact. Save them one by one or all at once.

Desktop tools open these too: 7-Zip, Lhaplus or Explzh for LZH on Windows, 7-Zip for 7z and RAR, The Unarchiver on macOS. But on a locked-down work PC, on a Mac or iPad, or when you only want to look inside one file, the browser is quicker.

Making a password-protected ZIP to send instead? That works in the browser too: Password-Protect a ZIP


How this extractor works

The LZH decoder is written for this site. The existing browser option, libarchive compiled to WebAssembly, can decompress LZH but silently drops every entry whose name is not valid UTF-8 — which is every Japanese archive, since LHA wrote names in Shift_JIS.

7z and RAR are opened by 7-Zip itself, compiled to WebAssembly, and password-protected ZIPs by zip.js; both run on your device, like the LZH decoder.

Three header generations
LZH headers come in levels 0, 1 and 2, written differently by DOS-era LHA, LHa for UNIX, and Windows tools such as Explzh and LHMelt. Extended headers (directory names, Unix timestamps, Windows FILETIME) are read too. Archives from five real implementations are used to check this.
Decoding -lh5- to -lh7-
LZSS (8 KB, 32 KB or 64 KB dictionary) with static Huffman blocks, the algorithm from Haruhiko Okumura's LHA. It fits in a few hundred lines, and every extracted file is checked against its CRC-16.
Names are Shift_JIS
LHA wrote names in Shift_JIS with 0xFF as the directory separator. They are decoded with the browser's Shift_JIS decoder and the separators turned into slashes, taking care not to split on a 0x5C (backslash) that is the second byte of a kanji.
Guessing ZIP name encodings
ZIP records no encoding for names (a flag marks UTF-8, nothing else). Unflagged names are decoded strictly as Shift_JIS, EUC-JP, UTF-8, GBK, Big5, EUC-KR and Windows-1252; whichever decodes cleanly and reads most like real text wins.
Repacking
"Save all as ZIP" writes the extracted files into a new ZIP with UTF-8 names and the UTF-8 flag set. Current Windows, macOS and Linux all honour the flag, so the names read correctly anywhere. Dates are kept.
7z and RAR: 7-Zip in the browser
7-Zip 24.09 compiled to WebAssembly (the 7z-wasm package) reads 7z, RAR 4 and RAR 5 in a background worker, so a long extraction does not freeze the page and "Clear" stops it. It is about 1.7 MB, fetched only when you drop a 7z or RAR. "Save all as ZIP" extracts the whole archive in one pass, since 7z and RAR usually compress everything as one block. Its RAR code comes from unRAR and may not be used to develop a RAR-compatible archiver; nothing here creates RAR files. 7-Zip (© Igor Pavlov): license (GNU LGPL + unRAR restriction)
Password-protected ZIP
zip.js reads WinZip AES (the AES-256 that Japanese archivers offer) and the older ZipCrypto. Before the listing appears, the smallest encrypted file is decrypted completely and its CRC checked, because ZipCrypto's own check lets about one wrong password in 256 through. A password typed in Japanese is tried as UTF-8 and then as Shift_JIS, which Japanese Windows tools use. Names are decoded the same way as for any other ZIP, so a Shift_JIS archive reads correctly. zip.js license (BSD 3-Clause)

Not supported

LZH header level 3 and old methods such as -lh1-, -lh4-, -lzs- and -lz5- are listed but cannot be extracted. Archives split into parts (.part1.rar, .7z.001, .z01) and self-extracting .exe files do not open. Symbolic links inside a 7z or RAR are listed but not extracted, and an old RAR that stored Japanese names without Unicode shows them garbled and may not extract them. Files up to 200 MB, and a 7z or RAR up to 1 GB once extracted; extracting a large archive can take tens of seconds.

Frequently asked questions

What is the difference between LZH and ZIP?
Both bundle and compress files, and the compression is similar (LZSS plus Huffman coding). The difference is where they spread: LZH was created in Japan and used there; ZIP is used everywhere and is built into Windows and macOS. Anything new should be a ZIP.
How do I open .lzh on Windows 11?
Not natively. Drop it here, or install 7-Zip (free), Lhaplus or Explzh. Japanese editions of Windows 7 through Windows 10 version 1607 could extract LZH out of the box; version 1703 (the 2017 Creators Update) removed it. XP and Vista needed Microsoft's free "LZH compressed folder" add-on.
How do I open .lzh on a Mac?
Archive Utility does not support it. Drop the file here, or install The Unarchiver (free).
I heard LZH is dangerous.
In 2010 the author of UNLHA32.DLL, the library most Windows tools used, ended development and asked people to stop using LZH, because crafted headers could slip past antivirus scanners. Extracting a file you received is not dangerous in itself as long as you do not run what is inside. Do not distribute new files as LZH; use ZIP.
The file names are garbled.
ZIP does not record the encoding of its names, so an archive made on one system garbles on another. Switch "File name encoding" and the names are re-read: ZIPs from Japanese Windows use Shift_JIS, ZIPs from a Mac use UTF-8. "Save all as ZIP" writes a new ZIP with UTF-8 names that read correctly everywhere.
Is my file sent anywhere?
No. Extraction and repacking both run inside your browser. Neither the contents, the file names nor a password is ever sent to a server. For 7z and RAR the page downloads 7-Zip (about 1.7 MB) from this site the first time; the archive itself stays on your device.
Can it open a password-protected ZIP, 7z or RAR?
Yes. Type the password when asked; it is used only in your browser and is neither sent nor saved. ZIPs encrypted with AES-256 or the older ZipCrypto open, and so do 7z and RAR (RAR 4 and RAR 5), including archives that hide their file names until the password is entered. This page cannot recover a forgotten password.
How do I open 7z or RAR on Windows 11 or a Mac?
Windows 11 version 24H2 extracts 7z and RAR in File Explorer, but not password-protected ones; Microsoft suggests 7-Zip or WinRAR for those. On a Mac, The Unarchiver (free) opens both. Or drop the file here: it opens in the browser, password or not, with nothing to install.
Which LZH archives open?
Methods -lh0-, -lh5-, -lh6- and -lh7-, which covers almost every LZH ever made in Japan. Header level 3 and older methods such as -lh1- are listed but cannot be extracted.