Skip to the converter

XAR to TAR.GZ converter, without the upload.

Turn XAR archives into TAR.GZ. It is converted in your browser, so the file never leaves your device.

Drop XAR files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert XAR to TAR.GZ

  1. Add your XAR archives

    Drop XAR (PKG) files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. TAR.GZ is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the TAR.GZ, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The XAR to TAR.GZ converter is part of this page and runs inside your browser. Your archives are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

XAR to TAR.GZ: what to expect

XAR opens mainly on a Mac, and Windows and Linux need extra tools. TAR.GZ is the standard archive on Linux and for source code. XAR is at home in mac installer packages; TAR.GZ is the usual choice for source code and server backups.

A password-protected archive is refused, since its contents cannot be read without the password. XAR files are read, not installed or mounted: every file inside is unpacked and repacked into the TAR.GZ, so nothing of the system image or installer is run.

XAR vs TAR.GZ

XAR

XAR archive

XAR is an archive format with an XML table of contents followed by compressed file data, which lets a tool read the listing without scanning the whole file. macOS uses it for flat installer packages (.pkg) and it was used for Safari extensions.

Opens in macOS Installer and the xar tool; 7-Zip can unpack one

XAR converter
TAR.GZ

Gzipped TAR archive

A .tar.gz (or .tgz) is a TAR archive compressed with gzip. It is the standard way software source code and Linux backups are distributed.

Opens in macOS, Linux and recent Windows; 7-Zip elsewhere

TAR.GZ converter
XAR compared with TAR.GZ
XARXAR archiveTAR.GZGzipped TAR archive
Stands foreXtensible ARchiveGzip-compressed TAR
TypeCompressed archiveCompressed archive
CompressionLossless (zlib)Lossless (Deflate)
Introduced2005, by Rob Braun and the OpenDarwin project1992, by Jean-loup Gailly and Mark Adler (gzip)
Opens inmacOS Installer and the xar tool; 7-Zip can unpack onemacOS, Linux and recent Windows; 7-Zip elsewhere
Best forMac installer packagesSource code and server backups
File extension.xar, .pkg.tar.gz, .tgz, .tpz

Questions

Are my archives uploaded anywhere?

No. The XAR to TAR.GZ conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting XAR to TAR.GZ?

No. The files inside are repackaged unchanged.

Can I convert several XAR files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert XAR to TAR.GZ on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the XAR file, press Convert and save the TAR.GZ. There is nothing to install.

Is there a file size limit?

Yes. An archive can be up to 500 MB, unpack to at most 1 GB and hold up to 50,000 files; beyond those limits the page says so. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.