Software Alternatives & Reviews

XZ Utils VS LZ4

Compare XZ Utils VS LZ4 and see what are their differences

XZ Utils logo XZ Utils

XZ Utils is free general-purpose data compression software with high compression ratio.

LZ4 logo LZ4

Lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with...
  • XZ Utils Landing page
    Landing page //
    2023-10-19
  • LZ4 Landing page
    Landing page //
    2021-10-03

XZ Utils videos

No XZ Utils videos yet. You could help us improve this page by suggesting one.

+ Add video

LZ4 videos

Differance between a LZ9 3900 and LZ4 3500 plenum

More videos:

  • Review - Lüm-Tec Lumzilla LZ4

Category Popularity

0-100% (relative to XZ Utils and LZ4)
Archive Manager
31 31%
69% 69
Archiver
28 28%
72% 72
Data Compression
28 28%
72% 72
HR
51 51%
49% 49

User comments

Share your experience with using XZ Utils and LZ4. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, LZ4 should be more popular than XZ Utils. It has been mentiond 7 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

XZ Utils mentions (3)

  • Linux masterrace in a nutshell
    You're having a breakdown. Relax. I'm just trying to have a conversation with you. Nothing personal to get emotional. Here are some resources. For tar, for gz, for xz, for webp, for 7z, for zstd, etc. But, some file extensions were developed for POSIX-like system and how do you expect them to work on windows 10 natively? Thankfully, the community has made it work even tho. It's like me crying over "can you run... Source: over 2 years ago
  • Searching Compressed Space
    Thank you for the links but the https://tukaani.org/xz/ link essentially sent me back to python's lmza module and a slightly different lzmaffi library both of which don't seem to have options for reading the dictionary. I do understand this is low-level stuff coded in C/C++ but I wondered if any one made the abstraction to read this data also. Maybe I'll need to make a "script" to read this data... 😑️ this is... Source: almost 3 years ago
  • Searching Compressed Space
    These libraries are themselves wrappers of low-level libraries, primarily for performance considerations (as they are almost always coded in C). If you really want to dig into the structure of those formats, you should rather investigate the possibilities of these low-level libraries. Like https://tukaani.org/xz/ for xz/lzma, or https://zlib.net/ for lzw. Source: almost 3 years ago

LZ4 mentions (7)

  • Quite OK Image is now my favorite asset format
    LZ4[1] intentionally compresses worse than Deflate—where Deflate is LZ77 with Huffman, LZ4 is just LZ77. It’s “we’re saturating Gigabit Ethernet and have some compute left over” compression, not “we need to squeeze our backups as much as possible” compression. If filtering+LZ4 does better than Deflate, then you’ve chosen the filter well. Curiously, for some kinds of binary serialization a good filter in... - Source: Hacker News / over 1 year ago
  • Stretch iPhone to Its Limit: 2GiB Stable Diffusion Model Runs Locally on Device
    It doesn't destroy performance for the simple reason that nowadays memory access has higher latency than pure compute. If you need to use compute to produce some data to be stored in memory, your overall throughput could very well be faster than without compression. There have been a large amount of innovation on fast compression in recent years. Traditional compression tools like gzip or xz are geared towards... - Source: Hacker News / over 1 year ago
  • Postgres Insider Terminology
    Just looked it up [1] > LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per core (>0.15 Bytes/cycle). It features an extremely fast decoder, with speed in multiple GB/s per core (~1 Byte/cycle). [1]: https://lz4.github.io/lz4/. - Source: Hacker News / over 1 year ago
  • Downloadable Planet, Europe and Netherlands MBTiles frequently updated
    Planet: weekly As you can see the planet file has the LZ4 extension, this is a compression-algorithm which a very good speed/size ratio and reduces the size with about 20-25 GB. It. Source: almost 2 years ago
  • F2FS compression performance impact
    I found this interesting dataLZ4 HC (r101) -9) increases transfer speed by about 22%, while only losing a 10% performance on decompression. That's a 12% performance increase overall, not bad! Source: about 2 years ago
View more

What are some alternatives?

When comparing XZ Utils and LZ4, you can also consider the following products

7-Zip ZS - A fork of 7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard

The Unarchiver - Get the top application for archives on Mac. It's a RAR extractor, it allows you to unzip files, and works with dozens of other formats.

RAR - RAR is a smartphone application by the leading RAR file compressor and decompressor WinRAR.

gzip - GNU Gzip is a software application used for file compression and decompression.

WinZip - The world's best file compressor in the world.

DAR - Disk Archive Home Page