Convert XAR to TZST

Turn XAR archives into TZST. 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 tar archive.Every file in the XAR is kept as it is and stored in a Zstandard-compressed tar.

  1. What you get

    One TZST file. Inside is a tar archive compressed with Zstandard. Every stored file is kept as it is.

    For an installer package, that means its Bom, PackageInfo, Payload and Scripts parts are all there. The payload stays packed, so it is not opened or unpacked.

  2. What stays as it is

    Nothing in the XAR is rewritten. The files come across unchanged, and only the archive around them changes from XAR to tar with Zstandard compression.

    If you need the payload contents, unpack the payload after you open the TZST. The conversion does not do that step.

  3. Going back

    To return to the original kind of archive, use TZST to XAR. Other archive routes are listed under every XAR conversion.

XAR and TZST.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 · TZST

Zstandard Tar Archive

Zstandard-compressed tar archives. Fast to unpack, close to xz in size.

Extensions
.tzst
MIME type
application/zstd
Kind
Archives

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

terminal
$ cv convert archive.xar archive.tzst
$ cv convert archive.xar archive.tzst

Questions.What people ask about XAR to TZST.

01OF 04

The files from the XAR, kept as they are, in a tar archive compressed with Zstandard. A package gives its Bom, PackageInfo, Payload and Scripts parts.

No. The payload stays packed, as it was in the package.

One file. It is a single TZST archive that holds everything from the XAR.

Yes. PKG is one of the extensions for XAR, and an installer package is converted like any other XAR archive.

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