Video to GIF · MP4 to GIF MP4 to GIF: trim a clip and convert it in your browser
Screen recordings, product demos and phone clips are usually MP4. Drop one here, mark the start and end, choose the width and frame rate, and get a GIF that plays in docs, tickets and chat. The MP4 is never uploaded.
- Files stay on your device
- Trim to the second
- Size estimate first
Convert MP4 to GIF
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 video, or try the sample clip.
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 an MP4 to a GIF?
Add the MP4, set the start and end with the sliders or the "Set start here" buttons, choose width and frame rate, then click Make GIF and download.
What frame rate should an MP4 to GIF use?
Most MP4s run at 24 to 60 fps, but a GIF rarely needs more than 10 to 15. Higher rates make the file much larger with little visible gain on screen recordings.
Why does the GIF look grainier than the MP4?
MP4 can show millions of colours; GIF has 256 per frame. Dithering mixes nearby colours to hide the steps. Keep 256 colours for camera footage.
Does the GIF keep the sound?
No. GIF has no audio track. If you need sound, keep the 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.