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 browserPersonal 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
| Service | Limit | What happens over it |
|---|---|---|
| Gmail (personal) | 25 MB | Gmail removes the attachment and adds it as a Google Drive link instead |
| Outlook.com | 20 MB, including the message itself | Outlook shows an error; Microsoft suggests sharing a OneDrive link |
| Yahoo Mail | 25 MB for all attachments in one message | Send fewer or smaller files, or a link |
| Work accounts on Microsoft 365 | Set by your organisation; 35 MB to send by default | Ask 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 edge | Pixels in a 4:3 photo | Share of a 4000 × 3000 original | Good for |
|---|---|---|---|
| 4000 px (original) | 12.0 million | 100% | Printing, editing — send as a link |
| 2048 px | 3.1 million | About 26% | Viewing full-screen, and small prints |
| 1600 px | 1.9 million | 16% | Viewing on screen, the usual email size |
| 1024 px | 0.8 million | About 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
- 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.
- 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.
- 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.
- 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?.
- 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.
When to send a link instead
- 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
Tools in this article
Format reference
Keep reading
- How to resize an image without losing qualityWhy downscaling is safe and upscaling isn't, how to keep a resized image sharp, the DPI myth, and the right order to resize, convert and compress in.
- Base64 images and data URIs: what they are and when to use themWhat a Base64 image and a data URI are, how to use one in HTML, CSS and JSON, why they're a third larger, and when a normal image file is the better choice.
- Does your photo contain its location? How to checkHow to tell whether a photo carries GPS coordinates, how to check on iPhone, Android, Windows and Mac, and how to remove the location before you share it.