Compress XZ

Compress files to XZ format with high LZMA2 compression ratio.

or drop files here

Maximum file size: 500MB per file

Learn more about this tool

About XZ Compression

XZ is a modern compression format using the LZMA2 algorithm, offering some of the best compression ratios available. It is widely used in Linux package distribution (`.tar.xz`), software source archives, and large data transfers. Our tool uses WebAssembly for efficient browser-based compression.Before emailing a PDF, open the downloaded copy and check fine text at the intended viewing size. The tool can reduce image detail; its target size is not guaranteed. If forms, signatures or searchable text matter, keep the original PDF.

Frequently Asked Questions

What is XZ compression?

XZ is a compression format using the LZMA2 algorithm. It typically achieves the best compression ratios among common formats, making it ideal for distributing large files.

XZ vs GZIP vs BZ2 — which should I use?

XZ achieves the best compression but is the slowest. GZIP is the fastest but compresses less. BZ2 is in between. Choose XZ for maximum compression, GZIP for speed.

How much compression can I expect?

Text files can compress by 70-95% with XZ, typically 5-15% better than BZ2 and 15-30% better than GZIP.

Is this XZ compressor free?

Yes, completely free with no limits. Compress as many files as you need.

Create a ZIP archive

Bundle files without changing their contents. JPEG, MP4 and other compressed files may shrink very little in a ZIP.

There is no guaranteed saving or exact target for every file. If the result is larger, some tools return the original; compare its format and size before sharing. Before emailing a PDF, open the downloaded copy and check fine text at the intended viewing size. The tool can reduce image detail; its target size is not guaranteed. If forms, signatures or searchable text matter, keep the original PDF.

References & Resources

Authoritative specifications and references for the file formats this tool works with.

Compress and extract archives. Support ZIP, RAR, 7Z, TAR and more formats.