Email Attachment Size Limits: Gmail, Outlook, Yahoo, iCloud

Last updated: 2026-10-22 · Checked and published by Leo, who runs Hanji

Attachment limits from each provider's own help page, why a 20 MB file fails at 25 MB, and measured ways to shrink photos and PDFs so they fit.

“File size exceeds the limit” is the email error that always shows up five minutes before a deadline. The limit is rarely a surprise on its own; what surprises people is that a 20 MB file can fail on a service that advertises 25 MB. This guide lists the limits that the big providers publish on their own help pages, explains the arithmetic behind that gap, and then walks through the ways to make a file fit, in the order that costs you the least quality. The measurements are from Hanji’s own tools, run on 22 October 2026.

The limits, from each provider’s help page

Every number below was read from the provider’s own help page on 22 October 2026. Providers change these figures from time to time, so if a send fails close to the line, check the page again. Where a provider’s page did not state a number, the table says so instead of guessing.

Service Normal limit Big files
Gmail (personal) 25 MB Drive link, files up to 5 TB
Gmail (work, school) Set by admin Drive link
Outlook.com 20 MB OneDrive link, files up to 250 GB
Microsoft 365 (work) Set by admin; default 35 MB to send OneDrive or SharePoint link
Yahoo Mail 25 MB per message Another storage service
iCloud Mail No number on Apple’s page Mail Drop: 5 GB, 30 days

What the short cells leave out:

  • Gmail: the 25 MB is for personal accounts. Above it, Gmail removes the attachment and inserts a Google Drive link. For work or school accounts the Google Workspace administrator sets the sending and receiving limits, and the help page gives no number.
  • Outlook.com: 20 MB counts the attachment and the message together. Microsoft’s advice for bigger files is to upload them to a cloud service such as OneDrive and paste the link.
  • Microsoft 365 work accounts: Microsoft documents a default of 35 MB for sending and 36 MB for receiving, which an administrator can change from 1 MB to 150 MB. Outlook for iOS and Android is listed at 33 MB.
  • Yahoo Mail: 25 MB is the total of all attachments in one message, for incoming and outgoing mail alike. The help page describes no large-file feature, so share a link from a storage service you already use.
  • iCloud Mail: Apple’s Mail Drop page gives no normal limit; it says Mail offers Mail Drop when a message is over your provider’s limit. Mail Drop takes up to 5 GB per message, attachments expire after 30 days, and 1 TB is the total across all your Mail Drop files.

Sources, all checked on 22 October 2026:

Two things the table cannot show. First, there are two limits in every send: yours and the recipient’s. A message that leaves your 25 MB account can still bounce from a company server that allows 10 MB. Second, the number is for the whole message, not the file. Microsoft’s own page says its 20 MB “includes both the size of the attachment and the size of the email”.

Why a 20 MB file can fail at 25 MB

Email was designed for text. To carry a binary file such as a PDF or JPG through a text system, your mail program re-encodes it as base64: every 3 bytes of the file become 4 text characters. That alone adds a third. Mail standards also break the text into lines of 76 characters plus a line break, which adds a little more.

We measured it. A short script in Node generates files of random bytes (which cannot be compressed, like a JPG), encodes each one the way an email attachment is encoded, and counts the bytes:

File (bytes) Base64 With line breaks
1,000,000 1,333,336 1,368,422
10,000,000 13,333,336 13,684,212
18,000,000 24,000,000 24,631,578
20,000,000 26,666,668 27,368,422

Growth: +33.3% for plain base64, +36.8% with the line breaks.

So the 20 MB file travels as roughly 27.4 MB, which is over a 25 MB limit. Working backwards, the biggest file that still fits in 25,000,000 bytes after encoding is 18,269,232 bytes, about 18.3 MB. If the limit is read as 25 MiB (26,214,400 bytes) the figure is about 19.2 MB. Either way, plan on a file about a quarter smaller than the limit, and leave room for the message text and a signature with images.

The script is short enough to check yourself: Buffer.from(bytes).toString('base64') gives the plain figure, and inserting \r\n after every 76 characters gives the second.

Making the file fit

Work down this list and stop when the message goes through. The steps are ordered by how much quality you give up, least first.

1. Compress the PDF

