About LZMA Files
LZMA Compressed
LZMA (Lempel-Ziv-Markov chain Algorithm) is a high-ratio compression algorithm developed by Igor Pavlov for the 7-Zip archiver. It achieves significantly better compression than gzip or bzip2, especially on text and binary data, at the cost of higher memory usage.
Family
Archives & Compressed
Extension
.lzma
MIME Type
application/x-lzma
Can Use As
HOW LZMA
CAME TO BE.
LZMA — Lempel-Ziv-Markov chain Algorithm — was published in 1998 by Russian programmer Igor Pavlov inside his 7-Zip archiver. The algorithm combines dictionary-based compression (descended from LZ77) with range coding and a Markov model for context prediction. At its highest settings LZMA achieves compression ratios that beat gzip by 30% and bzip2 by 10-15% at comparable quality levels, if with substantially higher CPU and memory demands.
LZMA is the core compression behind 7z archives, the xz format, and indirectly the `lzip` tool. Pavlov released the LZMA SDK in 2001 under public domain, triggering broad adoption: every Linux distribution shipped lzma/xz in userland; Android ships lzma decoders in the system image; Debian switched from bzip2 to xz for package compression. In 2026 LZMA variants remain the tool of choice when you need maximum compression with stable, production-proven tooling.
CURIOSITIES &
TRIVIA.
LZMA's core algorithm powers 7-Zip, xz, .tar.xz, most modern Linux distros' kernel and package compression, and Debian's .deb payloads.
Igor Pavlov released LZMA SDK into the public domain in 2001 — one of the most consequential gifts to open-source compression.
The 2024 XZ backdoor (CVE-2024-3094) targeted xz-utils specifically, not the underlying LZMA algorithm — Igor Pavlov's code was intact.
LZMA uses adaptive range coding — the same math technique that underpins modern AI compression research.
LZMA2 (xz's actual algorithm) is a multi-threaded improvement over LZMA, designed to utilize modern multi-core CPUs.
STRENGTHS &
LIMITATIONS.
Strengths
- Highest-ratio mainstream compression (beats gzip by 30%).
- Public domain SDK — royalty-free.
- Mature since 1998 with no breaking changes.
- Core of 7z, xz, .tar.xz workflows.
- Multi-threaded LZMA2 scales across CPU cores.
Limitations
- Slow compression at highest settings.
- Memory-hungry — 1 GB+ for extreme compression levels.
- Zstandard matches its ratios at less memory cost.
- Raw .lzma files are rare — usually wrapped in .7z, .xz, or .tar.xz.
Typical Sizes & Weights
Text/source archive
15-25% of original
Linux kernel source (.tar.xz = LZMA2)
~125 MB
Windows system backup (.lzma)
25-40% of original
Technical Specifications
- MIME type
- application/x-lzma
- Extensions
- .lzma, .lz
- Algorithm
- Lempel-Ziv-Markov chain + range coding
- Public domain SDK
- Yes (since 2001)
- Variants
- LZMA (original), LZMA2 (multi-threaded, used in xz)
CONVERT FROM
LZMA
Common Use Cases
High-ratio single-file compression, 7-Zip ecosystem, embedded firmware
Related Formats
Popular comparisons
LZMA vs ZIP
Differences, file size, and when to choose each format.
LZMA vs 7Z
Differences, file size, and when to choose each format.
LZMA vs TAR
Differences, file size, and when to choose each format.
LZMA vs GZ
Differences, file size, and when to choose each format.
LZMA vs BZ2
Differences, file size, and when to choose each format.
LZMA vs XZ
Differences, file size, and when to choose each format.
Popular LZMA conversions
The most-requested destinations when starting from LZMA.
Frequently Asked Questions about LZMA
Frequently Asked Questions
LZMA (LZMA Compressed) is an archive format used to bundle multiple files and folders into a single compressed file. The archive preserves the directory structure and typically reduces total size via compression. LZMA sits in the archives & compressed family and has specific strengths around compression ratio, speed, or platform support.
7-Zip, WinRAR, The Unarchiver (macOS), and the built-in archive utilities on Windows and macOS open most LZMA files. For command-line extraction, 7z, unar, or the format-specific tool handles LZMA cleanly. If your extractor does not recognise LZMA, convert to ZIP first — ZIP opens on every operating system without extra software.
Upload the LZMA to KaijuConverter and pick ZIP, 7Z, TAR.GZ, or RAR as the target. Our pipeline extracts the original archive and re-compresses the contents into the target format. File permissions, timestamps, and directory structure are preserved where both formats support them.
Depends on the goal. ZIP is the universal baseline — every OS extracts it out of the box. Formats like 7Z or TAR.GZ compress better but require specific tools. LZMA may win on compression ratio, password support, or OS integration for specific workflows; ZIP wins on raw compatibility.