Skip to content
ImageDoctor
Optimisation5 min read

How to resize photos for email and stay under the attachment limit

Personal email services cap a message at 20 to 25 MB, and attachments grow by about a third on the way. A few full-size photos can fill that. Resizing them to screen size fixes it in a minute.

Processed locally in your browser

Personal email services cap a message at roughly 20 to 25 MB, attachments included: 25 MB for Gmail and Yahoo Mail, and 20 MB in Microsoft's guidance for Outlook.com. To email photos comfortably, resize them to about 1600–2048 pixels on the long edge and save them as JPEG at quality 80 — or send a link to the originals instead. Attachments also grow by about a third when they are sent, so leave plenty of room under the limit.

Email attachment size limits

ServiceLimitWhat happens over it
Gmail (personal)25 MBGmail removes the attachment and adds it as a Google Drive link instead
Outlook.com20 MB, including the message itselfOutlook shows an error; Microsoft suggests sharing a OneDrive link
Yahoo Mail25 MB for all attachments in one messageSend fewer or smaller files, or a link
Work accounts on Microsoft 365Set by your organisation; 35 MB to send by defaultAsk your IT team for the actual figure

Sources, checked on 4 November 2026: Gmail Help, Microsoft's Send large files with Outlook and Exchange Online limits, and Yahoo Help. Providers change these, so check if you are near the edge. The person receiving the email has a limit too, set by their provider, so the smaller of the two is the one that counts.

Why a 20 MB attachment can still be too big

Email was designed for text, so attachments are converted to text before sending, using an encoding called Base64. It turns every 3 bytes into 4 characters (RFC 2045), which makes the attachment about a third bigger in transit. Microsoft spells this out for its own service: messages leaving its datacentres are subject to a 33% encoding increase, and Outlook on the web limits what you can attach to 25% less than the configured maximum for that reason.

Gmail's help page doesn't say whether its 25 MB is measured before or after that encoding. The safe assumption is that it might be: keep the total of your attachments to about three quarters of the limit — roughly 15 MB for a 20 MB limit, or 18 MB for 25 MB. Our Base64 explainer covers why the encoding adds a third.

What size should photos be for email?

For looking at on a phone or laptop, far smaller than the camera's original: a photo with more pixels than the screen it is viewed on is simply shrunk for display. File size roughly follows the number of pixels, which is why resizing does most of the work:

Long edgePixels in a 4:3 photoShare of a 4000 × 3000 originalGood for
4000 px (original)12.0 million100%Printing, editing — send as a link
2048 px3.1 millionAbout 26%Viewing full-screen, and small prints
1600 px1.9 million16%Viewing on screen, the usual email size
1024 px0.8 millionAbout 7%Quick previews, many photos in one message

Downscaling like this doesn't make a photo look worse on screen; done properly it can even look slightly crisper. Enlarging is the direction that loses quality, as our guide to resizing without losing quality explains. JPEG at quality 80 is a good balance for photos, and every device and mail app opens JPEG.

Resize a batch of photos for email

  1. Add the photos to Batch Image ToolsDrop up to 500 photos into Batch Image Tools. They are processed in your browser, a few at a time, and not uploaded to ImageDoctor.
  2. Switch on Resize and choose Max boxSet a box of 2048 × 2048 (or 1600 × 1600). Each photo is scaled down to fit inside it with its proportions kept. With Don't upscale on, which is the default, photos that are already smaller are left as they are.
  3. Compress as JPEG at quality 80In the Compress step, set the output format to JPEG and the quality to 80. The batch tool starts on WebP, which is great for websites; for email, JPEG is the safer choice because it is the one photo format every device and mail app can be relied on to open.
  4. Leave Strip metadata onPhotos straight from a phone can carry the GPS location where they were taken. Removing it before sending to people outside your family is a good habit; see does your photo contain its location?.
  5. Download, check the total, attachDownload the results as a ZIP, unzip, and check the combined size before attaching.

For a single photo, the Image Resizer does the same job, and the Image Compressor can hit an exact file size if a form or a mailbox gives you one.

Does zipping photos make them smaller?

Not noticeably. JPEG files are already compressed, so a ZIP of JPEGs is about the same size as the photos themselves. Zipping is useful for keeping a set together in one attachment, not for getting under a limit. Resizing is what makes the difference.

  • The recipient needs the originals — to print large, to edit or to archive. Resizing throws away the pixels they need.
  • There are dozens of photos, or videos, which no resizing will fit into one message.
  • You are on Gmail and over 25 MB. Gmail does this for you, replacing the attachment with a Google Drive link. Outlook and other services point you to OneDrive, Dropbox, iCloud or Google Drive.

A shared link has its own trade-off: anyone with it may be able to open the files, depending on how you share them. Check the sharing setting before you send.

Common questions

25 MB for personal Gmail accounts, according to Gmail's help page (checked 4 November 2026). If your attachments are bigger, Gmail replaces them with a Google Drive link.

Attachments are encoded as text when sent, which makes them about a third larger, and the message text counts too. Keep the total to about three quarters of the limit, or resize the photos.

It depends on their size, not their number. Resize them first, add up the sizes of the resized files, and keep the total to about three quarters of your provider's limit.

It reduces its resolution, which you won't see on a screen at normal size. It matters only if someone wants to print the photo large or crop into it, in which case send the original as a link.

Tools in this article

Format reference

All blog