A PDF made from phone photos is mostly photographs, and those are usually far bigger than a screen needs. Compress PDF shrinks the images and keeps the text as text. If you know the size you need, open it with a target, for example 1 MB or 500 KB; the tool tries gentler settings first and stops at the first one that fits. The PDF-size guide shows what each setting does to the page.

2. Shrink the photos

Phone photos are 3 to 6 MB each, and a screen rarely needs more than a few hundred KB. Compress Image takes a size per photo, for example 200 KB each. Ten such photos stay far below any mail limit. If the recipient needs the originals for printing, do not shrink them; use a link instead (see below).

3. Convert HEIC to JPG

iPhone photos saved as HEIC often cannot be opened by the person on the other end. HEIC to JPG converts them. JPG files are usually bigger than the HEIC they came from, so convert first and compress after. The HEIC guide explains why the format exists.

4. Merge many scans into one PDF, then compress

Ten attachments are ten chances for something to go wrong, and each is a separate download for the reader. Image to PDF puts photos into one PDF in the order you choose, and Merge PDF joins PDFs you already have. Compress the one result afterwards. One merged file also lets you aim the compression at a single size for the whole document.

5. Send only the pages that are needed

If the recipient asked for the signature page, a 40-page PDF is the wrong thing to send. Split PDF extracts the pages you pick into a new file. Fewer pages means each remaining page can keep more quality under the same limit.

6. Zip it, but do not expect much

A ZIP is worth it when you have many files and want one attachment, or when the files are text, spreadsheets or other uncompressed data. It does almost nothing for JPG and PDF files, which are already compressed. In our test, zipping ten 3.9 MB photos (39,135,718 bytes) saved 0.7%. Zipping the 29 MB PDF below saved 0.9%. Compress the files first; zip only to bundle.

What it looks like on real files

To check these steps against the tools rather than against theory, we generated two sets of test files on 22 October 2026 and ran them through Hanji in Chrome on Windows. They are synthetic, not real photographs, built to be as large and as noisy as phone files (12 megapixel, JPG quality 92, with camera-like noise), so real results will differ. Sizes use 1 MB = 1,000,000 bytes.

Ten phone-style photos, 4032×3024, about 3.9 MB each, 39.1 MB together (too big for any mail limit above, and far over Gmail’s 25 MB):

Compress Image target per photo Total for ten
1 MB 9.47 MB
500 KB 4.92 MB
200 KB 1.96 MB (largest single file 199,527 bytes)

Ten phone-style photos of paper pages, 29.1 MB together, made into one PDF:

Step Size
Ten page photos 29.13 MB
After Image to PDF (one PDF) 29.13 MB
Compress PDF, images only, normal strength 1.69 MB
Compress PDF, target 1 MB 0.92 MB
Compress PDF, target 500 KB 325 KB
Compress PDF, target 200 KB not possible; the tool says so instead of returning an unreadable file
Split PDF, pages 1 to 3 of the uncompressed PDF 8.75 MB
Split PDF, pages 1 to 3 of the 1 MB version 278 KB

The first line is the one to remember: putting photos into a PDF does not make them smaller. The size comes back out of the compression step. Counting base64 growth, the 1.69 MB result travels as about 2.3 MB, which is comfortable even for a 10 MB company limit.

When the file is still too big

Stop trying to squeeze it into the message and send a link:

  • Gmail does this by itself above 25 MB: it replaces the attachment with a Drive link. Check the link’s sharing setting before you send, so the person you are writing to is allowed to open it.
  • Outlook and Microsoft 365: upload to OneDrive, then paste the link, as Microsoft’s own page advises.
  • iCloud Mail: Mail Drop does this for you up to 5 GB. The files disappear after 30 days, so tell the recipient to download them promptly.
  • Yahoo Mail has no built-in route, so use a storage service you already have.

A few habits that save a second email: say in the message how big the file is and what it is; if it is a link, say when it stops working; and check whether the recipient’s organisation blocks links from outside, which some do.

Quick answers

Can I make a file smaller by renaming it or changing its extension? No. The extension is a label; the bytes stay the same.

Does it help to send the files in several emails? Yes, if each message is under the limit, and it is sometimes the only option for a recipient who cannot receive links. Number them in the subject lines.

Why does the limit seem lower on my phone? The apps differ. Microsoft lists 33 MB for Outlook on iOS and Android, for example, against up to 150 MB for Outlook on a PC. If a send fails on one device, try it on another.

For limits on web forms and application portals, which work differently, see Photo too large to upload?.

Guides