GIF to MP4 Converter

You get an MP4 video of your animation, usually far smaller than the GIF, with the same frames and timing but no sound and no built-in loop.

To convert a GIF to MP4, add the GIF, keep MP4 as the output and download the video. The animation is re-encoded as H.264, which is why the file shrinks: in our test a 258 KB gif became an 82 KB mp4 with all 36 frames, the same 12 frames per second and the same 3 seconds. The MP4 has no sound, does not loop by itself, and transparent areas turn solid.

Transfers use HTTPS, and files converted on the free tier are deleted after 24 hours, so the result is not a long-term archive. Quality depends on the source file, so open the MP4 file once before you share it.

FromGIFLosslessTransparency

GIF (Graphics Interchange Format)

A raster format that can hold several frames in one file, which is why it became the usual container for short looping clips. Each frame uses a palette of 256 colours or fewer and is compressed losslessly with LZW. Timing is stored per frame in hundredths of a second, and a pixel can be marked transparent, but only fully on or off. There is no sound and no partial transparency.

ToMP4Lossy

MP4 (MPEG-4 Part 14)

A video container built around H.264, the codec used by most phones, browsers and editing apps. Unlike a GIF it can hold millions of colours and compresses between frames, but it cannot store transparency and has no loop flag of its own.

A 321 × 241 GIF test clip (36 frames, 12 fps, 3 s) generated by us, converted on indox.org

GIFthe original, 321 × 241, 36 frames, 12 fps, 3 s, loops forever
258 KB
MP4from indox, 68% smaller, 320 × 240, 36 frames, 12 fps, 3 s, H.264, no audio
82 KB
A region of frame 18 of the GIF test clip, enlarged about 10 times with sharp pixel edges
The same region in the MP4 made by indox, enlarged about 10 times, with a slight shift and soft edges
Measured on indox.org on 4 November 2026: the GIF we uploaded and the MP4 we downloaded. Drag the handle to compare the same region of frame 18, enlarged about 10 times; it shows the one-pixel shift from the even-size rescale.

Why use indox to convert GIF to MP4?

Every frame and the timing are kept

The converter does not drop frames or change the speed. In our test the 36-frame, 12 fps, 3-second GIF came out as a 36-frame, 12 fps, 3-second MP4.

Odd sizes are fixed for you

H.264 wants an even width and height, and a raw ffmpeg command fails on an odd size with a divisibility error. The converter rescales the frame to the nearest even size instead of failing. Our 321 by 241 GIF became 320 by 240.

A smaller file for the same animation

A GIF stores each frame as a separate palette image, while H.264 stores mostly the changes between frames. In our test the MP4 was about 68% smaller than the GIF. A real clip with photos or video footage will compress differently from our test pattern.

No software to install

Everything runs in the browser, so you do not need ffmpeg, a command line or an editing app. In our test the conversion took 3.8 seconds from the click to Completed.

What happens to your animation

Stays

  • Every frame, the frame rate and the length of the clip
  • Your original GIF, which is not touched
  • The look of the picture at normal viewing size

Changes

  • Transparent areas become solid
  • Odd frame sizes are rescaled to an even size
  • The built-in loop is gone
  • The file becomes a video with no audio track

How do I convert GIF to MP4 online?

  1. 1

    Add your GIF

    Drop the GIF on the box or choose it from your device. Keep the original, since the transparency and loop setting live only in the GIF.

  2. 2

    Confirm MP4 and start

    Check that MP4 is the output format, then start the conversion. In our test a 3-second GIF took 3.8 seconds from the click to Completed. Larger files will take longer.

  3. 3

    Download and play it

    Save the MP4 and play it on the device or page where you will use it. If it does not play there, see the table below.

What do I get from indox's GIF to MP4 converter?

You hand over a GIF and take away an MP4 with the same frames, speed and length. The page states up front what is lost, so you know about the missing transparency, sound and loop before you upload. You install nothing.

  • The same frames, frame rate and length, checked in our test
  • An even frame size, so editors and encoders accept the file
  • No installation on Windows, Mac or a phone
  • A list of what is lost: transparency, sound and the loop flag
The indox GIF to MP4 converter: drop a file or choose one to convert it to MP4

What are the limits for GIF to MP4?

Size

The upload box shows the live size limit before you add a file. Signing in raises it; a paid plan does not change it.

Formats

GIF in, MP4 out. Pick another output on the converter if you need a different format.

Privacy

Files are encrypted in transit over HTTPS and processed on indox infrastructure.

Deletion

Free-tier files are kept for 24 hours after the job finishes, then deleted automatically.

Limits worth knowing

  • Transparency does not survive. The converter has no background colour option. In our test a fully transparent GIF became opaque white, so put a transparent GIF on a solid colour first if you need a specific background.
  • The converter offers no loop count and no sound option that we saw. The MP4 has no audio track and plays once unless your player or page loops it.
  • Playback on Safari, QuickTime and some phones is untested. Our output used the 4:4:4 pixel format, which those players may not accept, and we have not tried them.
  • Re-encoding rescales odd sizes. A GIF with an odd width or height is rescaled to an even size, which shifts edges by up to one pixel, so pixel art can look slightly blurred.
  • Keep the GIF where an image is required. Some email clients, forums and older systems accept a GIF but not a video, so check before you replace it.

