Convert DMG to XAR

Turn DMG archives into XAR. The files of the disk's volume are kept with their paths and times under a folder named after the volume.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

The files of a disk image in a XAR archive.Paths and times stay, under a folder named after the volume.

  1. What you get

    One XAR file that holds the files of the disk's volume. They sit under a folder named after the volume, with their paths and times kept. Each file is stored compressed with gzip.

  2. What comes out as extra

    Extended attributes and the file system's private folders come out as extra entries in the archive. They are not left out, so you may see more entries than the files you know from the disk.

  3. When it fails

    If the DMG cannot be parsed, the conversion stops with input_corrupted. No XAR file is made in that case.

    There are no options to set. Every conversion works the same way.

DMG and XAR.What each format is.

The formats

From · DMG

Apple Disk Image

macOS disk images, how Mac software is shipped.

Extensions
.dmg
MIME type
application/x-apple-diskimage
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 DMG to XAR conversion through the API, for your app or your agent.

terminal
$ cv convert archive.dmg archive.xar
$ cv convert archive.dmg archive.xar

Questions.What people ask about DMG to XAR.

01OF 04

They go under a folder named after the volume. Their paths and times are kept.

Extended attributes and the file system's private folders come out as extra entries. They are part of what the disk holds.

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

The file could not be parsed. The conversion stops and gives no XAR file.

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