Skip to main content

Does Gmail Compress Photo Attachments?

6 min readBy Viallo · Editorial standards

No, not when you attach it as a file. Gmail stores and sends a file attachment exactly as you uploaded it, with no resize and no re-encode. The two things that actually cost you quality are different: Gmail caps a single message at 25 MB combined and switches to a Google Drive link above that, and separately, inserting a photo inline with the picture icon in the compose window offers a size picker, Small, Medium, Large or Original, and anything other than Original genuinely shrinks the photo before it sends. Attach as a file and pick Original when inserting inline, and Gmail is one of the few common ways to share a photo that does not touch it.

A kraft envelope on a walnut table with photographic prints half slid out of it in warm afternoon light

Does Gmail compress photos?

Not the file itself. When you attach a photo to a Gmail message using the paperclip icon, Gmail treats it as a generic file attachment. It does not resize the image, does not re-encode it as a lower-quality JPEG, and does not strip its metadata. The bytes that arrive in the recipient's inbox are the same bytes you uploaded. That puts a plain attachment in Gmail in the same category as an email attachment generally, which is why it keeps coming up as the reliable option in comparisons of apps that compress photos by default.

That is a genuinely different answer from every messaging app on this topic, and it is worth being precise about why: Gmail was built to move files, not to optimise how a photo looks inside a chat bubble on a small screen. Nothing in its pipeline has a reason to touch the pixels of a file you attach.

The 25 MB limit, and what happens above it

Gmail's well documented ceiling is 25 MB combined per message, across all attachments together, not per file. A handful of modern smartphone photos, typically a few megabytes each, comfortably fits several times over. The limit starts to matter with many photos at once, RAW files, or video.

When a message would exceed that limit, Gmail does not shrink your photos to make them fit. It automatically uploads the attachment to Google Drive instead and inserts a shareable link in the message body. The file sitting in Drive is the same file you selected, at full resolution, and the recipient needs permission on that Drive link to open it, which is a different access model from a plain attachment and worth knowing before you rely on it for something private.

Two different buttons, two different outcomes

Gmail's compose window has two ways to add a picture, and they behave differently, which is the part of this that actually catches people out.

  • Attach file, the paperclip icon. Adds the photo as a file attachment. No resize, no re-encode, subject only to the 25 MB combined limit above.
  • Insert photo, the picture icon. Adds the photo inline in the body of the email rather than as a separate attachment, and prompts you to choose a size, Small, Medium, Large or Original. Choosing anything other than Original genuinely downscales the photo before it is sent. This is a deliberate choice you make in the picker, not something Gmail decides on its own, but it is easy to click through without noticing the size options changed.

If a recipient reports that a photo you sent through Gmail looks soft, the first thing worth checking is which of these two buttons was used, and if it was Insert photo, which size was selected.

What happens with Google Drive and Google Photos

A photo uploaded to Google Drive, whether directly or through the automatic 25 MB fallback above, is stored as a generic file with no compression applied, the same way any other file type is stored there. Google Photos is a separate product with its own storage and backup settings, and if you insert a photo into a Gmail message from Google Photos rather than from your device, what gets inserted reflects whatever quality that photo was backed up at in Photos, which is a setting worth checking there rather than assuming.

Gmail against the other ways people send a photo

MethodResizes or re-encodes by defaultWhat limits it instead
Gmail, attach as fileNo25 MB combined per message
Gmail, insert photo inlineOnly if you pick less than OriginalThe size you choose in the picker
WhatsAppYes, alwaysSee what WhatsApp does to photo quality
DiscordNoFile size limit by account or server tier
Google Drive linkNoDrive storage quota, not a per-file cap
VialloNoNothing, the download button returns the stored file

Where Gmail stops being the right tool

Gmail attaching or Drive linking is a solid answer for a handful of photos going to one person. It stops being a good fit at album scale: a Drive link served through the automatic 25 MB fallback shows a flat file list, not a gallery, and organising dozens or hundreds of photos into folders for every recipient gets tedious fast. That is the gap covered in how Google Drive actually handles your photos, and it is also the reason a dedicated photo sharing platform exists at all: Viallo stores an album at full resolution and serves it as a real gallery through one link, which the recipient opens in a browser without a Google account and without hitting a size limit partway through.

Frequently Asked Questions

Does Gmail reduce photo quality when you attach a file?

No. A photo attached with the paperclip icon is stored and sent exactly as uploaded, with no resize and no re-encode. The only ceiling is the 25 MB combined limit per message, across all attachments together.

Why does an inline photo in Gmail look worse than the original?

Inserting a photo with the picture icon, rather than attaching it as a file, opens a size picker with Small, Medium, Large and Original options. Anything other than Original genuinely downscales the photo before sending. Choosing Original, or attaching as a file instead, avoids this.

What happens if my photos are over Gmail's 25 MB limit?

Gmail automatically uploads the attachment to Google Drive and inserts a shareable link in the message instead of attaching it directly. The file itself is not shrunk. The recipient needs permission on that Drive link to open it, which is a different access model from a normal attachment.

Is Gmail a good way to share a whole album of photos?

For a handful of photos to one person, yes. For dozens or hundreds of photos meant to be browsed rather than downloaded one file at a time, a Drive link becomes a flat file list rather than a gallery. A platform built for albums, like Viallo, serves the same full resolution as a browsable gallery through one link.

Does Gmail strip EXIF data like GPS location from photo attachments?

No. A file attached with the paperclip icon is passed through unchanged, metadata included, since Gmail is not re-encoding the image at all. If you want location data removed before sending, that has to be done to the file itself beforehand.

In their words

Real experiences from people using Viallo to share their photos.

  • I'm in Portland and my parents are in Perth, so there's basically a full day between us. We're never awake at the same time. I drop the weekend's photos into an album before bed, and by the time I'm up my mum has been through every one on her iPad and texted me about the dog. She is not a tech person, not even slightly, so that part still gets me.
    Verified Viallo user
  • Half my friends are on iPhones and half on Android, so every trip used to end the same way. Three different shared albums, and everyone going 'wait, can you send me that one?' After Croatia this summer we just put everything into one Viallo album instead. It was the first time I came home with all of the photos and not only the handful I happened to take myself.
    Verified Viallo user
  • I sent them a suggestion for a small thing I kept wishing the app did, half expecting one of those 'thanks, we'll add it to the list' replies that never go anywhere. Two days later they wrote back to say it was already live. I had to open the app and check for myself, because honestly, who actually does that?
    Verified Viallo user

Related articles