How to Add an Attachment to an Email (Every Platform Covered)

Adding an attachment to an email sounds simple — and usually it is. But between different email clients, devices, operating systems, and file types, the exact steps vary more than most people expect. Whether you're sending a PDF from your laptop, a photo from your phone, or a spreadsheet through a web browser, here's a clear breakdown of how email attachments actually work and what to watch for.

What Is an Email Attachment, Technically?

An email attachment is a file encoded and sent alongside the body of an email message. Under the hood, the file is converted into a text-based format (using MIME encoding) and bundled into the email's data package. When the recipient's email client receives it, the file is decoded and made available to download or open.

This process happens automatically — you never see the encoding step — but understanding it helps explain why file size limits exist and why some file types get blocked by certain email providers.

How to Attach a File: By Platform

📧 Gmail (Web Browser)

  1. Open Gmail and click Compose
  2. At the bottom of the compose window, click the paperclip icon
  3. Browse your computer for the file you want to attach
  4. Select the file — it will upload and appear at the bottom of the email
  5. Send when ready

Gmail also lets you drag and drop a file directly into the compose window, which is often faster.

Outlook (Web and Desktop)

On the web (Outlook.com or Microsoft 365):

  1. Click New Mail
  2. Select Attach (or the paperclip icon) in the toolbar
  3. Choose Browse this computer or select a file from OneDrive
  4. The file uploads and attaches to your message

In the Outlook desktop app:

  1. Open a new email
  2. Go to the Insert tab in the ribbon
  3. Click Attach File
  4. Choose from recent files or browse your computer

Apple Mail (Mac and iPhone/iPad)

On Mac:

  • Click the paperclip icon in the toolbar, or go to Message > Attach Files
  • You can also drag a file from Finder directly into the email body

On iPhone or iPad:

  1. Start a new email
  2. Tap and hold in the body of the email to bring up the context menu
  3. Tap the arrow to reveal more options, then select Attach File or Insert Photo or Video
  4. Browse your Files app or Photo Library

Android (Gmail App)

  1. Tap Compose
  2. Tap the paperclip icon or the three-dot menu, then select Attach file
  3. Choose from your device storage, Google Drive, or other connected sources

File Size Limits: What Every Platform Enforces

This is where people run into the most friction. Every major email provider caps how large an attachment can be.

Email ProviderAttachment Size Limit
Gmail25 MB per email
Outlook / Hotmail20 MB per email
Yahoo Mail25 MB per email
Apple Mail (iCloud)20 MB (larger files via Mail Drop)
ProtonMail25 MB per email

These limits apply to the encoded file size, which is slightly larger than the original file due to MIME encoding — typically around 33% larger. A 20 MB file may actually push against a 25 MB limit once encoded.

What Happens When a File Is Too Large?

Most email clients will warn you before sending. The common workarounds include:

  • Cloud sharing links — Upload the file to Google Drive, Dropbox, or OneDrive and paste a shareable link into the email body instead
  • Compress the file — ZIP compression can meaningfully reduce file sizes, especially for folders or uncompressed images
  • Apple Mail Drop — Apple automatically offers Mail Drop for large attachments, temporarily hosting files on iCloud and sending a download link instead

File Types That Get Blocked 🚫

Some file types are blocked outright by email providers, regardless of size. This is a security measure targeting file formats commonly used to deliver malware.

Commonly blocked or restricted types include:

  • .exe (Windows executables)
  • .bat, .cmd, .vbs (script files)
  • .js (JavaScript files)
  • .iso (disk image files)

If you need to send a file in one of these formats, the standard workaround is to compress it into a .zip archive — though some providers now scan and block suspicious ZIP contents too.

Generally safe and universally accepted types:

  • Documents: .pdf, .docx, .xlsx, .pptx
  • Images: .jpg, .png, .gif, .webp
  • Archives: .zip (in most cases)
  • Plain text: .txt, .csv

Multiple Attachments and Batch Sending

Most email clients let you attach multiple files in a single email. You simply repeat the attach process for each file, or select multiple files at once in the file picker (using Shift+Click or Ctrl/Cmd+Click).

Keep in mind that the size limit applies to the total email, not per file. Five 6 MB files will hit Gmail's 25 MB ceiling just as surely as one 25 MB file.

Variables That Affect Your Experience

How smoothly this process goes depends on several factors specific to your situation:

  • Your email provider — different clients have different interfaces, size limits, and blocked file type policies
  • Your device and OS — attaching files on a smartphone involves navigating your device's file system, which behaves differently across iOS, Android, and specific manufacturer skins
  • The recipient's email setup — even if you send successfully, their provider may strip or quarantine certain file types on arrival
  • Network connection speed — large file uploads depend on your upload bandwidth, not just the email platform
  • Corporate or institutional email — IT-managed accounts often have stricter attachment policies, lower size limits, or different approved file types than consumer email services

Whether a simple drag-and-drop works, or whether you need a cloud workaround, often comes down to the specific combination of your email client, your file, and what's waiting on the other end.