How do I compress (zip) files?

Modified on Wed, 16 Jul at 11:52 AM

1. Overview


File compression, often referred to as "zipping" files, is the process of reducing the size of one or more files or folders. This creates a single compressed archive (commonly with a .zip extension).



Benefits of compressing files:


Reduces File Size: Makes files smaller, which is useful for saving disk space.


Easier Sharing: Compressed files are faster to upload and download, and easier to send via email (especially if they exceed attachment size limits when uncompressed).


Bundling Multiple Files: Allows you to combine many files and folders into a single, organized archive, simplifying transfers.


2. How to Compress (Zip) Files and Folders in Windows


Windows has built-in functionality to compress and decompress (unzip) .zip files without needing extra software.


2.1. Compressing a Single File or Folder:


Locate the file or folder you want to compress in File Explorer.


Right-click on the file or folder.


From the context menu, select "Send to".


Then, select "Compressed (zipped) folder".


A new .zip file will be created in the same location as the original file/folder. It will have the same name as the original, but with a .zip extension.


Example: If you compress MyDocument.docx, a file named MyDocument.zip will be created.


2.2. Compressing Multiple Files or Folders (into one .zip file):


Locate the files and/or folders you want to compress in File Explorer.


Select all the items you wish to include:


To select multiple individual files/folders, hold down the Ctrl key and click on each item.


To select a range of items, click the first item, then hold down Shift and click the last item in the range.


Once all desired items are selected, right-click on any one of the selected items.


From the context menu, select "Send to".


Then, select "Compressed (zipped) folder".


A new .zip file will be created in the same location. By default, it will be named after the item you right-clicked on (e.g., if you right-clicked on Photo1.jpg in a selection, the zip file might be named Photo1.zip).


Recommendation: After creation, rename the .zip file to something more descriptive (e.g., Holiday Photos 2024.zip, Project Documents.zip) by right-clicking it and selecting "Rename."


3. How to Compress (Zip) Files and Folders in macOS


macOS also has built-in functionality to compress and decompress .zip files using the Finder.


3.1. Compressing a Single File or Folder:


Locate the file or folder you want to compress in Finder.


Right-click (or Ctrl+click) on the file or folder.


From the context menu, select "Compress [File Name]" or "Compress '[Folder Name]'".


A new .zip archive will be created in the same location as the original item. It will be named after the original file/folder, with a .zip extension.


Example: If you compress MyReport.pdf, a file named MyReport.zip will be created.


3.2. Compressing Multiple Files or Folders (into one .zip file):


Locate the files and/or folders you want to compress in Finder.


Select all the items you wish to include:


To select multiple individual files/folders, hold down the Command key and click on each item.


To select a range of items, click the first item, then hold down Shift and click the last item in the range.


Once all desired items are selected, right-click (or Ctrl+click) on any one of the selected items.


From the context menu, select "Compress [Number] items".


A new .zip file will be created in the same location. By default, it will be named Archive.zip.


Recommendation: After creation, rename the .zip file to something more descriptive (e.g., Client Project Files.zip, Vacation Pics.zip) by clicking on its name and typing the new name.


4. Decompressing (Unzipping) Files


To access the contents of a .zip file:


Windows: Double-click the .zip file. This will open it like a folder. You can then drag and drop files out of it, or right-click the .zip file and select "Extract All..." to extract all contents to a new folder.


macOS: Double-click the .zip file. This will automatically create a new folder in the same location containing the uncompressed files.


5. Additional Tips


Password Protection: While built-in zip tools do not offer password protection, third-party compression software (like 7-Zip for Windows or Keka for macOS) can provide advanced features, including password-protected archives and support for other compression formats (e.g., .rar, .7z).


Large Files: For extremely large files or folders (many gigabytes), the compression process can take a significant amount of time. Ensure you have enough free disk space for the compressed file.


Original Files Remain: Compressing files creates a copy of the data in a smaller format; the original files and folders are not deleted unless you manually do so.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article