How to Compress an Image for Email: Size Limits, Targets and Free Tools
Gmail, Outlook.com and iCloud Mail limits, why files grow in transit, what size to aim for, and how to compress a photo free.
Quick answer
Gmail and Outlook.com allow 25 MB of attachments and iCloud Mail 20 MB, but email encoding makes files about a third bigger in transit. Keep the total near 18 MB, or compress each photo to a set size first.
- The limits
- Gmail personal accounts 25 MB, Outlook.com 25 MB per file, iCloud Mail 20 MB per message or up to 5 GB with Mail Drop.
- Why it bounces
- Attachments are sent as Base64 text, which turns every 3 bytes into 4 characters. A 20 MB photo set travels as roughly 27 MB.
- How to shrink
- Set a target size in the free image compressor on this site, pick JPEG, and download a copy at or under that size.
- When to use a vault
- When the full-size originals are private and should stay on the phone behind their own code while small copies go out.
Best overall: Stash
Mail and Photos send what is in the library, at full size and with its metadata, and the originals keep syncing with iCloud Photos. Stash keeps chosen originals apart: a working calculator whose PIN opens a vault, with every item encrypted on the iPhone with AES-256 before it is saved. Photos moved there are not uploaded by iCloud Photos, and only the small copies you make for email leave the phone. Stash is free to download with no ads, so private originals can move in straight away.
Email attachment limits by provider
Every mail service sets a ceiling on how big a message may be. The figures below are from each provider's own help pages, as of 2 December 2026.
- Gmail: "For personal Gmail accounts, the limit is 25 MB." Above that, Google says Gmail "automatically removes the attachment" and adds it as a Google Drive link instead. For work and school accounts, the Google Workspace administrator sets the limit (Gmail Help).
- Outlook.com: "The attachment size limit for files is 25 MB," and "The attachment size limit for OneDrive files is 2GB" (Sending limits in Outlook.com).
- iCloud Mail: Apple lists "The size of incoming and outgoing messages (20MB, up to 5GB with Mail Drop turned on)" (Mailbox size and message sending limits in iCloud).
The receiving side matters too. A message has to fit the smaller of the two limits: your provider's for sending and the recipient's for receiving. A company mailbox can be stricter than either of the public services above.
Why a 25 MB limit holds only about 18 MB
Email was designed for text, so attachments are converted into text before they are sent. The standard method is Base64, defined in RFC 2045, which "represents 24-bit groups of input bits as output strings of 4 encoded characters." Three bytes of photo become four characters of text: a third more. The same section limits encoded lines to "no more than 76 characters," and each line break adds two more characters.
Put together, every megabyte of photo travels as roughly 1.37 MB of message. The arithmetic for the common limits:
- 25 MB limit (Gmail, Outlook.com): about 18 MB of attachments.
- 20 MB limit (iCloud Mail without Mail Drop): about 14.5 MB of attachments.
Leave a little room for the message text and any signature images, and these are the numbers to plan with. This is why an email with "only" 22 MB of photos can bounce from a 25 MB mailbox.
What size to aim for
There is no single right size; it depends on what the recipient will do with the photo. Pixel size and file size go together, so pick by purpose:
- To look at on a phone or laptop: a few hundred kilobytes per photo is usually plenty. A photo about 2,000 pixels on its long side fills most screens.
- To zoom into or crop: 1 to 3 MB keeps more detail.
- To print or edit professionally: send the original through a link instead of an attachment. Compression is not the right tool when every pixel matters.
Then divide your budget. Ten photos for viewing at 300 KB each are about 3 MB, well inside any limit. Ten full-size originals may not fit at all.
To see how big a photo is on iPhone, open it in Photos and swipe up or tap the Info button; Apple's guide See photo and video information on iPhone describes this panel.
How to compress a photo for email on iPhone
The free image compressor on this site aims at a file size, not a quality number. It runs in the browser tab: the photo is decoded and re-encoded on your own device, with no upload and no account.
- Open Safari and go to the image compressor.
- Choose a target, for example 200 KB or 1 MB, or type your own.
- Pick JPEG. Every mail program opens it; WebP is smaller but not every recipient's software shows it.
- Tap the drop area, then Photo Library, and choose the photo. Safari opens iPhone HEIC photos, so they work here directly.
- Compare the size before and after, then tap Download compressed image. The copy lands in Downloads in the Files app.
- In Mail, tap the attachment button and pick the file from Files.
The tool tries quality levels until the file is at or under the target and keeps the best-looking one that fits. If low quality alone cannot reach the target, it also reduces the width and height and says so. It counts 1 KB as 1,000 bytes, so a file that fits 100 KB this way also fits a form that counts 1,024.
On a computer the steps are the same. Chrome, Edge and Firefox do not open HEIC, so convert iPhone photos first with the HEIC to JPG converter, which handles up to 30 at once. When you need an exact pixel size instead of a file size, use the image resizer.
Other ways to send big photos from iPhone
- Mail Drop. When attachments are "larger than your Internet Service Provider (ISP) limit," Apple says Mail will offer Mail Drop, which uploads them to iCloud and sends a link. It handles up to 5 GB, the files expire after 30 days, and they "don't count against your iCloud storage" (Mail Drop limits).
- Gmail's Drive link. Above 25 MB, Gmail swaps the attachment for a Google Drive link automatically.
- OneDrive from Outlook.com. Files shared from OneDrive can be up to 2 GB.
- Format choice when sharing. In the Share Sheet, Options > Most Compatible may convert files to JPEG or MOV, Apple says. That helps a recipient who cannot open HEIC; it does not aim at a size.
Apple also notes that iPhone photos are saved in HEIF by default, which takes less space than JPEG, and that sending to a device without HEIF support may convert the photo to JPEG (Using HEIF or HEVC media on Apple devices).
What the recipient gets
Apple's iPhone User Guide says, as of 2 December 2026, that "Sharing a photo or video includes sharing its associated metadata, such as date and time, location, device, and captions" (Share photos and videos on iPhone). The way you send decides how much of that goes along. This table is based on the Apple, Google and Microsoft pages above and the tools on this site.
| How you send | File size | Date, place and device data | Where the file sits afterwards |
|---|---|---|---|
| Original attached in Mail | Full size | Sent with the photo | The recipient's mailbox |
| Copy from the image compressor | At or under your target | Not included: the copy is drawn from pixels only | The recipient's mailbox |
| Mail Drop link | Full size | Sent with the photo | iCloud for 30 days, plus wherever it is downloaded |
| Gmail Drive link | Full size | Sent with the photo | Your Google Drive |
| OneDrive link from Outlook.com | Full size | Sent with the photo | Your OneDrive |
A compressed copy is the only row where the location and camera details stay behind automatically. For the full picture on metadata, see EXIF metadata in iPhone photos.
When built-in sharing is enough
Mail, Mail Drop and cloud links do the job when:
- The photos are for someone who needs the full originals, such as a printer or an editor.
- The total, after the one-third encoding overhead, fits the smaller of the two mailbox limits.
- The location and date in the files are fine for the recipient to see.
- You want the photos to stay in your library and in iCloud Photos.
When you need more than built-in sharing
Look further when:
- The photos must be small. An upload form or a strict company mailbox may cap each file at a few hundred kilobytes.
- The metadata should stay home. Sending the original sends its date, place and device; a compressed copy does not carry them.
- The originals are private. Photos in the library open with the phone's passcode and sync to every device on the Apple Account.
- The link should not live on in the cloud. A Drive or OneDrive link points at a file that stays in your cloud storage until you delete it.
How to keep originals private with Stash
Stash looks and works like a calculator. A PIN you choose opens the vault, and items are encrypted on the iPhone with AES-256 before they are saved, with the key kept in the iOS Keychain.
- Install Stash on an iPhone or iPad with iOS 15 or later, choose a PIN and save the recovery key that Stash shows once during setup.
- Make the small copies you want to send with the image compressor first, and attach those in Mail.
- In the vault, tap + and import the full-size originals. Stash copies them in.
- In Photos, delete the originals, then empty Utilities > Recently Deleted so they also leave iCloud Photos.
- Later, open a photo in the vault and use Share from its menu when you need to send it again; the shared item is a readable copy.
From then on the originals stay behind the calculator and its PIN, and only the copies you chose to send leave the phone.
FAQ
What is the maximum attachment size for email?
Gmail personal accounts and Outlook.com allow 25 MB, and iCloud Mail 20 MB per message. Work and school accounts can have lower limits set by an administrator.
Why does my email bounce when the attachment is under 25 MB?
Encoding makes the attachment about a third larger in transit, and the recipient's server may have a lower limit. Keep the total near 18 MB for a 25 MB limit.
How do I reduce the size of a photo on iPhone for email?
Open the free image compressor in Safari, set a target such as 500 KB, pick JPEG and choose the photo. Download the copy and attach it from the Files app.
Does compressing a photo remove its location?
With the image compressor on this site, yes. The compressed file is drawn from the pixels only, so it has no GPS, date or camera data.
Is JPEG or WebP better for email?
JPEG, because every mail program and computer opens it. WebP is smaller at the same quality, but some older software cannot show it.
Can I compress several photos at once?
The image compressor handles one photo at a time. For a batch of iPhone photos, the HEIC to JPG converter takes up to 30 and lets you set the JPEG quality, which also shrinks them.
What is Mail Drop?
Apple's way to send attachments up to 5 GB from Mail. The files are stored in iCloud for 30 days and the recipient gets a link.
How many megabytes can Gmail send?
Gmail personal accounts allow 25 MB of attachments. Above that, Google says Gmail removes the attachment and adds it as a Google Drive link instead. Because of encoding, keep the files near 18 MB in total.
The Bottom Line
To compress an image for email, start from one fact: a 25 MB limit fits about 18 MB of photos, because Base64 encoding turns every three bytes into four characters. Gmail and Outlook.com stop at 25 MB, iCloud Mail at 20 MB, and the recipient's server can be stricter.
For viewing on a screen, a few hundred kilobytes per photo is enough, and a compressor that aims at a file size gets you there in one step, without the location and camera details. For prints and edits, send the originals as a Mail Drop, Drive or OneDrive link. The table above shows what each route sends along. Keep the full originals where they belong, and give the private ones a lock of their own.
·Written by the developer of Stash
Save this guide
Download this guide as an image