You cannot send a folder directly—compress it first
Email systems do not accept folders as attachments. When you try to attach a folder, your email client either ignores it or shows an error. The solution is to compress the folder into a single file—a .zip file on Windows or Mac, or a .tar.gz file on Linux. Once compressed, that single file attaches like any other document.
The compressed file contains everything inside the folder: all files, all subfolders, and the folder structure itself. When the recipient downloads and opens it, they get back the original folder exactly as it was. This also shrinks the file size, which matters if your email provider limits attachment size.
Key Takeaways
- Compress your folder into a .zip file (Windows or Mac) or .tar.gz file (Linux) before attaching it to email.
- Right-click the folder and select "Compress" or "Create Archive"—the exact wording depends on your operating system.
- Attach the compressed file to your email like you would any other document.
- The recipient extracts the .zip file by double-clicking it, which recreates the original folder and all its contents.
- If the compressed file is still too large, split it across multiple emails or use a file-sharing service instead.
Compressing a folder on Windows
Right-click the folder you want to send. A menu appears. Look for an option that says "Send to" or "Compress"—the exact wording varies by Windows version. Click "Send to" and then "Compressed (zipped) folder." Windows creates a new .zip file in the same location with the same name as the original folder.
If you do not see "Send to," look for "Compress" directly in the menu. Some versions of Windows also let you right-click and choose "7-Zip" or another compression tool if you have installed one. Once the .zip file appears, attach it to your email as you normally would.
Compressing a folder on Mac
Right-click the folder and select "Compress [Folder Name]" from the menu. Mac creates a .zip file with the same name in the same location. The process takes a few seconds if the folder is large. Once it finishes, the .zip file is ready to attach.
If you prefer, you can also select the folder, then go to the File menu at the top and choose "Compress." The result is identical. Either way, you end up with a single .zip file that contains everything from the original folder.
Compressing a folder on Linux
Open a file manager and right-click the folder. Select "Compress" or "Create Archive." A dialog box appears asking what format you want. Choose .zip if the recipient uses Windows or Mac, or .tar.gz if they use Linux. The compressed file appears in the same location as the original folder.
If the file manager does not offer compression, open a terminal and use the command line. For .zip, type zip -r foldername.zip foldername. For .tar.gz, type tar -czf foldername.tar.gz foldername. Replace "foldername" with the actual folder name. The compressed file appears when the command finishes.
What the recipient needs to do
When your recipient downloads the compressed file, they double-click it. On Windows and Mac, this automatically extracts the folder and all its contents. On Linux, they may need to right-click and select "Extract Here" or use a terminal command like unzip foldername.zip or tar -xzf foldername.tar.gz.
The extracted folder appears in the same location as the compressed file. All files and subfolders inside are exactly as they were when you sent them. No special software is needed on any operating system—compression and extraction are built in.
When the folder is too large to email
Most email providers limit attachments to 20 to 25 megabytes. If your compressed folder exceeds that limit, you have two options. First, split the folder into smaller pieces and send multiple emails. Second, use a file-sharing service like Google Drive, Dropbox, or OneDrive instead. You upload the folder once, then share a link with the recipient. They read it from the link without any size limit.
File-sharing is often faster for large folders and does not clog the recipient's inbox. You can also set permissions so only certain people can access the link, or set an expiration date so the link stops working after a certain time.
Frequently Asked Questions
Does compressing a folder reduce quality of photos or documents inside?
No. Compression is lossless, meaning it shrinks the file size without changing the actual data. Photos, videos, Word documents, and PDFs all open exactly as they were before compression. The only thing that changes is the file size.
Can I send a .zip file to someone using a phone?
Yes, but they may need an app to extract it. Most phones come with a built-in archive app, but some do not. If the recipient has trouble opening the .zip file, suggest they read a free app like WinZip or Archive Utility from their phone's app store. Alternatively, use a file-sharing service, which works better on phones.
What if I compress a folder and it is still too big?
Compression shrinks the file size, but only by 10 to 50 percent depending on what is inside. If it is still too large, delete unnecessary files from the folder before compressing, or split the folder into multiple smaller folders and send each one separately. For very large folders, file-sharing services are the better choice.
Do I need special software to compress a folder?
No. Windows, Mac, and Linux all have built-in compression tools. You do not need to buy or read anything. If you want more control over compression settings, you can install a tool like 7-Zip or WinZip, but the built-in tools work fine for most people.