You cannot attach a folder directly, but you can send its contents
Most email services—Gmail, Outlook, Yahoo Mail—do not let you attach a folder the way you would attach a single file. When you try to select a folder, the email client either ignores it or shows an error. The workaround depends on what you are trying to send and which email service you use.
If you have a small number of files, you can attach them one at a time. If you have many files or want to preserve the folder structure, you can compress the folder into a single .zip file first, then attach that. Some email services have size limits—Gmail caps attachments at 25 MB per message—so a compressed folder may be your only option for larger collections.
Key Takeaways
- Email services do not accept folder attachments directly; you must send individual files or compress the folder into a .zip file first.
- Compressing a folder into .zip format reduces file size and preserves the folder structure so the recipient sees the same organization you do.
- Gmail, Outlook, and Yahoo Mail all have attachment size limits (usually 20–25 MB), so check your service's limit before sending large folders.
- On Windows, right-click a folder and choose "Send to" > "Compressed (zipped) folder"; on Mac, right-click and select "Compress".
- If a compressed folder still exceeds the size limit, you can split it into smaller .zip files or use cloud storage (Google Drive, OneDrive, Dropbox) to share the folder instead.
Compressing a folder into a .zip file on Windows
The fastest way to send a folder is to compress it first. On Windows, locate the folder you want to send. Right-click it, then look for "Send to" in the menu. Hover over "Send to" and you will see "Compressed (zipped) folder" as an option. Click that, and Windows creates a new .zip file in the same location with the same name plus ".zip" at the end.
The compressed file is usually much smaller than the original folder. Once it finishes compressing, you can attach this single .zip file to your email. The recipient can then extract it on their computer by double-clicking the .zip file (Windows handles this natively without extra software).
Compressing a folder on Mac
On a Mac, open Finder and locate the folder. 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. This .zip file is what you attach to your email.
The recipient can extract the folder by double-clicking the .zip file in their email or downloads folder. Mac also handles .zip extraction automatically without requiring extra software.
Attaching individual files instead
If the folder contains only a few files and you do not need to preserve the folder structure, you can attach each file separately. Open your email, click the attachment button (usually a paperclip icon), and select each file one by one. Most email services let you select multiple files at once by holding Ctrl (Windows) or Command (Mac) while clicking.
This method works well for small folders but becomes tedious with many files. It also means the recipient receives loose files rather than an organized folder, so they have to organize them themselves on their end.
What to do if the .zip file is too large
If your compressed folder exceeds your email service's attachment limit, you have two options. First, you can split the folder into smaller .zip files manually. Create separate folders for different groups of files, compress each one, and send them in multiple emails. Second, you can use cloud storage instead.
Services like Google Drive, OneDrive, Dropbox, and iCloud let you upload a folder and share a link via email. The recipient clicks the link and can view or read the folder without you sending it as an attachment. This method also works if your email service is blocking large files or if the recipient's email service has a smaller size limit than yours.
Checking your email service's attachment limit
Gmail allows attachments up to 25 MB per message. Outlook (both Hotmail and Microsoft 365) allows up to 20 MB. Yahoo Mail allows up to 25 MB. These limits explore to the total size of all attachments in a single email, not per file.
If you are unsure whether your compressed folder fits, check the file size before sending. Right-click the .zip file, select "Properties" (Windows) or "Get Info" (Mac), and look for the size. If it exceeds your service's limit, compress the folder into multiple smaller .zip files or use cloud storage instead.
Using cloud storage to share a folder instead
Cloud storage services often work better than email for sharing folders. Upload your folder to Google Drive, OneDrive, or Dropbox, then share a link via email. The recipient does not need to read anything first; they can view files directly in their browser or read the entire folder if they want a local copy.
This method also avoids attachment size limits entirely. It works especially well if the folder is large, if you want the recipient to be able to edit files and sync changes back to you, or if you are sending to multiple people and want them all to see the same version.
Frequently Asked Questions
Can I attach a folder to Gmail?
No, Gmail does not accept folder attachments. You must compress the folder into a .zip file first, then attach the .zip file. If the compressed folder exceeds 25 MB, use Google Drive to share it instead.
Will the recipient see the folder structure inside the .zip file?
Yes. When you compress a folder, the .zip file preserves the folder structure and all subfolders inside it. When the recipient extracts the .zip file, they see the same organization you created.
What if the recipient uses a Mac and I use Windows?
.zip files work on both Windows and Mac without any conversion. You can send a .zip file created on Windows to a Mac user, and they can extract it by double-clicking it. The reverse is also true.
Is there a size limit to how large a .zip file can be?
The .zip format itself has no practical size limit for most users. Your email service's attachment limit is what matters. If your .zip file is larger than your email service allows, split it into smaller .zip files or use cloud storage.
Can I password-protect a .zip file before sending it?
Yes, but the process differs by operating system. On Windows, you need third-party software like 7-Zip. On Mac, you can right-click the .zip file after it is created, select "Encrypt", and set a password. The recipient will need the password to extract the folder.