Convert Video to GIF

Turn a few seconds of an MP4 or MOV video into a looping GIF: pick the moment, width and frame rate. A 5-second 480 px GIF was a median 4.6 MB.

How to use Video to GIF

  1. 1Drop your video into the box above; it opens in a preview player.
  2. 2Set the start and end of the moment you want (up to 20 seconds).
  3. 3Pick the width and frame rate: 480 px at 15 fps suits chats and documents.
  4. 4Press Make GIF, check the loop on the page and download it.

Features

  • Choose the exact moment with a preview, up to 20 seconds
  • 320 to 800 px wide, 10, 15 or 20 frames per second
  • One palette for the whole GIF, so colours don't flicker
  • Runs in your browser; nothing is uploaded

Make a GIF from a video

To turn a video into a GIF, drop it above, set the start and end, pick a width and download the GIF. A GIF loops on its own and plays everywhere, including places that don't play video, like many email programs and chat apps. In our test a 5-second GIF at 480 px and 15 fps came out at a median 4.6 MB.

The catch is size. GIF is a 1987 format with 256 colours and simple compression, so it's far less efficient than video: the same 5 seconds as an MP4 was a median 29.2 times smaller in our test. Keep GIFs short and small, and send an MP4 when the place you're posting plays video.

Our test: 5-second GIFs from 8 videos

File size grows with the picture area and the frame rate, and with how much changes from frame to frame: the tool writes only the pixels that changed since the last frame, so a still background costs almost nothing and a handheld shot costs the most.

Method: the page's own code in Chrome 157 on an Apple M2 Mac, on 5 seconds taken 30% into each of our test videos. The GIF encoder is gifenc, with one 256-colour palette per GIF.

SettingGIF size (median)SmallestLargestTime (median)
320 px, 15 fps2.0 MB47 KB4.1 MB0.6 s
480 px, 15 fps4.6 MB78 KB8.8 MB0.8 s
640 px, 15 fps8.0 MB109 KB15.0 MB1.1 s
480 px, 10 fps3.3 MB62 KB6.1 MB0.7 s
480 px, 20 fps6.0 MB99 KB11.9 MB1.0 s

Last updated

GIF against MP4 for the same 5 seconds

Each 480 px GIF from the test, converted back to an MP4 with our GIF to MP4 tool: the MP4 was a median 29.2 times smaller, and that is starting from the GIF's 256 colours, not the original video.

Video (5 seconds)GIF, 480 px 15 fpsSame GIF as MP4GIF is larger by
Climate march, Brussels (handheld, crowd)5.1 MB158 KB32.0×
Snail on a leaf (close-up, 60 fps)4.7 MB159 KB29.5×
Airport tram ride (through a window)4.3 MB148 KB28.8×
Botanical garden (4K, shot on iPhone XR)8.8 MB183 KB47.9×
Interview (talking head, indoors)3.9 MB160 KB24.4×
App walkthrough (screen recording)78 KB36 KB2.1×
Folk dance performance (stage, people)4.4 MB155 KB28.6×
Berlin city scenes (4K, shot on iPhone 6S)6.7 MB209 KB31.9×

Last updated

How it works, and what your browser needs

Pixohub's video tools use WebCodecs, the video encoder and decoder built into your browser (on most devices it uses the same hardware that records and plays your videos), driven by the open-source Mediabunny library. The file is read from your disk in pieces and the result is put together in the page, so nothing is uploaded and there is no limit on the original's size. The finished file is held in the page's memory until you download it, so a result of several gigabytes can be too much for a phone.

It needs a browser with WebCodecs: current Chrome, Edge and Samsung Internet on Android and computers, and Safari on Mac and on iPhone and iPad from iOS 16.4 (iOS 26 to make an MP3; on older iOS the video tools copy the sound as it is instead of re-encoding it). Firefox for Android has no WebCodecs yet, so there the page says so and suggests another browser instead of failing halfway.

Tips for a good GIF

  • Short is everything: a 3-second loop at 480 px is a third of the size of a 9-second one.
  • Pick a moment shot from a tripod or a still phone: unchanged pixels are almost free.
  • 320 px is enough for a reaction GIF in chat; 640 or 800 px for a product demo in a document.
  • 10 fps looks a little choppy for fast motion but halves the size against 20 fps.

Frequently asked questions

How long can the GIF be?

Up to 20 seconds. Past that, GIF files get very large (tens of megabytes at 480 px), and most places that accept GIFs cap them well below that. For longer clips, an MP4 is the better format.

Why is my GIF so much bigger than the video?

GIF can only store 256 colours per frame and compresses far less well than modern video. In our test a 5-second GIF was a median 29.2 times the size of the same clip as an MP4. Use a smaller width, a lower frame rate or a shorter moment to bring it down.

Does the GIF loop?

Yes, forever, like every GIF made for sharing.

Can I make a GIF from an iPhone video?

Yes. MOV files from an iPhone work directly, including HEVC; on the iPhone itself use Safari on iOS 16.4 or later.

Is my video uploaded anywhere?

No. The video is read from your device and processed by your own browser's video encoder; the page never sends it to Pixohub or anyone else, and nothing is stored after you close the tab. That is also why there is no file-size limit.

Why does the page say my browser can't process video?

The tools use WebCodecs, the video encoder built into the browser. Firefox for Android doesn't have it yet, and neither do iPhones and iPads before iOS 16.4. Chrome, Edge and Samsung Internet on Android, Safari on a current iPhone, iPad or Mac, and Chrome or Edge on a computer all work.

More video tools