TapToConvert All conversions

Home / File types / .xz

XZ file: what it is and how to open it

XZ archive. Here is what a .xz file contains, how to open one on any device, and a viewer that opens it right in your browser.

Open a .xz file hereChoose fileRead in your browser. Nothing is uploaded.

What the viewer shows

  • Whether the file matches the .xz signature
  • The first bytes as hex
  • A preview when your browser can display it

What is a .xz file?

A .xz file is an XZ archive. Its registered MIME type is application/x-xz, which places it in the application or document family of formats.

XZ is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.

Files of this type usually begin with the bytes FD 37 7A 58 5A 00. That signature is how programs recognise the format even when the extension is wrong or missing.

XZ file format details

Extension.xz
FormatXZ archive
MIME typeapplication/x-xz
CategoryApplication or document
Text or binaryBinary
File signatureFD 37 7A 58 5A 00
Registered with IANANo
Other extensionsNone

How to open XZ files

WindowsWindows opens ZIP files itself. For other archive types, the free 7-Zip program opens most of them, XZ included.
MacArchive Utility opens ZIP and several other formats with a double click. The free app The Unarchiver handles many more.
iPhone and iPadThe Files app can open ZIP archives. Other archive types need an app from the App Store.
AndroidFiles by Google opens ZIP archives. Other types need an archive app such as RAR or ZArchiver.

Can you convert a .xz file?

TapToConvert does not convert XZ files. The usual route is to open the file in the program that made it and use its Export or Save as option.

XZ file FAQ

What is a .xz file?

A .xz file is an XZ archive, with the MIME type application/x-xz.

How do I open a .xz file?

7-Zip on Windows and The Unarchiver on Mac open most archive formats.

Is a .xz file safe to open?

XZ files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.

What is the MIME type of .xz?

application/x-xz. Web servers send this type so browsers know how to handle the file.

Is XZ a text or binary format?

Binary. Its contents are not readable as text.

File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.

Similar file types

Try MP4 to MP3, HEIC, merge PDF or compress video.