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.
No file yet. Choose, drop or paste a GIF, or try the sample animation.
Up to 30 seconds per GIF. Play the video and use the buttons to set the start or end at the current frame.
Only ever shrinks; the height follows.
10 fps suits most screen recordings; 15 to 20 for fast motion.
GIF allows at most 256 colours per image.
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.
| Frame rate | Frames | Delay per frame (1/100 s) | Estimated size |
|---|---|---|---|
| 5 fps | 30 | 20 | 0.3–1.9 MB |
| 10 fps | 60 | 10 | 0.5–3.8 MB |
| 15 fps | 90 | 6 / 7 | 0.8–5.8 MB |
| 20 fps | 120 | 5 | 1–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.
Version v1.0Updated Update history
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 make a GIF from a video
The defaults (480 px, 10 fps, 256 colours) suit most screen recordings.
-
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
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
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
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.
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 | MP4 (H.264) | |
|---|---|---|
| Colours | Up to 256 per frame | Millions |
| Compression | Each frame on its own (LZW) | Between frames, much smaller |
| Sound | None | Possible (not added here) |
| Looping | Built in | Set by the player |
| Where it plays | Anywhere an image does | Video players and most chat apps |
A 6-second clip at 10 fps
6 seconds of a 1080p screen recording, width 480 px (480 × 270), 256 colours with dithering.
| Step | Calculation | Result |
|---|---|---|
| 1. Frames | 6 s × 10 fps | 60 frames |
| 2. Delay | 1 ÷ 10 fps | 10 hundredths of a second |
| 3. Pixels per frame | 480 × 270 | 129,600 |
| 4. Estimated size | About 1.4 bits per pixel per frame | 0.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.
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.
The same privacy-first approach in our analytics
This converter keeps files on your device. TapCub applies the same idea to analytics: collect what you need, keep personal data out.
Cookieless visitor ID
Visitors are told apart by a keyed hash of the site, a salt, the IP address and the browser type. Nothing is written to the browser and the IP is never stored.
Learn moreCompliance centre
Choose balanced or strict, switch on IP truncation for some regions only, set the geography level and retention.
Learn moreSafeguards
Encryption in transit, sensitive fields encrypted at rest, masking by role, export and deletion of one person's data.
Learn moreVideo 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.
Update history
New features, fixes and data refreshes for this tool, newest first.
-
· 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
Analytics that keep personal data out
TapCub counts visits without cookies and never stores IP addresses, with a compliance centre for stricter regions.