How to add a GIF to an email, and keep it small enough to send

Put the GIF in the body of the message instead of attaching it: drag it into the compose window, or in Outlook choose Insert, then Pictures. Microsoft's Outlook help says animated GIFs can be added this way. If a reader sees only the first frame, animation is off in their app, so make frame one a good picture. Keep the file small: our 3-second photo clip was 1,599,805 bytes at 480 px.

By ·

Gmail: drag the GIF into the message

Google's help page on attaching files in Gmail says you can add an image on a computer by dragging it into the compose window. The page does not mention GIFs, so we cannot cite Google on whether Gmail plays one, and we did not send test emails through Gmail to find out.

On an iPhone or iPad, Google's page for that platform says a single photo goes into the message text, while several photos become attachments, and that Send inline moves an attachment into the text. The attachment limit for a personal Gmail account is 25 MB, and larger files become Drive links.

Outlook: Insert, Pictures, and why it can show one frame

According to Microsoft's help page on adding graphics in Outlook, you can add an animated GIF with Insert, Pictures, then Insert, and Microsoft 365 also has Online Pictures. The page covers Outlook for Microsoft 365, 2024 and 2021, and says to limit the size and number of graphics because they make a message bigger.

If the GIF looks frozen, Microsoft's article on animated graphics that do not work says Outlook plays animated graphics in the body of a message by default, so a still picture probably means animation was turned off. On Windows 10, turn on Show animations in Windows. On Windows 11, open Settings, Accessibility, Visual effects, and turn on Animation effects.

The same article lists File, Options, Advanced, Play animated GIFs for older Microsoft 365 versions, and a workaround: on the Message tab choose Actions, then View in Browser. A reader whose app has animation off sees only the first frame, whatever you do, which is why the first frame matters.

Apple Mail: attach or drag the file in

Apple's Mail guide on adding attachments says you can drag files from the desktop, the Finder or an app into a message, or choose Attach, then Photos. Images go in at their actual size, with a size pop-up when one is available, and Mail Drop can keep large attachments in iCloud for up to 30 days. The page does not mention GIFs, and we did not test how Apple Mail plays one.

How big should an email GIF be? Measured bytes at 600, 480 and 320 px

Common advice is close but not identical. Twilio's guide suggests 500 KB to 1 MB and a width of 600 px or less, and Mailchimp says to keep GIFs under 1 MB whenever possible. Neither shows what those limits mean for a real file, so we measured one.

The clip is a 3-second slow zoom on one of our own product photos, made with the same zoom maths as our Zoom GIF tool. It is a hard case, because every pixel changes in every frame. We wrote it as a GIF at 600, 480 and 320 px wide, at 5, 10 and 15 frames per second, with 255, 127 and 63 colours. In the table, 500 KiB is 512,000 bytes and 1 MiB is 1,048,576 bytes.

One 3-second clip as a GIF, in bytes
Width and colours15 fps (45 frames)10 fps (30 frames)5 fps (15 frames)
600 px, 255 colours3,371,200, over 1 MiB2,328,732, over 1 MiB1,192,670, over 1 MiB
600 px, 127 colours2,655,304, over 1 MiB1,851,991, over 1 MiB927,707, under 1 MiB
600 px, 63 colours1,899,259, over 1 MiB1,332,768, over 1 MiB693,354, under 1 MiB
480 px, 255 colours2,307,844, over 1 MiB1,599,805, over 1 MiB821,287, under 1 MiB
480 px, 127 colours1,807,432, over 1 MiB1,257,221, over 1 MiB647,297, under 1 MiB
480 px, 63 colours1,302,067, over 1 MiB912,338, under 1 MiB476,448, under 500 KiB
320 px, 255 colours1,158,620, over 1 MiB810,387, under 1 MiB423,758, under 500 KiB
320 px, 127 colours914,818, under 1 MiB645,686, under 1 MiB335,485, under 500 KiB
320 px, 63 colours687,423, under 1 MiB476,093, under 500 KiB235,849, under 500 KiB

Of the 27 files, 5 are under 500 KiB and 14 are under 1 MiB. At 480 px and 10 fps with 255 colours the file is 1,599,805 bytes, and at 600 px it is 2,328,732. Halving the rate from 10 to 5 fps at 480 px took it from 1,599,805 to 821,287 bytes, and 63 colours instead of 255 took it from 1,599,805 to 912,338.

