Convert IMG to XAR

Turn IMG archives into XAR. A disk with one file system gives its files with their paths, times and permissions.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The files from a disk, in one XAR archive.A disk with one file system comes out with its files, paths, times and permissions.

  1. What you get

    A single XAR archive. When the IMG holds one file system, the archive contains its files with their paths, times and permissions. Each file is compressed with gzip.

    XAR is the archive format behind macOS installer packages, and it uses the extensions xar and pkg.

  2. Disks with several partitions

    A disk with several partitions is not unpacked into files. Each partition is stored in the archive as a raw image file instead. The files inside each partition stay inside that image.

IMG and XAR.What each format is.

The formats

From · IMG

Raw Disk Image

A disk copied byte for byte, as dd, Raspberry Pi Imager and USB stick tools make it.

Extensions
.img
MIME type
application/x-raw-disk-image
Kind
Archives
To · XAR

XAR Archive

The archive behind macOS installer packages.

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

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

terminal
$ cv convert archive.img archive.xar
$ cv convert archive.img archive.xar

Questions.What people ask about IMG to XAR.

01OF 04

Yes, for a disk with one file system. The files come with their paths, times and permissions.

Each partition is stored as a raw image file in the archive. The files are not listed one by one.

Yes. Each file in the XAR archive is compressed with gzip.

One file. The output is a single XAR archive.

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