Archive Utility

On this page 7

Archive Utility is the built-in macOS archive handler that expands compressed files when a user double-clicks them in Finder and creates ZIP archives through the Compress command in the Finder context menu. Within Finder & files on macOS, it is the invisible engine behind everyday file compression, running in the background without a visible window in most cases.

The application lives in /System/Library/CoreServices/Applications/Archive Utility.app, so it does not appear in the Applications folder. Opening it directly reveals a minimal interface and a Settings window where users can control where expanded files go, what happens to the original archive and which format new archives use.

How Archive Utility expands and compresses files

Archive Utility acts as the default handler for archive file types registered through Uniform Type Identifiers. When a user opens a .zip file, Launch Services passes it to Archive Utility, which decompresses the contents into the same folder and, by default, leaves the original archive in place.

Compression works in the opposite direction. Selecting items in Finder and choosing Compress produces Archive.zip for multiple items or name.zip for a single item. Archive Utility uses a ZIP implementation that preserves macOS-specific metadata, such as extended attributes and resource forks, by storing them in a hidden __MACOSX folder inside the archive.

The table below lists the formats Archive Utility handles and what it can do with each.

FormatExpandCreate
ZIP (.zip)YesYes, default format
gzip (.gz, .tgz)YesYes, through Settings
bzip2 (.bz2)YesNo
tar (.tar)YesYes, as compressed archive
Apple Archive (.aar)YesYes, through Settings
cpio (.cpio, .cpgz)YesYes, through Settings
RAR and 7zNoNo
Archive formats supported by Archive Utility

Settings and behavior options

Archive Utility has a small but useful set of preferences that most users never discover. Opening the app through Spotlight and choosing Settings from its menu exposes options that change how expansion and compression behave in Finder.

SettingOptionsPractical effect
Save expanded filesInto same folder or a chosen folderControls where extracted content appears
After expandingLeave archive, move to Trash, delete or moveKeeps Downloads tidy
Reveal expanded item in FinderOn or offSelects extracted files automatically
Keep expanding if possibleOn or offUnpacks nested archives such as .tar.gz in one step
Use archive formatZIP, compressed archive, Apple ArchiveSets the format for Compress
After archivingLeave files, move to Trash, delete or moveDecides the fate of the originals
Main Archive Utility settings

Changing After expanding to move to Trash is a common and safe choice for users who download many archives, because the original file can still be recovered from the Trash if the extraction turns out incomplete.

Archive Utility compared with other tools

Archive Utility covers everyday compression needs but does not replace dedicated archive managers or the command line. The right tool depends on the format, the need for encryption and the level of control required.

ToolStrengthsLimitations
Archive UtilityBuilt in, automatic, preserves Mac metadataNo encryption, no RAR or 7z, few options
ditto commandExact ZIP output with metadata controlTerminal only
zip and unzip commandsPassword option, scriptableWeak legacy ZIP encryption
Disk Utility imagesEncrypted .dmg containersNot a portable archive format
Third-party archiversRAR, 7z, AES encryption, previewsSeparate installation
Comparison with alternative archive tools on a Mac

Finder’s Compress command and the Terminal command ditto -c -k --sequesterRsrc produce nearly identical ZIP files, which makes ditto the preferred choice in scripts that must mimic Finder behavior exactly.

Practical use in everyday file work

In daily use, Archive Utility is most valuable for sending folders as single attachments and for unpacking downloads. Because Mail and many web services cannot upload whole folders, compressing them first is the standard workflow.

  • Compress before sharing to bundle many files into one attachment and keep folder structure intact.
  • Expect limited size savings for already compressed content such as JPEG photos, MP4 video or PDF files.
  • Use Quick Look on a ZIP file to preview its contents in recent macOS versions without expanding it.
  • Choose Apple Archive only when the recipient also uses a Mac, since other systems rarely open .aar files.
  • Set a dedicated destination folder when processing large batches of downloads.

Limitations and common problems

Archive Utility deliberately keeps its feature set small, which leads to predictable limitations that users meet sooner or later.

SymptomCauseFix
Unable to expand into folderCorrupted or incomplete downloadDownload the file again
Endless .cpgz files appearDamaged ZIP repeatedly rewrappedUse unzip in Terminal to see the real error
Recipients see __MACOSX foldersMac metadata stored in the ZIPAsk recipients to ignore it or create the ZIP without metadata
Cannot open password-protected ZIPEncryption method not supportedUse the unzip command or a third-party archiver
Garbled file namesNon-UTF-8 names from other systemsUse a tool that lets you select the encoding
Typical problems and their solutions

The most important warning concerns security of downloaded archives. Archive Utility preserves the quarantine attribute on extracted files, so Gatekeeper still checks apps from expanded archives, but users should never bypass those warnings for software from unknown sources.

Understanding it simply

Archive Utility is the Mac’s built-in packing and unpacking helper. Think of a ZIP file as a sealed box with many items inside. When you double-click it, Archive Utility opens the box and puts the items next to it.

It also works the other way. You select some files, choose Compress, and you get one neat box to send. You rarely see the app itself. The key idea: it quietly opens and creates ZIP files for you, with no extra software needed.

Applied in practice

A freelance graphic designer must deliver 120 layered design files and fonts to a client who uses Windows. Email rejects folders, so the designer selects the project folder in Finder and chooses Compress. Archive Utility produces a single ZIP of about 850 MB, which is uploaded to a file transfer service.

The client reports a confusing __MACOSX folder in the extracted files. For the next delivery, the designer creates the archive in Terminal with the zip command and the -X option to exclude extra attributes, so the client receives a clean folder structure.

On the receiving side, the designer also changes Archive Utility settings to move archives to the Trash after expanding, which keeps the Downloads folder from filling with duplicate ZIP files.