How to Create a ZIP File on Windows, Mac, and Linux
Create a ZIP archive from one or multiple files and folders on any operating system — no additional software needed.
- Difficulty
- Beginner
- Time
- 3 min
Last updated
Creating a ZIP file bundles multiple files or folders into a single compressed archive for easier sharing, storage, or email attachment. All major operating systems include built-in ZIP support.
Windows 10 and 11
Method 1: Right-click (No Software Needed)
- Select the files and/or folders you want to ZIP (hold Ctrl to select multiple)
- Right-click the selection
- Choose "Send to" → "Compressed (zipped) folder"
- Windows creates a .zip file in the same directory
Method 2: ZIP a Single Folder
- Right-click the folder → Send to → Compressed (zipped) folder
- The .zip file appears alongside the original folder
macOS
Method 1: Compress via Finder (Built-in)
- Select the file(s) or folder(s) in Finder
- Right-click (or Control-click) → Compress "filename" (or "Compress X Items")
- macOS creates an Archive.zip in the same location
Note: macOS adds hidden files (__MACOSX folders, .DS_Store) that are invisible on Mac but show up on Windows. To avoid this, use Keka (free) or The Unarchiver which gives options to exclude these files.
Linux
Method 1: GUI (File Manager) Most Linux file managers support ZIP creation:
- Select files → Right-click → Compress → choose ZIP format
Method 2: Terminal
zip -r archive.zip folder_name/
zip archive.zip file1.txt file2.txt file3.txt
7-Zip (Windows — More Options)
For better compression or password protection:
- Select files → Right-click → 7-Zip → Add to archive
- Set Archive format: ZIP or 7z
- Add a password under Encryption if needed
- Click OK
What Goes Into a Good ZIP Name?
Use descriptive names with dates for clarity:
- project-files-2024-12.zip
- photos-vacation-italy.zip
- invoice-Q4-2024.zip
Advertisement
Learn more
- How to Open a RAR File on Windows, macOS, and Linux
RAR files don't open natively on Windows or macOS. This guide shows the fastest way to extract RAR archives on every operating system — free.
- Why ZIP Files Get Corrupted and How to Fix Them
ZIP files fail to open for a small number of predictable reasons. Understanding which one applies to you tells you exactly whether and how the file can be recovered.