emCompress
Highly efficient embedded compression libraries
- Compresses and decompresses data even on resource-constrained microcontrollers
- Multiple optimized editions for different compression applications and workflows
- ANSI C implementation without open-source attribution requirements for commercial products

Key features

Efficient memory usage
Reduce storage requirements with efficient compression of firmware, images, and other application data. Make better use of available memory while keeping data readily accessible.

Faster data transmission
Reduce the amount of data transferred to accelerate firmware updates and communication. This is particularly beneficial for embedded systems using bandwidth-limited connections.

Optimized for embedded systems
Designed for resource-constrained microcontrollers, emCompress provides compact compression and decompression implementations with configurable memory requirements. This helps developers integrate efficient data compression even in systems with limited resources.
Use cases
To cover all conceivable use cases, SEGGER has developed four different editions of emCompress. Simply select your use case and see at a glance which emCompress edition fits it perfectly. In addition, you find a summary of all properties and use cases in the table below.

Firmware compression and updates
Reduce firmware image sizes to save storage space and accelerate updates over bandwidth-limited connections. emCompress supports efficient compression and decompression for embedded firmware workflows.

Embedded data and asset storage
Compress static data such as images, fonts, web content, and FPGA configuration bitstreams to reduce storage requirements in embedded devices.

Data communication and logging
Compress data streams and recorded information to reduce network traffic and save storage capacity. Make efficient use of available bandwidth in IoT and industrial applications, even when connectivity is limited or intermittent.
Editions
emCompress is available in four editions, each designed to meet different requirements and application needs. Explore the editions to find the right solution for your embedded project.
| emCompress-Pro | emCompress-ToGo | emCompress-Embed | emCompress-LZMA | |
|---|---|---|---|---|
| Product features | ||||
| On-target compression | [1] | |||
| On-target decompression | ||||
| Decompress static data | ||||
| Decompress files & streams | ||||
| Available algorithms | DEFLATE, LZMA, SMASH-2, LZPJ | SMASH-2 | DEFLATE, Huffman Encoding, LZW, LZSS, LZJU90, RLE-PAR | LZMA |
| Applications | Firmware updates, asset storage, external data transfer | Data loggers, Bluetooth devices, avionics and space technology, satellites | Reducing firmware size, storing configuration bitstreams, minimizing interface assets | Firmware updates |
| Included components | ||||
| Compression utilities | ||||
| Decompression utilities | ||||
| Compressor source code | ||||
| Decompressor source code | ||||
| Compressor object code library | ||||
| Compressor and decompressor Java class | ||||
Media gallery
emCompress - ToGo
Discover emCompress and its capabilities in embedded applications.
emCompress-Embed demo
See how emCompress-Embed is integrated and used in an example application.

Licensing
The software is available under various embedded software license models and can be delivered as source code. All commercial licenses are based on a one-time payment, are royalty-free, and include six months of updates and support from SEGGER’s Embedded Experts.
There are no subscription fees, ensuring predictable and fixed costs over the entire product lifetime.
For non-commercial use, evaluation, and educational purposes, the software is provided under SEGGER’s Friendly License.
FAQs
What is emCompress and what is it used for?
emCompress is a family of embedded compression libraries that reduce data size for storage and transmission. Typical applications include firmware updates, data logging, and embedded asset storage.
Which emCompress edition should I choose?
The four editions address different requirements: emCompress-Pro for general-purpose compression, emCompress-ToGo for real-time data streams, emCompress-Embed for static data embedded in firmware, and emCompress-LZMA for highly compressed data with decompression on the target.
Does emCompress run on resource-constrained microcontrollers?
Yes. emCompress is optimized for embedded systems, offering efficient compression and decompression with a small memory footprint.
Which compression algorithms does emCompress support?
Depending on the edition, emCompress supports algorithms such as DEFLATE, LZMA, SMASH-2, LZW, LZSS, Huffman Encoding, and RLE-PAR.
Can emCompress be used in commercial products?
Yes. emCompress is provided as ANSI C source code and can be integrated into commercial and proprietary products without requiring disclosure of the application's source code.
Is emCompress royalty-free?
Yes. emCompress is licensed with a one-time payment and does not require recurring subscription fees or per-unit royalties.
Related content
Get in touch with us
Have questions or need assistance? Our Embedded Experts are here to help!
Reach out to us for:
- Licensing quotes
- Technical inquiries
- Project support