So width and frame rate decide the size more than colours do. A narrow, slow GIF is the one that stays small: at 320 px and 5 fps this clip stayed under 500 KiB at every colour setting we tried. Your own clip will land elsewhere, so read the byte count of your actual file in the compressor before you send it.

If the GIF were embedded in the HTML as base64 text, it would take about a third more space: the 320 px, 10 fps, 255-colour file would become 1,080,516 bytes. The same frames at 480 px as an MP4 are 55,275 bytes, 28.94 times smaller than the GIF, and as animated WebP 250,622 bytes. We did not test which mail apps play MP4 or WebP, so read those numbers only as a size comparison.

A blue ceramic mug on a marble table, slowly zooming in and out320 px
The 320 px, 10 fps, 255-colour GIF from the table: 810,387 bytes. It is the only one of the 255-colour files we publish, because the 480 and 600 px files are 1,599,805 and 2,328,732 bytes.SettingsZoom 1 to 1.4 and back, 3 seconds, 30 frames at 10 cs, global palette of 256 entries.

Make the first frame work on its own

Some readers will see only frame one, so treat it as the whole message. The first frame of our clip has an average brightness of 176.31 on a scale of 0 to 255, so it is not blank. A GIF that fades in from black has a dark first frame, and that is the picture an Outlook reader with animation off would get.

To check or save frame one, open the GIF splitter, choose None, tick the first frame, pick PNG and download the ZIP that holds it. If the frame is poor, cut the clip with Cut GIF so that it starts on a better one.

You can also set how many times a GIF plays. In files written by our encoder, play-forever is a NETSCAPE2.0 block with a repeat count of 0, and play-once has no such block. The GIF89a specification defines application extensions in general but does not mention looping, so the repeat count is a convention that apps read. The GIF looper rewrites only that block.

The first frame of the mug clip, a blue mug on a marble table1 / 30
Frame one of the clip, saved as a still: 19,298 bytes. This is what a reader sees when animation is off.SettingsFrame 1 of 30, 480 px wide.

Prepare the GIF with LoopGIF

  1. Starting from a screen recording or a video? Drop it into video to GIF, trim it, and set the frame rate and width.
  2. Set the width with the GIF resizer: type 600, 480 or 320 in the width box and keep the aspect lock on.
  3. Open the GIF compressor, choose Target size, and pick 512 KB or type your own number of KB. The result shows the exact settings used and the sizes before and after.
  4. If the GIF has a transparent background, the transparent GIF maker lets you pick a matte colour that matches the email.
  5. Check frame one in the GIF splitter, then insert the file as described for your mail app above.

How we checked this page

We read Google's, Microsoft's and Apple's help pages on 18 Nov 2026. Every byte count came from LoopGIF's own encoder, applied to one of our own photos, and the script that makes them is in our project. We did not send emails through Gmail, Outlook or Apple Mail, and we did not test how any of them shows a GIF. What we say about those apps comes from their help pages. See all LoopGIF guides for related help.

Questions, answered

How do I add a GIF to a Gmail email?

On a computer, Google's help page says to drag an image into the compose window. On an iPhone or iPad, a single photo goes into the message text, and several photos become attachments, with Send inline to move one. Neither page mentions GIFs, and we did not send test emails through Gmail.

Why does my GIF show only one frame in Outlook?

Microsoft says Outlook plays animated graphics by default, so a still picture probably means animation is off. On Windows 11, turn on Animation effects under Settings, Accessibility, Visual effects. On Windows 10, turn on Show animations in Windows. View in Browser on the Message tab is Microsoft's workaround.

How big can a GIF be in an email?

Gmail's attachment limit is 25 MB on a personal account, but Twilio suggests aiming for 500 KB to 1 MB, so the GIF stays sharp and still loads fast on most devices. Our 3-second photo clip was 1,599,805 bytes at 480 px and 10 fps, so cut the width, frame rate or colours until the file is small.

Should I attach the GIF or insert it?

Insert it into the body, as Microsoft's and Google's pages describe for pictures. An attachment is a separate file, and Gmail on iPhone offers Send inline to move one into the text. Microsoft also says to limit graphics, because they add to the size of the message.

Can I add a transparent GIF to an email?

A GIF can mark one colour as transparent, so a pixel is clear or opaque, with no soft edge. Pick the matte colour to match the email background in the transparent GIF maker. We did not test how any mail app draws a transparent GIF.

What if the reader's app does not play GIFs?

They see the first frame, so make it a clear picture that reads on its own. Outlook shows a still when animation is off, and Microsoft's View in Browser action is a workaround. Save frame one with the GIF splitter and check that it works without the motion.