Skip to main content
🇪🇸 Español 🇧🇷 Português 🇩🇪 Deutsch 🇫🇷 Français 🇯🇵 日本語 🇮🇹 Italiano 🇮🇩 Bahasa Indonesia 🇹🇷 Türkçe 🇰🇷 한국어 🇵🇱 Polski 🇳🇱 Nederlands
Image Converter Document Converter Video Converter Audio Converter
Tools Formats (201) Guides Pricing · ⚡ 4,99 € API
Log In
XZ file .xz
File format · Released 2009 · By Lasse Collin

About XZ Files

XZ Compressed

XZ provides very high compression ratio using LZMA2, common in Linux packages.

Family

Archives & Compressed

Extension

.xz

MIME Type

application/x-xz

Can Use As

Input Output
● Hex Magic-Bytes Signature (Offset 0x00) Archives & Compressed Binary/Text Stream
58 5A 46 4D 00 01 00 00 4B 41 49 4A ASCII: XZFM....KAIJ
WASM + ISO-27001 HYBRID ENGINE
→
📏 Physical Size (CM / MM / Inch → 300 DPI Pixels)
Passport & ID Presets:

📈 Target Minimum File Size (Guaranteed ≥ KB)

Lossless JPEG Q100 + standard COM segment padding for government & exam portals

Tap to choose your file

QUICK INGEST:
Max 25 MB · Free plan · No signup required

Convert to:

Detecting available formats...

Target Max File Size:

Optimize for:
⚡ Instant In-Browser • 100% Private (0s)

Uploading...

⚡ Converted locally in your browser (0ms upload)

READY!

Advertisement
Original preview
Converted preview

🛡️ Verification Audit

  • ✓
  • ✓ sRGB Color Fidelity
  • ✓

Continue with this converted file (0s zero re-upload):

⚡ Install Desktop App for 1-Click Conversions

Batch Conversion Ready!

⚡ Install Desktop App for 1-Click Conversions
Advertisement
🕒 Recent Conversions (60m Session)
The story

HOW XZ CAME TO BE.

2009
2024

XZ is a general-purpose compression format released in 2009 by Lasse Collin, based on the LZMA2 algorithm (an evolution of the LZMA Igor Pavlov designed for 7-Zip). The xz-utils suite became the default "best compression ratio" tool on Linux — typically 30% smaller than gzip and 15% smaller than bzip2 at comparable speed.

Every major Linux distribution adopted .tar.xz for kernel and package distribution. Then came March 2024 and the notorious XZ backdoor incident: someone operating under the name Jia Tan spent three years as a trusted xz-utils maintainer, then inserted a malicious payload that would compromise SSH on affected systems. A Microsoft engineer, Andres Freund, caught it by noticing SSH logins were half a second slower than usual. The backdoor was removed, xz-utils went through a governance reshuffle, and the industry learned a hard lesson about single-maintainer supply-chain risk.

ISO / MIME SPECS

Technical Specifications

MIME type
application/x-xz
Extensions
.xz, .txz
Algorithm
LZMA2
Standard
The .xz File Format specification 1.1.0
Integrity checks
None, CRC32, CRC64, SHA-256

Typical Sizes & Weights

Text/source archive

15-25% of original

Linux kernel (.tar.xz)

~125 MB

Firefox source code

~600 MB

STRENGTHS & LIMITATIONS.

Strengths

  • Best-in-class compression ratio among mainstream tools.
  • Streaming-capable — can pipe through network.
  • Multi-threaded compression available.
  • Mature on every Linux distribution.
  • Supports integrity checking (CRC32, CRC64, SHA-256).

Limitations

  • Slow compression at high levels — 3-5× slower than gzip.
  • Memory-hungry: xz -9 can need 700+ MB to compress.
  • 2024 supply-chain backdoor damaged trust in the project.
  • Zstandard outperforms xz at similar ratios with less memory.

CURIOSITIES & TRIVIA.

01

The XZ backdoor (CVE-2024-3094) was caught in March 2024 by a Microsoft engineer who noticed SSH logins were ~500 ms slower than usual — arguably the most important security catch of the decade.

02

XZ compression typically beats gzip by 30% and bzip2 by 15% on general data.

03

Every modern Linux distribution ships its kernel source as .tar.xz.

04

XZ supports parallel compression via xz -T flag — essential for utilizing modern many-core CPUs.

05

The LZMA2 algorithm is a successor to LZMA, originally designed for 7-Zip by Igor Pavlov.

Advertisement
STUDIO TOOLS FOR XZ

Specialized Utilities for .XZ Files

View all 45 tools →

CONVERT FROM XZ

Common Use Cases

Linux packages, high compression

Related Formats

Popular comparisons

Popular XZ conversions

The most-requested destinations when starting from XZ.

Frequently Asked Questions

XZ (XZ 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. XZ 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 XZ files. For command-line extraction, 7z, unar, or the format-specific tool handles XZ cleanly. If your extractor does not recognise XZ, convert to ZIP first — ZIP opens on every operating system without extra software.

Upload the XZ 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. XZ may win on compression ratio, password support, or OS integration for specific workflows; ZIP wins on raw compatibility.

Professional Workstation Solution
Unlimited Batch Jobs Zero Upload Wait Times Direct Disk-to-Disk I/O

Need to Convert Gigabyte Archives or Mass Folders?

KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.

Zero cloud transfer • Native hardware performance
24-Hour Fast Pass (€4.99 one-time) Up to 1 GB · No subscription

One-time payment with zero recurring commitment: convert files up to 1 GB, OCR, PDF/A, and .ZIP batches for 24 hours.

Instant Stripe Checkout →
7-Day Project Pass (€9.99 one-time) 7 Days · 2 GB · Ad-Free

Full 7 days of unlimited conversions, up to 2 GB per file, 100% ad-free with zero subscription.

Instant Stripe Checkout →
Kaiju Cloud Business Annual (€99/yr) Up to 2 GB + B2B Invoice

High-throughput enterprise pipeline for files up to 2,048 MB, 50-file batches, ISO PDF/A, and priority processing.

Instant Stripe Checkout →
ImageMagick CLI / XnConvert Free • Mass Batch

Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.

Affinity Photo / Adobe Lightroom Photo Pro

GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.

Advertisement
We use cookies and similar technologies to personalise content and ads, and to analyse traffic. Learn more about cookies.