How to zip a file on Windows

The archiving works. Whether it makes the file smaller depends entirely on what is inside it.

Archiving on Windows is a right-click. The interesting part is that for most of what people archive, it does nothing useful.

A right-click menu with the compress option highlighted.
A right-click menu with the compress option highlighted.

How to do it

Select the files. Right-click. Choose the compress option, which in recent Windows versions is named directly and in older ones sits under send to.

An archive appears beside the originals. Rename it to something meaningful, because the default is the name of the first file selected and that confuses the recipient.

Why it usually does not shrink anything

Compression finds repetition and encodes it more efficiently. Already-compressed data has had its repetition removed, which is what compression is.

Almost everything people archive is already compressed internally.

Contents Typical saving
Documents, PDFs 1-3%
Photographs 0-2%
Video, music 0-1%
Office files 2-5%
Plain text, logs 70-90%
Comma-separated data 80-95%

So archiving a folder of photographs to get under an email limit saves nothing and adds an extraction step for the recipient, who may be on a phone that cannot extract it.

What actually reduces size

The images.

A scanned document at 600 dots per inch is a stack of photographs. Re-exported at 150 it is a fraction of the size and looks identical on a screen. A presentation carries images at full resolution and every tool has a compress-images function.

That is where the size is, and it is one step in the tool that made the file.

Archive passwords

The built-in Windows tool cannot set one, which is the first obstacle.

Third-party tools can, and the encryption used by most archive formats is old and broken quickly with freely available software.

More practically, mail scanners frequently block encrypted archives because they cannot inspect the contents. The message does not arrive and often nobody is told.

If something needs protection, protect the document itself and send the password through a different channel.

A folder and its archive shown with nearly identical sizes.
A folder and its archive shown with nearly identical sizes.

What archiving is genuinely for

Several files as one thing. A set of documents that belong together, arriving in a known order.

A folder structure. When the arrangement carries meaning.

A single upload. Some submission processes accept exactly one file.

All three are legitimate and none of them are about size.

A page split across files ✗ Works only inside its own folder ✗ Styling vanishes when sent alone ✗ Images turn into empty boxes ✗ Breaks the moment a file is renamed One self-contained file ✓ Renders anywhere it lands ✓ Styling travels with it ✓ Images are carried inside ✓ Nothing to keep together
A self-contained file against a folder that has to stay together.

The alternative for several files

Put them at an address and send the address.

The recipient sees what is there, opens the one they need, and downloads the rest only if they want them. It works on a phone, has no size limit, and there is nothing to extract.

For anyone regularly sending folders of files, that change removes an entire category of message asking how to open something.

If this is near what you are doing, How to zip a PDF file and How to unzip files online cover the cases on either side.

Put it at an address

Right-click and compress when you need one thing rather than several, check the size before assuming it helped, compress the images when size is the problem, avoid archive passwords, and send an address when there are several files.

Then nobody receives a container they cannot open.

Questions people ask

How do I do it?

Select the files, right-click, and choose the compress or send-to-compressed option. Built into Windows with nothing to install.

Why did it barely shrink?

Because the contents were already compressed. Documents, photographs, video, music and office files all compress internally, so archiving finds almost no redundancy left.

What does compress well?

Plain text, spreadsheets with lots of repeated values, comma-separated data, logs and raw images. Those can drop by eighty percent or more.

Is a password on the archive worth setting?

The built-in Windows tool cannot set one, and the encryption used by most archive tools is weak. Mail scanners also block encrypted archives, so the message may not arrive.

What should I use it for?

Grouping several files so they arrive as one thing, and preserving a folder structure. Not for size, and not for protection.

Keep reading