# GIF to MP4

Turn an animated GIF into an MP4, usually a fraction of the size. Free, no signup, no watermark, and the file is never uploaded.

Canonical page: https://filetity.com/gif-to-mp4

## Capabilities

- Free: Yes, with no watermark and no page limit.
- Account required: No. There is no account system.
- Processed on device: Yes. The file is read by your browser and never uploaded. There is no server to send it to.
- Formats: Animated or still GIF in. MP4 out, H.264, with no audio track because a GIF has no sound.
- Limits: The same memory budget as the other direction: the GIF's frames are held as full colour pixels while they are encoded, and the tool refuses above it before decoding rather than freezing.
- Mobile: Yes, on any modern mobile browser. Large files are limited by the memory the phone gives the browser.
- Offline: Yes, once the page has loaded. The tool keeps working with no network connection.

## Questions

### How much smaller will the MP4 be?

Usually between five and twenty times, and the page shows the real numbers rather than a promise. The saving comes from H.264 storing only what changed between frames, where a GIF stores each one almost whole. A short GIF of a mostly still scene saves the most, because almost nothing changes for the codec to record.

### What happens to a GIF with different delays on each frame?

The timing is kept exactly. A video wants one constant rate, so the tool finds a tick that every delay in the GIF divides into cleanly and shows each frame for however many ticks it was on screen. Nothing is averaged or dropped, which is what would happen if it simply picked 15 frames a second and resampled.

### What about transparent pixels?

MP4 has no transparency, so anything see-through is composited onto white. That is the right answer for the usual case of a sticker or a logo on a light page and the wrong one on a dark background, so if the GIF is transparent and destined for a dark surface, keep the GIF.

### Will the video have sound?

No, and it cannot: the GIF format has no audio track, so there is nothing to carry across. The MP4 is written with a video track only, which is also what social platforms expect from a converted GIF and is why they autoplay it silently.

### Why do my dimensions come out one pixel different?

H.264 stores colour at half resolution horizontally and vertically, so both dimensions have to be even numbers. A GIF that is 301 pixels wide is encoded at 302. It is a single pixel column and it is invisible, and the alternative would be refusing to convert perfectly good files.

## Related tools

- [Video to GIF](https://filetity.com/video-to-gif): Turn a few seconds of a video into a GIF, at a size you choose.
- [Compress video](https://filetity.com/compress-video): Make a video smaller without uploading it anywhere.
