An iPhone can turn a video into a GIF without downloading anything, through the Shortcuts app. It just isn't obvious, and the GIF it makes is often far larger than it needs to be, because the size of a GIF depends almost entirely on three numbers you can control: how long it is, how wide it is, and how many frames a second it plays.
The fast answer
- No app: build a three-action shortcut in Shortcuts: Select Photos → Make GIF → Save to Photo Album. Instructions below.
- Keep it small: under 5 seconds, about 480 pixels wide, 10 to 15 frames a second.
- For WhatsApp: you don't need a GIF file. Trim the video to 6 seconds or less in WhatsApp's editor and switch it to GIF there.
- On a Mac: Gifski, a free app, makes the best-looking GIFs, or ffmpeg if you'd rather type.
With the Shortcuts app
Shortcuts is installed on every iPhone. If you deleted it, it's free in the App Store.
- Open Shortcuts and tap + to make a new shortcut.
- Add the action Select Photos. Tap the arrow on it and set the type to include Videos.
- Add Make GIF. Its input is the selected video.
- Add Save to Photo Album.
- Name it Video to GIF and tap Done.
Run it, pick a video, and the GIF appears in Photos, in the Animated album under Media Types. You can also add the shortcut to the share sheet, so it's available from the Share button on any video.
What it won't do: choose the frame rate, set an exact width, or trim the clip first in the same step. Trim the video in Photos before running it, since the GIF will be the whole clip, and a long one makes a huge file.
Why your GIF is 40 MB
GIF is a 1987 format. It has no real video compression: each frame is stored more or less as an image, limited to 256 colours. So a GIF's size is roughly width × height × number of frames, and every one of those multiplies the others.
A 10-second clip at full iPhone resolution and 30 frames a second is 300 large frames. The same moment at 4 seconds, 480 pixels wide and 12 frames a second is 48 small ones. The second file is often a twentieth the size and looks nearly the same in a chat.
| Setting | For a chat or message | For a website or slide |
|---|---|---|
| Length | 2 to 5 seconds | Up to 10 seconds |
| Width | 320 to 480 px | 480 to 800 px |
| Frame rate | 10 to 12 fps | 12 to 15 fps |
Two more things make GIFs bigger: camera movement, because every frame differs from the last, and gradients such as sky, which band badly with 256 colours. A locked-off shot of one thing moving compresses best.
Do you need a GIF at all?
Often not, and it's worth knowing before you spend effort on one.
- Messages plays videos inline, and a video is smaller and sharper than the same moment as a GIF. A GIF is only better when you want it to loop silently.
- WhatsApp converts short videos to GIF itself: trim to 6 seconds or less, then tap GIF at the top of the editor.
- X, Slack, Discord and most websites convert uploaded GIFs to video behind the scenes anyway. Uploading a short MP4 gives the same looping result with better quality.
- Live Photos can loop without being converted: in Photos, open the Live Photo and choose Loop or Bounce from the Live menu.
GIF still earns its place where video doesn't play: email signatures, some documentation tools, README files, forums, and anywhere that wants an image.
When you want more control
The Shortcuts route gives you one GIF of the whole clip, at a size it chooses. For anything more, you want an app that lets you trim, crop to the part that matters and pick the size and frame rate before it renders. Cropping is underrated: cutting a 16:9 frame down to the 1:1 square around the subject removes half the pixels.
Trim, crop and even reverse the clip, then export a GIF with presets for messaging or social, or your own size and frame rate. One pass, no watermark.
What it doesThat's our app. It also exports the same clip as MP4 from the same screen, which is worth comparing: if the MP4 is a quarter of the size, it's probably what you should send.
On a Mac
Gifski (free, Mac App Store) gives the best quality of any tool here, because it builds a separate colour palette for each frame. Drag in a video, set width and frame rate, export.
ffmpeg does it in one line, with a palette step that makes a large difference to banding:
ffmpeg -i in.mov -vf "fps=12,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" out.gif
Add -ss 3 -t 4 before -i to take four seconds starting at second three.