Compressing files on a Mac

Making the archive takes one click. The problems all happen after you send it.

Compressing is a single command and is almost never the part that goes wrong.

An archive opened on Windows showing the Mac metadata folder alongside the real files.
An archive opened on Windows showing the Mac metadata folder alongside the real files.

Making one

Select the file or folder, hold Control and click, choose Compress. An archive appears beside the original.

Several items at once produce one archive named Archive, which is worth renaming before it leaves your machine, because the recipient will have no idea what it contains.

That is the entire operation and it works identically on every recent version of the system.

What travels with it

A Mac stores metadata alongside files, and compressing carries it in.

The recipient on Windows opens the archive and sees a folder whose name begins with two underscores, plus hidden store files scattered through the folders. None of it does any harm and all of it looks like you sent something messy.

Removing the hidden store files before compressing takes a moment, or you use a compression tool with the option to exclude them. For anything going to a client, it is worth the moment.

Situation Archive?
Many files, one transfer Yes
Preserving a folder structure Yes
A single document No
Photographs or video No, saves nothing
Anything to be read No, publish it

Two things that defeat it

Mail systems block archives. They can carry executable content past scanners, so some mail systems reject them, particularly when they contain executable files or are password protected.

Phones add steps. Opening an archive on a phone means expanding it, finding the folder, and knowing where the extracted files went. If your recipient is on a phone, an archive is the format least likely to result in them reading anything.

An archive attachment beside a link, with what each asks of the recipient.
An archive attachment beside a link, with what each asks of the recipient.

Compressing does not shrink most things

Photographs, video and fixed-page documents already carry their own compression. Archiving them finds nothing left to remove.

A folder of photographs barely shrinks. Text, spreadsheets and code compress well, which is what the format was designed for.

If the aim is getting under a size limit, compressing a folder of images is the step that does not work.

When an address is the answer

If the recipient needs to read the contents rather than keep the files, none of this applies.

Publish the document or the page at an address and send the address. It opens on any device, it cannot be blocked as an attachment type, and there is nothing to extract.

Keep archives for what they are good at: moving a folder structure intact from one machine to another.

For the surrounding ground, see How to zip a file on Windows and How to unzip files online.

Put it at an address

Control-click to compress, check what is inside before it leaves, skip it for already-compressed files, expect mail systems to reject it, and publish anything that is meant to be read.

Questions people ask

How do I compress a file?

Select it, hold Control and click, then choose Compress. The archive appears beside the original with the same name.

Why did my archive get rejected by email?

Some mail systems block archives, particularly ones containing executable files or protected by a password, because archives can carry executable content past scanners. Check with the recipient if it does not arrive.

What are the extra files a Windows recipient sees?

A folder named with two underscores and a prefix, plus hidden store files. They are Mac metadata and harmless, and they look like clutter to everyone else.

Does compressing a photo or document save space?

Very little. Images, video and fixed-page documents are already compressed, so the archive is barely smaller and adds a step.

Can somebody open an archive on a phone?

Yes, with extra steps. On an iPhone the Files app expands a ZIP when you tap it, and the recipient then has to find and open the file inside.

Keep reading