When the result is not what you expected

What you seeWhyWhat to do
The MP4 plays once and stopsMP4 has no loop flagAdd the loop attribute to the video element, or turn on repeat in your player
A white box where the GIF was transparentMP4 cannot store transparencyPlace the GIF on the colour you want in an editor, then convert
The MP4 will not play on an iPhone or in QuickTimeThe output used the 4:4:4 pixel format, which those players may not acceptTest on the device; if it fails, re-encode with ffmpeg using pix_fmt yuv420p
Edges look slightly softAn odd-size frame was rescaled to an even sizeUse a GIF with even width and height
You need the animation as an image againThe MP4 is a videoUse MP4 to GIF

What do the free and paid plans add?

Free

  • All converters
  • Daily credit refresh
  • Email support

Basic

  • Access to all features
  • AI Extract
  • Priority conversions
  • Email support
Highest priority

Premium

  • Everything in Basic
  • Highest priority queue
  • Priority support

Pay-As-You-Go

  • No subscription
  • Credits never expire
  • Opt-in auto-refill
  • Access to all features
See prices
Related conversionsWMV to MP4

GIF vs MP4: what is the difference?

Compared onGIFMP4
Colours256 or fewer per frameMillions with H.264
CompressionLossless LZW per frameLossy video that stores changes between frames
TransparencyOn or off per pixelNone
SoundNoneOptional audio track
LoopingRepeats if the file says soNo loop flag; the player or page decides
Size in our test258 KB82 KB

Who can use a GIF to MP4 converter?

  • Web developers and site owners replacing heavy GIFs

    A page that autoplays a GIF often moves megabytes for a few seconds of motion. Google's web.dev guide recommends a muted, looping video instead. This page gives you the MP4 and shows what the conversion changes.

  • People sharing clips in chat or on social media

    Many apps handle a video file more smoothly than a large GIF. An MP4 is easier to send, but check the limit of the app you use, since we have not measured them.

  • Anyone whose converted file fails in Safari or errors on odd sizes

    If an ffmpeg command told you the width is not divisible by 2, this converter handles the rounding for you. If the result will not play on an iPhone, the pixel format note above is the first thing to check.

  • Creators who need a GIF clip in a video editor

    Video editors generally import video files more reliably than animated images. Converting gives you a file with a fixed frame rate and a known length.

When to use it

  • Replacing an autoplaying GIF on a web page with a smaller video.
  • Sending a reaction or screen-recording GIF as a video file.
  • Getting an animated GIF into a video editor as a clip.
  • Checking how much a GIF shrinks as a video before you decide to switch.

Where can I read more about converting files?

Do it all with indox

View all 94 tools

GIF to MP4 FAQs

How do I convert a GIF to MP4?

Add the GIF to the converter in your browser, keep MP4 as the output format and download the result. You do not install anything. In our test a 3-second GIF took 3.8 seconds from the click to Completed.

Will the MP4 have sound?

No. A GIF carries no audio, so the MP4 has one video stream and no audio track. If you need sound, add it afterwards in a video editor.

Why does my MP4 not loop like the GIF?

An MP4 has no loop flag. Our GIF repeated forever, and the MP4 plays once. On a web page, add the loop attribute to the video element. In a player, turn on its repeat option.

What happens to transparent areas?

MP4 cannot store transparency, so the areas become solid. In our test a fully transparent GIF turned into opaque white. We did not test a GIF that mixes transparent and opaque areas, so the colour there may differ. Put the GIF on a solid background first if it matters.

Why did my 321 by 241 GIF come out 320 by 240?

H.264 needs an even width and height. The converter rescales the whole frame to the nearest even size instead of failing, so edges can shift by up to one pixel. Pick even dimensions in your GIF to avoid it.

Will the MP4 play on an iPhone or in Safari?

We have not tested it. The MP4 in our test used the 4:4:4 pixel format (High 4:4:4 Predictive profile), which Safari and QuickTime may not play, according to one developer's report. Try the file on your device before relying on it.

Is the MP4 smaller than the GIF?

In our test, yes: 82 KB against 258 KB, about 68% smaller. That GIF was a generated test pattern, so a real clip will give a different ratio. A GIF that is already tiny can even grow, as a very small transparent sample did in our second test, going from 1.4 KB to 2.2 KB.

Does converting a GIF to MP4 lose quality?

The 256-colour limit of the GIF stays in the picture, and the video is compressed again with some loss. The odd-size rescale adds slight softness at edges. We did not run a quality score on this pair, so look at the result yourself.

Can I use the MP4 like a GIF on a web page?

Yes. Use a video element with autoplay, loop, muted and playsinline, as the web.dev guide describes. Browsers generally allow autoplay only for muted video.