Convert XAR to TXZ

Turn XAR archives into TXZ. Every stored file is kept as it is, so an installer package gives its Bom, PackageInfo, Payload and Scripts parts with the payload still packed.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop XAR files on the dialor turn it to pick what to do

An installer package in one TXZ file.The stored files are kept as they are and packed into one tar archive compressed with xz.

  1. What you get

    One TXZ file. Inside it is a tar archive, compressed with xz, that holds every file stored in the XAR.

    For a macOS installer package, that means its Bom, PackageInfo, Payload and Scripts parts each come out as a file in the archive.

  2. What stays as it is

    Every stored file is kept as it is. Nothing inside the files is changed during the conversion.

    The payload stays packed. The Payload part goes into the TXZ in the same packed form it had in the package, so its contents are not unpacked.

  3. Going back

    To turn a TXZ back into a XAR, use TXZ to XAR.

XAR and TXZ.What each format is.

The formats

From · XAR

XAR Archive

The archive behind macOS installer packages.

Extensions
.xar .pkg
MIME type
application/x-xar
Kind
Archives
To · TXZ

XZ Tar Archive

XZ-compressed tar archives. Smaller than gzip, common for source releases.

Extensions
.txz
MIME type
application/x-xz
Kind
Archives

In your code.The same XAR to TXZ conversion through the API, for your app or your agent.

terminal
$ cv convert archive.xar archive.txz
$ cv convert archive.xar archive.txz

Questions.What people ask about XAR to TXZ.

01OF 04

It takes the files stored in the XAR and puts them in a tar archive compressed with xz. The result is one TXZ file.

Yes. A PKG installer package is a XAR archive. Its Bom, PackageInfo, Payload and Scripts parts are kept as files in the TXZ.

No. The payload stays packed inside the TXZ, exactly as it was stored in the package.

No. Every stored file is kept as it is.

More conversions.Other ways in and out of XAR and TXZ.