Guide · 6 min read

GIF, MP4, WebM, SVG or Lottie: which format should your animated signature be?

The same animation can be saved five ways, and each one fails somewhere: GIFs are heavy, MP4s can’t be transparent, WebM transparency doesn’t show in Safari, SVG doesn’t work in email, and Lottie needs a player. The right file depends only on where it is going. Here is the short answer for each place, then what each format is good and bad at.

By · Updated

The short answer, by destination

  • Email signature: GIF, with a PNG as the fallback. Nothing else animates reliably in email.
  • Instagram Reels, TikTok, YouTube Shorts: MP4 (H.264), 1080 × 1920.
  • Over your own footage in a video editor: an MP4 on plain black or white with a blend mode, or a green-screen MP4.
  • Your website: animated SVG. A transparent WebM if you need glow, with a fallback for Safari.
  • An iOS, Android or web app: Lottie JSON, or the animated SVG on the web.
  • Print, documents and photo watermarks: PNG or static SVG. They don’t move, and they shouldn’t.

GIF: plays everywhere, costs the most

GIF is the only animated format that email apps, chat apps and old software all show without help, which is why it is still the answer for email signatures. It has three limits worth knowing.

  • 256 colors per frame. Flat ink looks perfect; soft glows and metallic gradients get dithered into speckle.
  • Transparency is on or off for each pixel, with nothing in between. A transparent GIF therefore has a hard edge, and needs that edge blended toward a color close to the background it will sit on, or it shows a fringe.
  • Every frame is stored as an image. A few seconds at 25 frames per second is over a hundred frames, so file size grows quickly with width. The email signature GIF size guide has the numbers.

MP4: small and universal, never transparent

MP4 with H.264 video is what every social platform, phone and editor accepts. It compresses far better than GIF, with full color, so glow and gradients survive. What H.264 cannot store is transparency: an MP4 always has a background.

For a signature at the end of a Reel, that’s fine: the background is part of the design. To put the signature over your own footage, you work around it in one of two ways. An overlay MP4 puts light ink on pure black, or dark ink on pure white, and the editor’s Screen or Multiply blend mode makes the background vanish while keeping soft edges and glow. A green-screen MP4 uses a #00FF00 background for chroma key, which every editor has, though keying eats glow. The CapCut guide walks through both.

WebM: real transparency, in most browsers

WebM with VP9 video can carry an alpha channel: real, smooth transparency, glow included, in a file a fraction the size of a GIF. Chrome, Edge and Firefox play it transparently in a video tag.

Safari plays VP9 WebM but ignores its transparency and shows the video on black, and so does QuickTime. Most video editors don’t import it either. Use it on websites where you control the fallback, and not as a file to hand to someone else.

Animated SVG: the lightest option for the web

An SVG stores the signature as curves, not pixels, and animates them with CSS inside the file. It is sharp at any size, transparent, and usually tens of kilobytes. Because the animation lives in the file, a plain image tag plays it; there is no script to load.

Its limits are about where it is accepted. Email apps don’t display SVG, social platforms don’t take it as an upload, and video editors don’t import it. It is a format for websites and for apps that render web content. For how the animation works inside the file, see how SVG handwriting animation works.

Lottie: vector animation for apps

Lottie is a JSON description of a vector animation, played by a small library: lottie-web in the browser, and the Lottie libraries for iOS, Android, React Native and Flutter. Developers like it because it scales like SVG, can be paused, scrubbed and tied to scroll or to a button press, and is the standard hand-off from design tools.

It needs that player, so it isn’t something to paste into an email or upload to Instagram. Glow isn’t reliably supported across Lottie players, so a glowing look is exported without it.

PNG and static SVG: when it shouldn’t move

Keep a still of the finished signature next to the animated one. A transparent signature PNG at 3000 px covers documents, slides, photo watermarks and the email apps that don’t animate GIFs. A static SVG is the same signature as vector outlines, for print, signage, engraving and design tools, at any size.

Side by side

  • Transparency: GIF hard-edged; MP4 none; WebM smooth, but not in Safari; SVG and Lottie smooth; PNG smooth.
  • Glow and gradients: MP4 and WebM keep them; GIF dithers them; SVG keeps glow; Lottie drops it.
  • Typical size for a four-second signature: SVG and Lottie tens of kilobytes; MP4 and WebM from a few hundred kilobytes to a couple of megabytes at 1080p; GIF from a few hundred kilobytes at email size to several megabytes at 1200 px.
  • Works in email: GIF and PNG only.
  • Works on social platforms: MP4 only (some accept GIF and convert it to video).
  • Scales without blur: SVG, Lottie and static SVG.

Tip: You don’t have to choose one. Because every file is made from the same drawing, export the GIF for email, the MP4 for social and the SVG for your site, and they will match exactly.

Questions

Frequently asked questions

What is the best format for an animated email signature?

GIF. It is the only animated image format that Gmail, Outlook and Apple Mail all display. Keep a PNG of the finished signature for the older Outlook versions that show only a GIF’s first frame.

Can an MP4 have a transparent background?

Not with H.264, the codec that plays everywhere. To overlay an MP4 on footage, use one with a black or white background and a Screen or Multiply blend mode, or a green-screen version with chroma key.

Why is my transparent WebM black in Safari?

Safari plays VP9 WebM but doesn’t show its alpha channel. Use an animated SVG instead, or serve the WebM only to browsers that show it.

Is SVG or Lottie better for a website?

For a signature that simply plays, the animated SVG: it needs no library and works in an image tag. Choose Lottie when you need to control playback from code, or when the same animation also ships in a mobile app.

Why is my GIF so much bigger than my MP4?

GIF stores each frame as a 256-color image with simple compression; MP4 stores only what changes between frames. The same animation is often ten times larger as a GIF.

Skip the keyframes.

Draw your signature and watch it write itself, free