From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s) Apple
Initial release 2015
Stable release
lzfse-1.0 / 8 May 2017; 14 months ago (2017-05-08)
Repository lzfse on GitHub
Written in C
Operating system macOS, iOS
Available in C
Type Data compression
License 3-clause New BSD License

LZFSE (Lempel–Ziv Finite State Entropy) is an open source lossless data compression algorithm created by Apple Inc.[1]


The name is an acronym for Lempel–Ziv + Finite State Entropy[2] (implementation of asymmetric numeral systems). LZFSE was introduced by Apple at its Worldwide Developer Conference (WWDC) 2015. It shipped with that year's iOS 9 and OS X 10.11 releases.

Apple claims that LZFSE compresses with a ratio comparable to that of zlib (DEFLATE) and decompresses 2–3x faster while using fewer resources, therefore offering higher energy efficiency. It was aimed for scenarios where decompression speed and rate should be prioritised equally.[2] Part of this energy efficiency was achieved by optimising the algorithm for modern micro-architectures, specifically focusing on arm64.[3]


A reference C library written by Eric Bainville was made available as open source after WWDC 2016.[4]

See also[edit]


  1. ^ Apple Inc. "Data Compression - Compression | Apple Developer Documentation". developer.apple.com. Retrieved 2017-04-07. 
  2. ^ a b De Simone, Sergio. "Apple Open-Sources its New Compression Algorithm LZFSE". infoq. Retrieved 2016-07-07. 
  3. ^ Apple Inc. (2015-06-12). "Low Energy, High Performance: Compression and Accelerate - WWDC 2015 - Apple Developer Videos". developer.apple.com. Retrieved 2017-03-05.  pdf
  4. ^ Bainville, Eric (2016-06-07). "LZFSE compression library and command line tool". GitHub. Retrieved 2016-07-04. 

External links[edit]