XZ 形式

XZファイルのすべて

圧縮

はい

解凍

はい

拡張子

.xz

プラットフォーム

All

XZとは?

An XZ file is a compressed file using the XZ Utils format, which employs the LZMA2 compression algorithm. XZ offers high compression ratios similar to 7z.

XZ is commonly used in the Linux world for software packages, kernel source archives, and .tar.xz files (the modern replacement for .tar.gz).

The format supports multiple compression algorithms but LZMA2 is the default, providing excellent compression at the cost of slower compression speed compared to GZIP.

7-ZipでXZを開ける?

7-Zip can create and extract XZ files with LZMA2 compression.

7-Zip handles .tar.xz files transparently — both TAR and XZ layers are processed in one operation.

7-Zip can create .tar.xz archives directly by selecting "xz" as the format.

XZの解凍方法

Right-click the .xz file

Locate your .xz or .tar.xz file, right-click it, and navigate to "7-Zip".

Choose extraction option

Select "Extract Here" to extract. For .tar.xz, 7-Zip handles both XZ and TAR layers automatically.

Access extracted files

The decompressed file or archive appears in the destination folder.

XZの作成方法

Select file(s) to compress

Select the file you want to compress into XZ format.

Open the archive dialog

Right-click > 7-Zip > "Add to archive..." and set the format to "xz".

Create the .xz file

Click OK. 7-Zip creates an .xz file with LZMA2 compression, offering high compression ratio.

XZのパスワード保護

XZ does not support password protection or encryption.

For encrypted archives, use 7z or ZIP format with AES-256 encryption.

XZ 仕様

拡張子.xz
圧縮LZMA2
暗号化Not supported
プラットフォームAll (native on modern Linux)
最大サイズUnlimited
開発者Lasse Collin (XZ Utils)
MIME Typeapplication/x-xz

XZのよくあるエラー

Cannot extract .xz file

原因: File corruption or missing software.

解決策: Re-download the file. 7-Zip supports all standard XZ files. Ensure you have the latest 7-Zip version for LZMA2 support.

XZ vs 7Z

FeatureXZ7z
Compression algorithmLZMA2LZMA2 (same)
Multiple filesNo (use .tar.xz)Yes
EncryptionNoAES-256
Linux nativeYes (modern distros)No (needs p7zip)

XZ FAQ

What is an .xz file?

An .xz file is a compressed file using the XZ format with LZMA2 compression. It offers high compression ratios and is common on Linux for packages and .tar.xz archives.

Can 7-Zip open .xz files?

Yes. 7-Zip can extract .xz and .tar.xz files on Windows. It handles both layers automatically for .tar.xz files.

Can 7-Zip create .xz files?

Yes. 7-Zip can create XZ compressed files. Right-click > 7-Zip > Add to archive > select "xz" format.

What is .tar.xz?

A .tar.xz file is a TAR archive compressed with XZ. It's the modern replacement for .tar.gz on Linux, offering better compression at the cost of slower compression speed.

Is XZ better than GZIP?

For compression ratio, yes — XZ (LZMA2) typically achieves 20-30% better compression than GZIP (deflate). However, XZ is slower to compress. Use XZ for storage, GZIP for speed.

7-Zipを使ってみませんか?

無料の公式7-Zipを今すぐダウンロード。

今すぐダウンロード