XZ Decompress

Decompress XZ data from Hex or Base64 and output it as UTF-8 text, Hex, Base64, or another encoding. Read more

What is XZ decompress?

XZ is a container for one or more compressed streams, commonly using LZMA2, as defined by the .xz format specification. This tool decodes XZ bytes supplied as Hex or Base64 and displays the restored byte stream as UTF-8, Hex, Base64, or another encoding. It does not interpret TAR entries.

How to use this tool

Paste the complete XZ value, select Hex or Base64 according to its textual representation, and choose how to display the restored bytes. Use UTF-8 only for valid text output. Use XZ Compress for the reverse operation.

Choosing the right format

Input Encoding describes the compressed representation; Output Encoding describes the decompressed bytes. XZ stores filter and dictionary information needed by the decoder, so no compression level is selected during decompression.

Important limitations

An XZ stream can require substantial decoder memory based on its compression settings and can expand greatly. Integrity checks detect corruption, not malicious substitution. Use memory-limited native tools for large or untrusted input; the browser may fail before decoding completes.

Frequently asked questions

Why can another program not open the result?

Confirm the Hex or Base64 is complete and contains .xz framing. Legacy .lzma, raw LZMA2, corrupt data, and a decompressed TAR structure need different handling. Use XZ Extract for .tar.xz or .txz.

Are my files uploaded?

No. Decoding and decompression run locally in your browser.

Input
Output
Share Link
Settings