Are you looking to save storage space on your computer or send multiple files at once conveniently? Creating a ZIP file compresses one or more files or folders into a single file, not only helping you manage files more efficiently but also freeing up hard drive space. You can even password-protect the ZIP file for quick and simple encryption. This article provides a step-by-step guide on creating ZIP files and folders on Windows, macOS, and Linux.
Steps
On Windows Operating System

Create a folder. The quickest way to create a ZIP file is to save all the files you want to archive into a single folder. You can include multiple files and folders in the folder intended for the ZIP file.
- Rename the folder so that the ZIP file displays that name.

Right-click on the folder. Move the cursor to the “Send to” option. This action opens a new submenu. Select “Compressed (zipped) folder.”
- You can also choose multiple files in File Explorer, right-click on one of them, and follow the steps above. The ZIP file will now contain all selected files and will display the name of the file you right-clicked on in the previous step.

Wait for the file creation process to complete. If you want to add more files to the new ZIP file, the creation time will be longer. A progress bar will appear as files are added. Once the process is complete, the ZIP file will be saved in the same location as the original folder.
Mac OS X Operating System

Create a folder. The quickest way to create a ZIP file is to save all the files you want to compress into a single folder. You can include multiple files and folders in the folder intended for the ZIP file.
- Rename the folder so that the ZIP file displays that name.

Right-click on the folder. Click on “Compress.” The folder will be compressed into a ZIP file. The new ZIP file will be saved in the same location as the folder you chose to compress.
- You can also select multiple files in File Explorer, right-click on one of them, and follow the steps above. The newly displayed ZIP file will contain all selected files and will be named “Archive.zip.”
Linux Operating System

Open Terminal. This option is represented by a black rectangle icon with some bright characters. On some platforms, it may be named Konsole, xTerm, or something similar.

Create a folder. Use the mkdir command, followed by the name of the folder you want to create. For example, to create a folder named "zipArchive," type mkdir zipArchive.

Move or copy all files to be compressed into the folder.
- Move files using the mv command. Moving files means they will no longer be in the original folder and will be relocated to the specified destination.
- files using the cp command. This creates a copy of the file at the chosen location while keeping the original file intact. Note that you need to use cp -r to copy directories.
- For both commands, the original file or folder is entered first, followed by the destination. For example, to move the file "textToArchive.txt" to the folder "zipArchive," type mv textToArchive.txt zipArchive.

Compress the folder. This is done using the zip -r command. Enter the name of the ZIP file first, followed by the folder to be compressed. For example, to compress the folder "zipArchive" into a ZIP file named "zipArchive.zip," type: zip -r zipArchive.zip zipArchive. The screen will display the names of all data added to the compressed file, allowing you to verify if all data is included.
Password-Protected ZIP Files

Download compression software. Newer versions of Windows cannot create password-protected ZIP files without additional software. You can use free or paid compression tools, but you don’t need to spend much to create a password-protected ZIP file. Popular programs include:
- 7-Zip
- IZArc
- PeaZip

Create a new compressed file. Use the compression software to generate a new ZIP file. Add the files you wish to compress. During the creation process, you’ll see an option to set a password. This password will be required to access the ZIP file in the future.
Create a password-protected file on the OS X operating system.

zip –er <foldername>.zip <foldername>/*

Tips
- Press the Ctrl (Control) key on your keyboard to select multiple files simultaneously in Windows Explorer or the Folder Navigation pane in WinZip.
- Creating a ZIP file is an effective way to store multiple individual files in one location.
- Many modern operating systems recognize ZIP files and allow you to easily extract them simply by double-clicking the file.
