# How to create a ZIP File

If you want to send large amounts of data via email as well as archive images, videos, and documents on your hard drive, you should consider compressing your files. Otherwise the storage of these files will simply take up too much space. The easiest way to do this is by creating a ZIP file. The ZIP format functions like a **data container**. It packs multiple files and folders into a compact data bundle in which your files are compressed to as little as 12% of their original size. In this way, you can save on storage space and send photos and videos by email in a higher resolution.

On the other side, the recipient unpacks the files so that they return to their original size. You won’t suffer any loss of quality if you zip a folder. All you have to do is unzip it to get the files back to their original state.

## Zip a file: a glance at the benefits

- **Save on space: b**y creating a ZIP file, you compress your files by several percentage points. This is ideal for archiving photos and videos.
- **Send large amounts of data via email: t**he ZIP format makes it possible to send large amounts of data quickly and compactly. It also saves the recipient time, because they no longer need to download each file individually.
- **Secure storage of confidential data: w**hen you zip a file, you have the option to encrypt the ZIP file with a password.

## How to zip a file with Windows

If you want to create a ZIP file in Windows 7, 8, or 10, it’s very easy to do: the operating system contains everything that you need to zip and unzip files. Simply carry out the following steps to create your ZIP archive in just a few seconds.

1. The easiest way is to **create a new folder** into which you can copy (or move) all of the files that you want to zip. To do this, simply open the context menu with a right-click and then select “New” and “Folder”.

[![Image: Screenshot of the Windows desktop with the context menu open to “New”](https://www.ionos.ca/digitalguide/fileadmin/_processed_/a/a/csm_EN-create-zip-file_1b62844527.webp "Screenshot of the Windows desktop with the context menu open to “New”")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file.png) Screenshot of the Windows desktop with the context menu open to “New” 2. Once all of the files that you want to zip are in the new folder, right-click on the folder to open its context menu. Then click on “Send to” and select “**Compressed (zipped) folder**”.

[![Image: Screenshot of the Windows desktop with the context menu open to “Send to”](https://www.ionos.ca/digitalguide/fileadmin/_processed_/7/4/csm_EN-create-zip-file2_9ec0d9d364.webp "Screenshot of the Windows desktop with the context menu open to “Send to”")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file2.png) Screenshot of the Windows desktop with the context menu open to “Send to” 3. In the same path, a ZIP folder immediately appears with the same name as your original folder and the ending *.zip*. You can now rename this folder however you like.

[![Image: Screenshot of a folder and its zipped version on the Windows desktop](https://www.ionos.ca/digitalguide/fileadmin/_processed_/a/2/csm_EN-create-zip-file3_121d211999.webp "Screenshot of a folder and its zipped version on the Windows desktop")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file3.png) Screenshot of a folder and its zipped version on the Windows desktop  Note You can also create a ZIP file without creating a new folder. Simply select all of the files, open the context menu with a right-click, and click directly on “Send to” and “Compressed (zipped) folder”. This can quickly become confusing with a larger amount of data, though.

[![Image: Screenshot of the Windows desktop where multiple files are sent to a ZIP-compressed folder via the context menu.](https://www.ionos.ca/digitalguide/fileadmin/_processed_/3/c/csm_EN-create-zip-file4_659796da4c.webp "Screenshot of the Windows desktop where multiple files are sent to a ZIP-compressed folder via the context menu.")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file4.png) Screenshot of the Windows desktop where multiple files are sent to a ZIP-compressed folder via the context menu. ## Create a ZIP file with macOS

With macOS, you also don’t need a special additional program in order to zip a folder. You compress files in the same way as with Windows 7, 8, or 10.

1. Select that files that you want to zip
2. Open the context menu with the right button
3. Click on “**Compress objects**”
4. The compressed ZIP file appears in the same path

[YouTube video](https://www.youtube.com/watch?v=V0wkG6zOpjA)## Create encrypted ZIP files on Windows

If you have confidential files in your ZIP archive that you want to protect from the eyes of others, you can secure them with a password. To create an encrypted ZIP file in Windows 10 or an older version of Windows, you need a special program like [7-Zip](https://www.7-zip.org/ "Download the open source software 7-7-Zip"), [WinZip](https://www.winzip.com/win/en/ "More about the WinZip compression program on winzip.com"), or [WinRAR](https://www.rarlab.com/ "Try out WinRAR on rarlab.com"). Encrypt your ZIP archive with a password.

1. Download the ZIP program of your choice, e.g. the **free 7-Zip**. Once you have the program installed on your PC, you’ll find additional options in your context menu.
2. Right-click on the folder that you want to compress, select “7-Zip”, and then click on “Add to archive”.

[![Image: Windows desktop on which a folder is added to an archive via “7-Zip” in the context menu](https://www.ionos.ca/digitalguide/fileadmin/_processed_/6/5/csm_EN-create-zip-file5_e72af7f350.webp "Windows desktop on which a folder is added to an archive via “7-Zip” in the context menu")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file5.png) Windows desktop on which a folder is added to an archive via “7-Zip” in the context menu 3. Next, a window appears in which you can [set a password](https://www.ionos.ca/digitalguide/server/security/protect-sensitive-data-with-a-strong-password/) to **encrypt your ZIP archive**. You also have other extended options. Confirm the entries with “OK”.

[![Image: Screenshot of the 7-Zip input window on Windows](https://www.ionos.ca/digitalguide/fileadmin/_processed_/2/d/csm_EN-create-zip-file6_aa966c44b5.webp "Screenshot of the 7-Zip input window on Windows")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file6.png) Screenshot of the 7-Zip input window on Windows 4. The file is now zipped and can **only be unzipped with a password.**

[![Image: Screenshot of the Windows desktop on which a 7-Zip compressed folder is to be unzipped](https://www.ionos.ca/digitalguide/fileadmin/_processed_/7/9/csm_EN-create-zip-file7_fdb81b3f1b.webp "Screenshot of the Windows desktop on which a 7-Zip compressed folder is to be unzipped")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file7.png) Screenshot of the Windows desktop on which a 7-Zip compressed folder is to be unzipped [![Image: Screenshot of the password input of 7-Zip on Windows](https://www.ionos.ca/digitalguide/fileadmin/_processed_/9/e/csm_EN-create-zip-file8_1395fc1700.webp "Screenshot of the password input of 7-Zip on Windows")](https://www.ionos.ca/digitalguide/fileadmin/DigitalGuide/Screenshots_2018/EN-create-zip-file8.png) Screenshot of the password input of 7-Zip on Windows ## Encrypt ZIP files on macOS

7-Zip is a file compression program that was originally only developed for Microsoft Windows. With the application **7zX**, however, there’s now also a Mac version of the program that can also be downloaded for free from 7-Zip. This allows you to zip and encrypt confidential files just as easily as on Windows.

[YouTube video](https://www.youtube.com/watch?v=V4sb4KbnTZ0)You can also [create encrypted ZIP files with a command line](https://osxdaily.com/2012/01/07/set-zip-password-mac-os-x/ "Guide to creating encrypted ZIP files via the macOS terminal") on macOS via the terminal.


This is a markdown version of: [https://www.ionos.ca/digitalguide/server/configuration/create-a-zip-file/](https://www.ionos.ca/digitalguide/server/configuration/create-a-zip-file/) for AI/LLM consumption.