TapCub is live — analytics, insights and live chat, free on one platform

Video to GIF · GIF to MP4 GIF to MP4: convert a GIF to video without uploading

Some platforms only accept video, and a heavy GIF slows a page down. Drop the GIF here to get an H.264 MP4 with the same frames and timing, usually a fraction of the size. Short loops can be repeated so the video lasts longer.

  • Files stay on your device
  • Often much smaller
  • Repeat short loops

Convert GIF to MP4

Choose a video to make a GIF, or a GIF to make an MP4. The tool picks the mode from the file.

Convert

No file yet. Choose, drop or paste a GIF, or try the sample animation.

H.264 needs even dimensions, so odd sizes lose 1 pixel.

An MP4 plays once; repeat a short loop so it lasts longer.

MP4 has no transparency.

How frame rate changes a 6-second GIF

A 6-second clip at 480 × 270 px with 256 colours and dithering. Each extra frame per second adds frames, and every frame adds bytes.

How frame rate changes a 6-second GIF
Frame rateFramesDelay per frame (1/100 s)Estimated size
5 fps30200.3–1.9 MB
10 fps60100.5–3.8 MB
15 fps906 / 70.8–5.8 MB
20 fps12051–7.7 MB

The range is wide on purpose: a still screen recording lands at the low end, grainy phone footage at the high end. The tool shows the same estimate for your own clip before converting.

Your files never leave this device: they are read and converted by your browser, and nothing is uploaded to TapCub or anyone else. To check, open your browser’s developer tools, go to the Network tab and run the tool: no file is sent.

Version v1.0Updated Update history

Read the result

Why your GIF is the size it is

A GIF stores every frame as a full picture with up to 256 colours. Four things decide the file size.

Pixels

Width × height. Halving the width keeps a quarter of the pixels, and the file shrinks roughly as much. 480 px is plenty for chat, docs and email.

Frames

Seconds × frame rate. A 6-second clip at 10 fps is 60 frames; at 20 fps it is 120. Screen recordings rarely need more than 10.

Colours and grain

Fewer colours mean smaller frames. Video grain and noise change pixels in every frame, so camera footage compresses far worse than a clean screen recording.

Speed

Speed only changes how long each frame is shown. 2× makes the GIF shorter to watch, not smaller.

The estimate before converting is a range. The real size appears next to the preview when the GIF is ready.

How to use it

How to make a GIF from a video

The defaults (480 px, 10 fps, 256 colours) suit most screen recordings.

  1. 1

    Add the video

    Choose an MP4, WebM or MOV, drop it on the box or paste it. The video opens in the player above the settings.

  2. 2

    Set the start and end

    Drag the two sliders, or play the video and press "Set start here" and "Set end here". A GIF covers up to 30 seconds.

  3. 3

    Choose size and smoothness

    Pick width, frame rate and colours. The line under the settings estimates the frames and the file size as you change them.

  4. 4

    Make the GIF and download

    Click Make GIF. You can cancel at any time. Check the preview, then download, or change a setting and try again.

How it works

From video frames to a GIF, and back to MP4

The browser decodes the video; the tool picks frames and rebuilds them as a GIF.

  • Frame times: start, start + 1 ÷ fps, start + 2 ÷ fps … up to the end. The player seeks to each time and the frame is drawn to a canvas at the chosen width
  • Each frame is shown for 1 ÷ fps ÷ speed seconds, stored in hundredths of a second and rounded on the running total so the length does not drift
  • One shared palette is built from samples of all frames (the open-source gifenc quantizer), so colours do not flicker
  • Pixels that match the previous frame are written as transparent, which compresses better without changing what you see
  • GIF to MP4: frames are encoded as H.264 with the browser’s WebCodecs encoder and packed into an MP4 with the open-source mp4-muxer. Width and height are rounded down to even numbers
  • No ffmpeg download: everything uses what the browser already has, so the page stays light on phones
GIF and MP4 compared
GIFMP4 (H.264)
ColoursUp to 256 per frameMillions
CompressionEach frame on its own (LZW)Between frames, much smaller
SoundNonePossible (not added here)
LoopingBuilt inSet by the player
Where it playsAnywhere an image doesVideo players and most chat apps
Worked example

A 6-second clip at 10 fps

6 seconds of a 1080p screen recording, width 480 px (480 × 270), 256 colours with dithering.

Frames and size
StepCalculationResult
1. Frames6 s × 10 fps60 frames
2. Delay1 ÷ 10 fps10 hundredths of a second
3. Pixels per frame480 × 270129,600
4. Estimated sizeAbout 1.4 bits per pixel per frame0.5–3.8 MB (middle 1.3 MB)

At 240 px wide the same clip is estimated at about 0.3 MB. At 15 fps the delays alternate 6 / 7 hundredths to keep 15 frames per second.

Common mistakes

Where video to GIF goes wrong

Most problems are a file that is too big to send or a GIF that looks choppy.

Full HD width

A 1920 px GIF of a few seconds can run to tens of megabytes. Chat apps and docs show GIFs at 480 px or less.

Too long a clip

GIF has no inter-frame compression. Every extra second adds the same weight again; trim to the moment that matters.

Frame rate too low for motion

5 fps is fine for slides and UI clicks, but scrolling or a moving camera needs 12 to 20 fps to look smooth.

Few colours on footage

Skin, sky and gradients band badly at 32 or 64 colours. Keep 256 with dithering for camera video; use fewer for flat screen recordings.

FAQ

Video to GIF questions

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do I convert a GIF to MP4?

Add the GIF, choose the width, how many times to repeat it and a background colour for transparent areas, then click Convert to MP4 and download.

Why is the MP4 so much smaller than the GIF?

H.264 stores only what changes between frames and is not limited to 256 colours, so the same animation often takes a fraction of the bytes.

Will the MP4 loop like the GIF?

An MP4 file does not loop by itself; the player decides. Choose 2 to 5 repeats to make a short loop last longer, or switch on looping in the player.

What happens to transparent parts of the GIF?

MP4 has no transparency, so transparent pixels are filled with the background colour you choose. White is the default.

Why did I get a WebM instead of an MP4?

Browsers without an H.264 encoder (WebCodecs) record the animation instead, and some can only record WebM. The result line says which format you got; current Chrome, Edge and Safari produce MP4.

Changelog

Update history

New features, fixes and data refreshes for this tool, newest first.

  1. · v1.0

    LaunchedFirst release.

Missing something or found an error? Tell us — requests that come up often go into the next update. All tool updates

Next step

Analytics that keep personal data out

TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics