Skip to content
PictureToLink logoPictureToLink
Menu
Image Sharing

Gmail, Outlook and Yahoo Attachment Size Limits

The Gmail attachment size limit and the other big providers' caps, what happens when you go over, and how to send large photos by link instead.

By Mudasir Ahsan (Founder) · · Updated · 8 min read
Facts checked against official sources on

On this page

The Gmail attachment size limit is 25 MB for personal accounts. Outlook.com also allows 25 MB, Yahoo Mail allows 25 MB in total per message, and the Outlook desktop app sets 20 MB for internet accounts such as Gmail and Outlook.com. None of those numbers is the size of file you can attach. Attachments are encoded before they're sent, which makes them about a third bigger, so a file well under the headline number can still fail. For photos, compressing them or sending a link is usually easier than fighting the limit.

A person writing on a laptop in an office Photo: cottonbro studio on Pexels

Gmail attachment size limit and other providers

ServiceLimitWhat happens when you go overSource
Gmail (personal account)25 MBGmail removes the attachment and adds it as a Google Drive link insteadGmail Help
Gmail (work or school account)Set by the Google Workspace administrator, up to 25 MB on Business, Education and Enterprise Standard and up to 50 MB on Enterprise Plus (Gmail on the web only)Depends on your organization's settingsGmail Help, Workspace sending limits
Outlook.com (web)25 MBOutlook suggests sharing from OneDrive, where shared files can be up to 2 GBMicrosoft Support
Outlook desktop app with an internet account (Gmail, Outlook.com)20 MB for the whole emailError message when you attachMicrosoft Support
Outlook with an Exchange (business) account10 MB by defaultError message; administrators can change the limitMicrosoft Support
Yahoo Mail25 MB for all attachments in one message, incoming and outgoingMessage cannot be sent or receivedYahoo Help

Three details on the official pages are easy to miss.

Outlook has two numbers. Microsoft's Outlook.com page gives 25 MB for attachments. Its page about the Outlook app says the limit for internet accounts such as Outlook.com or Gmail is 20 MB and "includes both the size of the attachment and the size of the email." If you use the desktop app, plan for 20 MB.

Limits count the whole message, not each file. Yahoo says plainly that "the sum of all attached files in a single message" counts. Ten 3 MB photos make 30 MB, which is too much, even though no single photo is large.

And the receiver has a limit of their own. Yahoo's applies to incoming mail as well as outgoing. A 24 MB message sent from Gmail to a company with a 10 MB Exchange limit can bounce on their side even though Gmail accepted it. Google Workspace accounts on Enterprise Standard can receive messages of up to 50 MB, and Enterprise Plus up to 70 MB, measured after encoding (Workspace receiving limits). Your provider's number only gets the message out of the door.

How to check the total before you send

On Windows, select all the photos in File Explorer, right-click and choose Properties. The General tab shows the combined size.

On a Mac, select the photos in Finder and press Option-Command-I to open one info window with the total.

On a phone, the easiest check is to try attaching them. If the mail app warns you, or offers to send a smaller version, you're over the limit. That test isn't exact, though, since some apps quietly shrink photos instead of warning you, and then the recipient gets smaller copies than you meant to send.

A total close to the limit should be treated as over it. Encoding is the reason.

Why does a 25 MB file fail at 19 MB?

Email was designed for text, so attachments are turned into text before they travel. The standard method, Base64, is defined in the MIME specification (RFC 2045, section 6.8): every 3 bytes of your file become 4 text characters. In transit the attachment is roughly 33% larger, before counting line breaks and the message itself.

So the stated limit and the file you can send are different numbers. Four characters for every three bytes means only three quarters of the limit is left for the file. Work backwards and the results match what people run into.

Limit on the encoded messageLargest original file that fits (approx.)
25 MBabout 18.7 MB
20 MBabout 15 MB
10 MBabout 7.5 MB

Providers don't all document exactly how they measure, so use this table as a guide. Microsoft's wording, that the limit covers the attachment plus the email, is the clearest hint.

My rule is simple. If your photos add up to more than about three quarters of the stated limit, expect trouble and either shrink them or send a link. A 25 MB limit holds about 7 to 9 standard 12 MP phone photos (how we worked that out).

A link gets around the attachment limit entirely, because the email only carries a line of text. Nothing is encoded and nothing grows by a third. The recipient clicks it and the photo opens in their browser. Their inbox stays small, and it works in any email app.

