Convert XAR to TAR
Turn XAR archives into TAR. 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
The files inside a XAR, in one TAR.Every stored file is kept as it is, and the result is a single file.
What you get
One TAR file that holds the files stored in the XAR. Files and folders sit together in one stream, and TAR does not compress anything by itself.
A XAR is the archive behind macOS installer packages. If you convert a PKG, you get its Bom, PackageInfo, Payload and Scripts parts as separate entries.
What stays packed
Each file is kept as it is. The Payload in an installer package is still packed when it lands in the TAR, so its contents are not unpacked into folders.
When it fails
If the file could not be parsed, the conversion stops with
input_corrupted. This means the XAR itself could not be read as an archive.To go the other way, use TAR to XAR.
XAR and TAR.What each format is.
The formats
XAR Archive
The archive behind macOS installer packages.
- Extensions
- .xar .pkg
- MIME type
- application
/x -xar - Kind
- Archives
Tar Archive
Unix tape archives. Files and folders in one stream, no compression by itself.
- Extensions
- .tar
- MIME type
- application
/x -tar - Kind
- Archives
In your code.The same XAR to TAR conversion through the API, for your app or your agent.
$ cv convert archive.xar archive.tar$ cv convert archive.xar archive.tarQuestions.What people ask about XAR to TAR.
Yes. A PKG is read as a XAR, and its parts come out in the TAR: Bom, PackageInfo, Payload and Scripts.
No. Every stored file is kept as it is, so the Payload is still packed inside the TAR.
One file. The TAR holds everything from the XAR.
The file could not be parsed. The XAR could not be read as an archive, so no TAR is made.