How to Open and Make .xz, .zst, .lz4 and .lzma Files Without Installing Anything
Tarballs ending in .tar.xz or .tar.zst do not open on Windows or phones. Learn what these formats are and how to extract or make them in a browser.

How to Open and Make .xz, .zst, .lz4 and .lzma Files Without Installing Anything
You download a release of a program, a database dump or a backup and the name ends in .tar.xz, .tar.zst or .lz4. Double-clicking does nothing useful on Windows, and most phones refuse it outright. These are not exotic formats: they are the standard way Linux distributions, open-source projects and many servers ship data. This guide explains what each one is and shows how to open or create them with the free XZ, LZ4, Zstandard and LZMA File Extractor and Compressor, which runs entirely in your browser.
Two layers: tar and the compressor
A file such as project.tar.xz has two layers. The inner layer is tar, an old Unix format that glues many files and folders into one stream while keeping names, permissions, owners and dates. Tar does not compress anything. The outer layer is the compressor, which squeezes that single stream. ZIP does both jobs at once and compresses each file separately; tar plus a compressor treats the whole collection as one long stream, which usually gives smaller results because repeated content across files is found.
The tool removes the outer layer first and, if what remains is a tar archive, lists every file inside straight away.
The four formats in plain words
XZ uses the LZMA2 method, the same family as 7-Zip. It produces the smallest files of the group and stores a CRC64 checksum so damage is detected. It is slow to compress but quick enough to decompress, which is why it is popular for software releases that are packed once and downloaded many times.
LZMA (.lzma or .tlz) is the older single-stream form of the same method, without a container or checksum. You meet it in old projects and some firmware.
LZ4 is built for speed. It compresses and decompresses many times faster than XZ, at the cost of larger files. Log archives, game assets and temporary caches use it.
Zstandard (.zst), created at Facebook and published as RFC 8878, offers a wide range of levels: low levels are nearly as fast as LZ4, high levels come close to XZ. Arch Linux, Fedora and Ubuntu packages and many databases now use it.
Opening a file
Drop the file on the Open and extract tab. The tool reads the first bytes to identify the format, so a file with a wrong or missing extension still works. It then shows:
- the format and technical details, such as the number of XZ blocks or whether LZ4 blocks are linked
- the compressed and original sizes and the ratio
- whether the stored checksum matches, which tells you the download is complete and undamaged
For a tarball you get a list of every entry with size, permissions, owner and date. Search it, sort by size to find what takes space, and press View to read a text file or see an image. Press Save for a single file, or tick several and download them as one ZIP that Windows and macOS open natively. If another program wants the plain .tar, save that instead.
Everything happens in the tab. The only network request is for Zstandard: two small open-source libraries, a 9 KB decoder and a 260 KB WebAssembly encoder, load from a public CDN the first time you work with a .zst file. Your data is not sent anywhere.
Making compressed files
Switch to the Compress tab and add files. One file is compressed on its own; several are packed into a tar first so folder structure and dates are kept. Then choose:
- Format: XZ for the smallest download, Zstandard for a balance of speed and size, LZ4 when speed matters most, gzip for maximum compatibility
- Level: higher is smaller and slower; the slider maps to zstd levels 1 to 19 for Zstandard
- Checksum: CRC64 (the xz default) or CRC32 for XZ, xxHash32 on or off for LZ4
Press Compress. The results table keeps the last eight runs with size, ratio and time, so you can try XZ level 6 against Zstandard and LZ4 on the same input and keep the one that suits you. The files open with xz, unxz, zstd, lz4, tar and 7-Zip.
How good is the compression?
The XZ and LZ4 coders here are written from the published format documents and tested against the reference tools. The XZ encoder uses a fast greedy and lazy match search rather than xz's slower optimal parser, so its files are typically 10 to 25 percent larger than xz -6 makes, while any xz tool can read them. Zstandard compression uses the official library compiled to WebAssembly, so its output is the same as the command-line zstd at the same level.
Things to know
The whole file is held in memory, so very large archives, above roughly 1.5 GB, can fail on phones and tablets. A few rare variants are not supported: bzip2 files, XZ files made with BCJ branch filters for executables and Zstandard files that need a separate dictionary. The tool reports these clearly rather than producing a broken result. Symbolic links inside a tar are listed but cannot be saved as links on most systems.
For RAR and 7z archives use the site's separate extractors; for everything in the xz, zst, lz4 and lzma family, this one page covers opening, checking and creating.