To send a photo as a link with PictureToLink:

  1. Open the image uploader and drop in your photos. You can add up to 20 at once, each up to 25 MB, in JPG, PNG, WebP, GIF or AVIF. iPhone HEIC photos work too: they're converted to JPG in your browser before they upload.
  2. Choose a format from the link menu. Share page suits people best, since it opens a clean page with the photo on it. Copy all gives you every link, one per line.
  3. Paste the links into your email and send it.

Each upload is compressed and has its location data and other metadata removed before it's stored, so you won't send GPS coordinates by accident. You can have images deleted automatically after 1 hour, 1 day, 7 days or 30 days, and you get a private delete link for each one. Otherwise an image stays online while people keep viewing it and is removed after 12 months without a view. It's a sharing tool, not long-term storage.

One warning. Anyone with the link can see the photo. That's fine for holiday pictures and product shots, but not for passports, bank documents or anything else private. Our guide to sharing photos privately covers what to check before you send a link.

Compress photos before attaching

Sometimes the recipient needs the actual file, say to print it or keep it offline. Then compress the photos so they fit as attachments. Most phone photos are far larger than an email needs.

We measured our own processing on our test photos. Resizing to 1920 pixels on the long side at our "Balanced" quality setting gave these results.

Sample photoOriginalResized to 1920 pxSaved
3024 × 2016 JPG1.6 MB374 KB77.3%
3000 × 2000 JPG985 KB370 KB62.4%
4032 × 2623 JPG390 KB84 KB78.4%
5000 × 3333 JPG (night photo)2.28 MB110 KB95.2%

Look at the first row against a 25 MB limit. At 1.65 MB each, a dozen of those photos is about 19.7 MB, already past the 18.7 MB that fits. At 374 KB each, the same dozen comes to under 5 MB.

1920 pixels fills a typical laptop or monitor screen, so most people won't notice a difference on screen. Printing is different. Keep a larger version for that.

To compress without uploading anything, use our in-browser image compressor. Pick JPG or WebP, set a maximum width and download the smaller copies. If an online form or a strict mail server asks for a specific size, you can aim for a target such as 100 KB or 200 KB. Our guide on resizing and compressing images for email goes through the settings in more detail.

PictureToLink image compressor with the Email preset: two photos resized to 1920 px, each with its new size and a Download button

Two test photos after the Email preset: 985 KB down to 428 KB, and 390 KB down to 98 KB.

Some email apps can shrink photos for you. For classic Outlook for Windows, Microsoft documents an option under File → Info → Image Attachments called Resize large images when I send this message.

The new Outlook has a trap here. You can change the display size of an inserted image but not its file size, Microsoft notes, so dragging a picture smaller on screen does nothing for the limit.

Zipping photos rarely helps either, because JPG, PNG and WebP files are already compressed and a ZIP archive saves very little on top. It can even backfire. Some company mail filters hold back archive attachments for checking, so a ZIP may arrive late or not at all.

Gmail and Outlook both push you towards their own cloud storage when a file is too big, and for some jobs that's the right answer. For photos, the two options compare like this.

Cloud drive link (Google Drive, OneDrive, Dropbox)Image link (PictureToLink)
Best forLarge files, folders, originals, documentsQuickly showing one or more photos
File sizeLarge; OneDrive shares up to 2 GB from Outlook.comUp to 25 MB per image
Recipient experienceOpens a file viewer; may prompt to sign in or downloadOpens the image directly in the browser
Account neededYes, for the senderNo
Original qualityKeptCompressed and stored at up to 1920 px (choose "High quality" for minimal compression)
Location dataKept unless you remove itRemoved automatically
How long it lastsUntil you delete it, subject to your storageUntil you delete it, it expires, or 12 months without views

For full-resolution originals, raw files, videos or a whole album, use a cloud drive. PictureToLink compresses what you upload, so it's the wrong tool for those. If someone only needs to see a few photos, an image link is quicker for both of you and keeps their inbox clear.

Image Sharing

Broken Image Link? 9 Reasons Images Don't Show

Why images show as a broken icon or will not load, from expired links and hotlink blocks to wrong URLs and mixed content, and how to fix each one.

· 8 min read
Image Sharing

Markdown Image Syntax: READMEs and Docs

The Markdown image syntax with copy-ready examples, from alt text to sizing and GitHub README images, plus how to host the image file.

· 7 min read

Related calculators