You can attach a folder, but most email services compress it first

Most email providers—Gmail, Outlook, Yahoo Mail—do not have a direct "attach folder" button. Instead, you select the folder's contents, your email service compresses them into a single file (usually a .zip file), and then attaches that compressed file to your message. The recipient downloads the .zip file and extracts the folder on their end.

The process differs slightly depending on which email service you use and whether you are on a computer or phone. Desktop email clients like Outlook or Apple Mail sometimes let you drag a folder directly into a message, but web-based email (Gmail in a browser, for example) requires you to compress the folder first using your operating system's built-in tools.

File size limits matter here. Gmail caps attachments at 25 MB total per message. Outlook allows up to 20 MB. If your folder is larger, you will need to split it across multiple emails, remove files, or use cloud storage instead.

Key Takeaways

  • Gmail, Outlook, and Yahoo Mail do not have a native folder attachment option; you must compress the folder into a .zip file first using your computer's file manager.
  • On Windows, right-click the folder and select "Send to" > "Compressed (zipped) folder"; on Mac, right-click and select "Compress".
  • Once compressed, attach the .zip file to your email like any other file by clicking the attachment button.
  • Check your email provider's size limit before sending—Gmail allows 25 MB, Outlook allows 20 MB, and exceeding this will cause the send to fail.
  • If the folder is too large to compress and send, consider using cloud storage (Google Drive, OneDrive, Dropbox) and sharing a link instead.

How to compress a folder on Windows

Open File Explorer and locate the folder you want to send. Right-click on it. A menu will appear with several options. Look for "Send to" and hover over it—a submenu will expand showing additional choices. Click "Compressed (zipped) folder." Windows will create a new .zip file in the same location with the same name as your original folder, plus the .zip extension.

This process can take anywhere from a few seconds to a minute or more, depending on how many files are in the folder and how large they are. Once the .zip file appears, you can then attach it to your email. The original folder remains unchanged; the .zip file is a separate copy.

How to compress a folder on Mac

Open Finder and navigate to the folder you want to send. Right-click (or Control-click) on the folder. A context menu will appear. Select "Compress [Folder Name]." macOS will create a .zip file with the same name as your folder in the same location.

Like Windows, this may take a moment depending on folder size. Once the .zip file is ready, you can attach it to your email through Mail, Gmail in a browser, or any other email service you use on your Mac.

Attaching the compressed folder to Gmail

Open Gmail in your web browser and click "Compose" to start a new message. Fill in the recipient's email address and a subject line. Click the paperclip icon (usually located near the bottom of the compose window) to open the file browser. Navigate to your compressed .zip file and select it. Click "Open" to attach it.

Gmail will show a preview of the attachment in the compose window. You can add a message body if you want, then click "Send." The recipient will see the .zip file in their inbox and can read and extract it on their computer.

Attaching the compressed folder to Outlook

In Outlook on the web, click "New message" to start composing. Add the recipient and subject. Look for the attachment icon (a paperclip) in the toolbar at the bottom of the message. Click it and select "Upload from this device." Browse to your .zip file, select it, and click "Open." The file will upload and attach to your message.

In Outlook on your desktop (the installed process), the process is similar: click "New Email," then look for the "Attach File" button in the ribbon at the top. Select your .zip file and click "Insert." You can then send the message as usual.

What to do if the folder is too large to email

If your compressed folder exceeds your email provider's size limit, you have two main alternatives. The first is to split the folder across multiple emails—compress smaller portions of it separately and send them in separate messages. This works if the folder contains distinct groups of files (like separate projects or months of documents).

The second option is to use cloud storage. Upload the folder to Google Drive, OneDrive, Dropbox, or a similar service, then share a link to it in your email instead of attaching the files themselves. This is often faster for large folders and lets the recipient read files on their own schedule. Most cloud storage services let you set permissions so only people with the link can see the folder, or you can restrict access to specific email addresses.

Attaching folders on a phone or tablet

Most email apps on phones and tablets do not support folder attachments at all. Gmail on iPhone or Android, for example, only lets you attach individual files, not folders. If you need to send a folder from a phone, your best option is to use cloud storage: upload the folder to Google Drive or OneDrive through the mobile app, then share the link via email.

If you must send the folder as a .zip file from a phone, you will need a file manager app that supports compression. Apps like Files (on iPhone) or Files by Google (on Android) can compress folders, but this is less common than on desktop. After compressing, you can then attach the .zip file to an email through your email app.

Frequently Asked Questions

Can I attach a folder without compressing it first?

Not through Gmail, Outlook, or Yahoo Mail in a web browser. These services require you to compress the folder into a .zip file first. Desktop email clients like Outlook or Apple Mail sometimes allow you to drag a folder directly into a message, but they will compress it automatically behind the scenes.

Will the recipient be able to open the .zip file?

Yes. All modern computers and phones can open .zip files without additional software. On Windows and Mac, double-clicking the .zip file extracts it automatically. On phones, most file manager apps can extract .zip files, though some users may need to read a free app like WinZip or Archive Utility.

What happens to the folder structure inside the .zip file?

The folder structure is preserved. If your original folder contained subfolders and files organized in a specific way, that same organization will be intact when the recipient extracts the .zip file. They will see the same folder layout you had.

Is there a size limit for .zip files?

The .zip file itself has no practical size limit, but your email provider does. Gmail caps total attachments at 25 MB per message, and Outlook allows 20 MB. Compressing a folder does not make it smaller—it just bundles the files together. If your folder is already larger than these limits, you cannot send it by email, even compressed.

Can I password-protect a .zip file before sending it?

Yes, but the process varies by operating system. On Windows 10 and 11, you cannot password-protect a .zip file using built-in tools—you would need third-party software like 7-Zip. On Mac, you can right-click the .zip file (after creating it), select "Encrypt," and set a password. The recipient will need to enter the password when extracting the folder.